Skip to content
OtisamLMS
Change filters

Senior High School · WASSCE style

Robotics

Question 1

1The Arduino function pinMode(9, OUTPUT) sets pin 9 as

Easy
Question 2

2In an Arduino sketch, the code inside loop() runs

Easy
Question 3

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

Easy
Question 4

4The Arduino command to set pin 13 HIGH is

Easy
Question 5

5An interrupt service routine (ISR) should be

Hard
Question 6

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

Easy
Question 7

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

Easy
Question 8

8The Arduino function delay(1000) pauses the program for

Easy
Question 9

9The Arduino function analogRead() returns a value between

Medium
Question 10

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

Easy

Demo questions written by Otisam in the style of the WASSCE. They are not WAEC past questions.