Five exam-style questions covering everything from Activity 1.1 through 1.9. There will be one of these at the end of every block, all year, and each is cumulative — later sets still contain questions about this material.
The AP exam gives you 70 questions in 120 minutes. That is 1 minute 43 seconds each, including the ones with code to read. Almost nobody is fast enough at first, and the only fix is starting early.
Guessing beats leaving it blank. There is no penalty for a wrong answer on the AP exam, so a blank is a guaranteed zero where a guess is not.
Four of these have exactly one correct answer. One of them asks you to select all that apply — the real exam has eight questions like that, and they are the ones students lose points on by stopping at the first true statement.
What does the following code display?
int a = 7;int b = 3;Console.WriteLine("Score: " + a + b);Score: 10Score: 73Score: 7 + 3What value is displayed?
int result = 2 + 6 / 2;Console.WriteLine(result);4583.5A jar holds exactly 7 marbles. You have 30 marbles and fill as many jars as you can. Which expression gives the number of marbles left over?
30 / 730 % 730 - 77 % 30Which of the following are true about the value that Console.ReadLine() returns?
* without parsing, and the program still compiles.+ to join it with another string, and the program still compiles.The following is written in AP exam notation. What does it display?
a ← 4b ← 9DISPLAY(b MOD a)122.254A single byte can represent how many different values?
8162561024This is graded on completion, not accuracy. A thoughtful wrong answer earns the same as a right one. What is being built here is speed and stamina, and both require being allowed to get things wrong cheaply.