Expressions – Find Output of Program

6. What will be the output of the program?

Screenshot 1

A. 1, 1, 1, 1
B. 1, 1, 0, 1
C. 1, 0, 0, 1
D. 1, 0, 1, 1

Correct Answer: D. 1, 0, 1, 1

7. What will be the output of the program?

Screenshot 2

A. 1, 2, 0, 1
B. -3, 2, 0, 1
C. -2, 3, 0, 1
D. 2, 3, 1, 1

Correct Answer: C. -2, 3, 0, 1

8. What will be the output of the program?

Screenshot 3

A. 4, 3, 3
B. 4, 3, 2
C. 3, 3, 2
D. 2, 3, 3

Correct Answer: D. 2, 3, 3

9. What will be the output of the program?

What will be the output of the program

A. 3
B. 4
C. 5
D. 6

Correct Answer: B. 4

10. What will be the output of the program?

What will be the output of the progr

A.  c=100
B.  c=200
C.  c=1
D.  c=300

Correct Answer: C.  c=1

Leave A Comment?