/******************************************************************/

This document is subject to change.  Please refresh this page regularly.

This document is current at: Sunday 14th February 2016, 8:40 PT, AD

/******************************************************************/





CSCI120 students: 

THE MIDTERM EXAM
================


The midterm exam is in week 6 or 7 - the date, time and location of the exam 
are announced in class.



For exam results, see below...


****************************************************************
Unauthorised absence from the Midterm exam is an automatic fail.
****************************************************************


 
The midterm exam is a 90 minute written paper. 

**************************
NO WASHROOM BREAKS ALLOWED
**************************

*** Students must bring their student cards
for inspection before the exam. ***

The midterm exam is worth 30% of the final grade. 

Students must attain an overall passing grade on
the weighted average of the two exams in the course 
in order to obtain a clear pass (C or better).


You should focus on the topics listed under the "Reading" column
on the course schedule
for all weeks through (from week 1) to midterm. Any changes are announced in class.

Questions could be based on the course resources and notes, example programs, and lab activities.

The exam is closed-book, closed-notes. 

You are NOT allowed to communicate with other individuals by any means,
electronic or otherwise. 


The use of any personal electronic equipment is strictly forbidden.



****************************************************************

In tests and exams, 
you should not have any contact with any pre-prepared materials 
(unless you're specifically allowed to do so in that exam) 
or other people (except the people proctoring the exam). 
If this is a surprise to you, 
you should probably withdraw from the University. 

****************************************************************
Thanks to Greg Baker, SFU Computer Science, for these words.






Questions types may include: multiple choice, short answer, 
interpreting code (predict the output),
writing code, as well as other kinds of questions.





Example predict the output questions:


1.  What is the output of this Python program?

x = 17 / 2 % 2 * 3**3
print (x)
 

Answer:

13.5





 
2.  What is the output of this Python program?

print (7 > 10)
print (4 < 16) 
print (4 == 4) 
print (4 <= 4)  
print (4 != 4)  



Answer: 

False
True
True
True
False


 

3.  What is the output of this Python program?


num1 = 5
if num1 >= 91:
    num2 = 3
else:
    if num1 < 6:
        num2 = 4
    else:
        num2 = 2
x = num2 * num1 + 1
print (x,x%7)



Answer: 
21     0




4.  What is the output of this Python program?


num1 = 4
if num1 % 2 == 0:
    print ("num1 is an even number")
else:
    print ("num1 is an odd number") 



Answer: 
num1 is an even number












EXAM RESULTS
------------

All results are entered into Gradebook ASAP.

Students can collect their exam papers from the instructor 
in person, during any of the in-college office hours, or by arrangement.



Your participation and progress are monitored throughout the course.
You may inspect your status report at any time using the online Gradebook
  

/************************************************************/
Good Luck!
AHD
/************************************************************/
 

End of document

 
 

 
 

 






































Valid XHTML 1.0!

Valid CSS!