Limited access

Upgrade to access all content for this subject

Consider the code below:

1   numbers ← [12, 17, 15, 72, 3] 
2   big ← 0
3   FOR EACH number IN numbers
4   {
5      IF (number > 15)
6         {
7            big ← big + 10
8         }
9         ELSE
10        {
11           big ← big - 10
12        } 
13  } 
14  DISPLAY (big)

Line 3 is best described as

A

sequencing.

B

selection.

C

iteration.

D

algorithm.

Select an assignment template