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

printable version

Exam 1

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

Problem X1.1.

[6 pts] What is displayed by the below sequence of Python statements?

k = 5
print 10 + 2 * k ** 2
print 127 % k
print 13/5 * k