Question 1
Figure 1 shows a program written in C#.
Line numbers are included but are not part of the program.
Figure 1
Where is an arithmetic operation first used in the program in Figure 1 ?
Shade one lozenge.
[1 mark]
Answer
Which of the following is a false statement about the program in Figure 1 ?
Shade one lozenge.
[1 mark]
Answer
State the relational operator used in the program in Figure 1.
[1 mark]
Answer
Complete the trace table for the program in Figure 1.
You may not need to use all the rows in the table.
[4 marks]
Answer