Skip to content
OtisamLMS
Computing

Computing · Quick practice · answer shown after each question

Algorithm design: pseudocode and flowcharts

Question 1 of 10

Question 1 of 10

Working through an algorithm by hand with test data is a ___ run.

Question 2 of 10

Question 2 of 10

A loop that always runs at least once is the REPEAT ... ___ loop.

Question 3 of 10

Question 3 of 10

A value such as −1 used to mark the end of input is a ___ value.

Question 4 of 10

Question 4 of 10

A WHILE loop may run zero times.

Question 5 of 10

Question 5 of 10

Structured English-like description of an algorithm is called ___.

Question 6 of 10

Question 6 of 10

The CASE (or SELECT) structure is useful for

Question 7 of 10

Question 7 of 10

In a flowchart, a connector symbol (small circle) is used to

Question 8 of 10

Question 8 of 10

A REPEAT ... UNTIL loop checks its condition at the end.

Question 9 of 10

Question 9 of 10

Complete a trace table for: a ← 1; b ← 1; FOR i ← 1 TO 4: c ← a + b; a ← b; b ← c; NEXT. What sequence does b show?

Question 10 of 10

Question 10 of 10

A loop that repeats a known number of times is a count-___ loop.

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