Corrections

Question 7

Program I correctly moves the robot to the gray square by repeatedly moving the robot forward, rotating left, moving forward twice, and rotating right.

Question 25

The Internet is not controlled from a central device.

Question 37

This code segment will draw four line segments: one with endpoints (2, 6) and (8, 6), one with endpoints (2, 6) and (8, 4), one with endpoints (2, 6) and (8, 2), and one with endpoints (2, 6) and (8, 0).

Question 42

his Boolean expression does not work as intended. For example, if score is 44 and target is 50, then (score ≤ target + 10) evaluates to true and (target + 10 ≤ score) evaluates to false. Therefore this Boolean expression will evaluate to false when it should evaluate to true.

Question 65

This code segment stores the substring "jack" in animal. It then concatenates "jack" and "a", storing the result "jacka" in animal. Lastly, it concatenates the substring "lope" and "jacka", storing the result "lopejacka" in animal.

What I can fix for AP exams

I have created a list of the most important topics to pratice:

  • Binary conversions
  • Internet

Quiz-quiz

- What are some common errors made?
- How could these errors be fixed?