CSci 150: Foundations of computer science I
Home Syllabus Assignments Tests

printable version

Quiz 1 Review

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Problem Q1r.1.

What is displayed by the below sequence of Python statements?

k = 31
print 64 - k * 2
print k % 8
print 8 * (k / 8)