Photo AI

The following subroutines control the way that labelled blocks are placed in different columns - AQA - GCSE Computer Science - Question 13 - 2021 - Paper 1

Question icon

Question 13

The-following-subroutines-control-the-way-that-labelled-blocks-are-placed-in-different-columns-AQA-GCSE Computer Science-Question 13-2021-Paper 1.png

The following subroutines control the way that labelled blocks are placed in different columns. BLOCK_ON_TOP(column) returns the label of the block on top of the co... show full transcript

Worked Solution & Example Answer:The following subroutines control the way that labelled blocks are placed in different columns - AQA - GCSE Computer Science - Question 13 - 2021 - Paper 1

Step 1

MOVE(0, 1)

96%

114 rated

Answer

After this step, the arrangement will be:

Column 0 Column 1 Column 2 C - - B - - A C -

Step 2

MOVE(0, 2)

99%

104 rated

Answer

After this step, the arrangement will be:

Column 0 Column 1 Column 2 C - - B - C A - -

Step 3

MOVE(0, 2)

96%

101 rated

Answer

After this final move, the arrangement will be:

Column 0 Column 1 Column 2

  •           -               C
    
  •           -               B
    
  •           -               A
    

Join the GCSE students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;