CSci 150: Foundations of computer science
Home Syllabus Readings Projects Tests

printable version

Test 1 Review A

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]

Problem R1a.1.

If x's value is 18, what is the value of each of the following Python expressions?

a. 3 + x * 2

b. x % 7

c. x // 5