CS 111  3/13/18

Office Hours Today (Tuesday 3/13/18) pushed back
1:45pm  3:15pm

Exam Results:
Count: 112
Max: 100 (x3)
Min: 14
Average: 76.27
Median: 80.50
St. Dev: 18.06
90+: 32
80's: 26
70's: 19
60's: 17
50's: 8
40's: 5
30's: 3
20's: 1
10's: 1

Comments on Exam:

Beware of invalid symbols: Things that can't be typed
i.e: <= >= x/y
main() : recursive calling
Never Nest functions
Parameter list at the function def statement
 must list variables, not values
count += 1

Midterm Grades:
Based on 37.5 of the total points possible:
6 Labs, 1 Project, 1 Exam, 8 weeks of quizzes
Used Cutoff from Syllabus (90%, 80%, etc)
Better to underestimate Midterm Grade, than overestimate.

Coming up on Advising Season
Clicker Question: Frequency BB
What is the value of z when this code is finished executing?
x = 0 # x: 0 1 2 3 4 5
z = 0 # z: 0 2 4 6 7 8
while ( x < 5 ) :
if ( x < 3 ) :
z = z + 2
else:
z = z + 1
x = x + 1
a. 7
b. 8
c. 9
d. 10
e. None of the above
What is the value of z when this code is finished executing?
x = 25 # x: 25
z = 0 # z: 0 1
if ( x > 10 ) :
z = 1
elif ( x > 20 ) :
z = 2
elif ( x > 30 ) :
z = 3
else:
z = 4
a. 4
b. 3
c. 2
d. 1
e. 0

Project 2 Due Thursday