Complete the trace table for the algorithm shown in Figure 4 when the initial value of number is 3.
Figure 4
result ← number LEFTSHIFT 2
result ← result + number
number | result |
|---|---|
| 3 | |
208 exam-style questions on AQA GCSE Computer Science Representing algorithms. Each one has a worked solution and a mark scheme showing where the marks go.