Skip to content
OtisamLMS
Robotics

Robotics · Quick practice · answer shown after each question

Programming

Question 1 of 10

Question 1 of 10

In Arduino code, the function that runs repeatedly is

Question 2 of 10

Question 2 of 10

In a flowchart, a decision (a yes/no question) is drawn as a

Question 3 of 10

Question 3 of 10

An interrupt service routine (ISR) should be

Question 4 of 10

Question 4 of 10

In an Arduino sketch, millis() is preferred over delay() for multitasking because it

Question 5 of 10

Question 5 of 10

What path does a robot follow with this program? REPEAT 4 TIMES: move forward 10 cm, turn right 90°

Question 6 of 10

Question 6 of 10

On an Arduino, what does digitalWrite(13, HIGH) do?

Question 7 of 10

Question 7 of 10

In block-based coding (e.g. Scratch), a "forever" block

Question 8 of 10

Question 8 of 10

On an Arduino Uno, analogRead() returns values in the range

Question 9 of 10

Question 9 of 10

Which Arduino function reads whether a digital input pin is HIGH or LOW?

Question 10 of 10

Question 10 of 10

In Arduino code, which function pauses the program for a number of milliseconds?

Questions written by OtisamLMS in the style of the WASSCE. They are not WAEC past questions.