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

printable version

Exam 1

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

Problem X1.1.

[8 pts] If n is an integer variable whose value is 33, what is the value of each of the following expressions?

a.4 + n * 2
b.n / 5 + 1
c.n % 8