Skip to content
OtisamLMS
Robotics

Robotics · Quick practice · answer shown after each question

Programming

Question 1 of 10

Question 1 of 10

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

Question 2 of 10

Question 2 of 10

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

Question 3 of 10

Question 3 of 10

The Arduino function delay(1000) pauses the program for

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

A function in a program is

Question 6 of 10

Question 6 of 10

An interrupt service routine (ISR) should be

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

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

Question 9 of 10

Question 9 of 10

The Arduino command to set pin 13 HIGH is

Question 10 of 10

Question 10 of 10

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

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