NEW
Font size
WorksheetsAP CSP Programming Test
Total questions: 40
Worksheet time: 37mins
I. High-level can be more abstract
II. Low-level is harder to find errors
III. High-level is more easily understood by humans.
When you run code, this is when the computer will start at line 1, then execute line 2 then line 3 and so on until it reaches the last line of your program.
Selection
Sequencing
Iteration
Sometimes you only want some lines of code to be run only if a condition is met, otherwise you want the computer to ignore these lines and jump over them.
Selection
Sequencing
Iteration
Which of the following code options can be used to move the robot (the black triangle) to the gray square?
REPEAT 2 TIMES:
{
MOVE_FORWARD ()
ROTATE_LEFT ()
MOVE_FORWARD ()
MOVE_FORWARD ()
ROTATE_LEFT ()
}
REPEAT 4 TIMES:
{
ROTATE_LEFT ()
MOVE_FORWARD ()
ROTATE_RIGHT ()
MOVE_FORWARD ()
ROTATE_RIGHT ()
MOVE_FORWARD ()
ROTATE_LEFT ()
}
REPEAT 3 TIMES:
{
MOVE_FORWARD ()
MOVE_FORWARD ()
ROTATE_RIGHT ()
MOVE_FORWARD ()
}
REPEAT 3 TIMES:
{
MOVE_FORWARD ()
MOVE_FORWARD ()
ROTATE_LEFT ()
MOVE_FORWARD ()
}
A new or improved idea, device, product, etc, or the development thereof.
Innovation
Technology
Improvement
Protocol
A way of representing information using only two options.
BInary
Doubled
Algorithm
Hexadecimal
A predication made by Gordon Moore in 1965 that computing power will double every 1.5-2 years, it has remained more or less true ever since.
Moore's Law
Moore's Theory
Moore's Principle
Luka's Law of Interplanetary Motion
