Question Constellation Sign up for free
Q01.1 1 mark

AQA · GCSE · Computer Science · Higher · Paper 1A Computational thinking and programming skills (C#)

Figure 1 shows an algorithm, represented using pseudo-code. The algorithm assigns different values to two variables, then asks the user to input a letter.

Figure 1
film ← "Godzilla vs. Kong"
year ← 2021
OUTPUT "Please guess a letter"
letter ← USERINPUT

Which pseudo-code statement assigns the length of the string film to a variable called value? Shade one lozenge.

Your answer