Six exam-style questions on the whole quarter, Activities 1.1 through 1.26. This one is shaped like the real thing: C# and exam notation mixed together, topics in no order, and no warning about which is which.
It is your last practice before the Quarter 1 checkpoint, so do it before Activity 1.27, not after.
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 have exactly one correct answer, one asks you to select all that apply, and the last is about data or the impact of computing rather than about code.
What does the following display?
scores ← [80, 95, 70]best ← scores[1]
FOR EACH s IN scores{ IF(s > best) { best ← s }}
DISPLAY(best)809570245What does the following display?
int total = 7;int count = 2;double average = total / count;
Console.WriteLine($"{average:F1}");3.53.034.0Which of these are true about DISPLAY on the AP exam reference sheet?
Console.WriteLineDISPLAY(a + b)A robot faces up on an open grid. It runs ROTATE_RIGHT(), ROTATE_RIGHT(), then MOVE_FORWARD(). Which way has it moved?
What is true about the following C#?
int n = 10;
while (n > 0){ Console.WriteLine(n);}n.while loop always repeats forever.n starts above zero.A navigation app knows where all its users are. That lets it route drivers around traffic jams, and it also lets it record where each user was on any given day. This best shows that:
This is graded on completion, not accuracy. Bring your answers to Activity 1.27: the questions you marked unsure are the ones to look at before the checkpoint.