PLTW CODING QUESTIONS AND ANSWERS
100% CORRECT | LATEST UPDATE 2025
When you want to evaluate a range of values in a condition from a sensor you can
use which of the following? - ANSWER && and ll
Turn on a motor for 5 seconds is an example of a: - ANSWER Simple Behavior
A light sensor is categorized as an example of a - ANSWER Analog Device
The number that would indicate the fastest speed of a motor is - ANSWER -127
How does the ultrasonic sensor work? - ANSWER Soundwaves
"If-else" statements are an expansion of "if" statements. "If" checks condition and
runs appropriate commands when it evaluates to be true, what will "Else" do? -
ANSWER Allows code to run when condition is false
Pseudocode is fake lines of code that the robot can understand. - ANSWER
False
Turn on a Motor is an example of: - ANSWER Basic Behavior
What line of code would let the motor run at half speed? (Check all that apply) -
ANSWER startMotor(rightMotor, 63.5);
startMotor(rightMotor, -63.5);
100% CORRECT | LATEST UPDATE 2025
When you want to evaluate a range of values in a condition from a sensor you can
use which of the following? - ANSWER && and ll
Turn on a motor for 5 seconds is an example of a: - ANSWER Simple Behavior
A light sensor is categorized as an example of a - ANSWER Analog Device
The number that would indicate the fastest speed of a motor is - ANSWER -127
How does the ultrasonic sensor work? - ANSWER Soundwaves
"If-else" statements are an expansion of "if" statements. "If" checks condition and
runs appropriate commands when it evaluates to be true, what will "Else" do? -
ANSWER Allows code to run when condition is false
Pseudocode is fake lines of code that the robot can understand. - ANSWER
False
Turn on a Motor is an example of: - ANSWER Basic Behavior
What line of code would let the motor run at half speed? (Check all that apply) -
ANSWER startMotor(rightMotor, 63.5);
startMotor(rightMotor, -63.5);