Robotics · Quick practice · answer shown after each question
Question 1 of 10
On an Arduino, what does digitalWrite(13, HIGH) do?
Question 2 of 10
The Arduino function delay(1000) pauses the program for
Question 3 of 10
What path does a robot follow with this program? REPEAT 4 TIMES: move forward 10 cm, turn right 90°
Question 4 of 10
On an Arduino Uno, analogRead() returns values in the range
Question 5 of 10
The Arduino function analogRead() returns a value between
Question 6 of 10
In Arduino code, the function that runs repeatedly is
Question 7 of 10
In Arduino code, which function pauses the program for a number of milliseconds?
Question 8 of 10
In an Arduino sketch, the code inside loop() runs
Question 9 of 10
The Arduino function pinMode(9, OUTPUT) sets pin 9 as
Question 10 of 10
In a flowchart, a decision (a yes/no question) is drawn as a
Questions written by OtisamLMS in the style of the WASSCE. They are not WAEC past questions.