Representing algorithms

EasyMediumHard
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
Question 19
Easy

Complete the trace table for the algorithm shown in Figure 4 when the initial value of value is 20.

Figure 4

outcome ← value RIGHTSHIFT 2
outcome ← (outcome * value) - 13
valueoutcome
20
[2]

Representing algorithms Questions

  1. GCSE
  2. /Computer Science
  3. /Representing algorithms