Representing Algorithms in Pseudo-code
Quiz by GCSE AQA Computer Science
GCSE (AQA)
Computer Science
English National Curriculum
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measures 1 skill fromGCSE (AQA)Computer ScienceEnglish National Curriculum
Measures 1 skill from
GCSE (AQA)
Computer Science
English National Curriculum
3.1.1.b
Track each student's skills and progress in your Mastery dashboards
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- view complete results in the Gradebook and Mastery Dashboards
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
Our brand new solo games combine with your quiz, on the same screen
Correct quiz answers unlock more play!
12 questions
Show answers
- Q1What does the pseudo-code shown here do?Adds the user input to existing value of ANames a variable to match the user inputCreates a variable called 'A' and assigns this with the value of a user inputAsks a user to input 'A'45s3.1.1.b
- Q2What does the following algorithm return?'Comp''mpute''puter''COM', 'PUTER S'45s3.1.1.b
- Q3What does the pseudo-code shown here do?adds the number 29 to a stringconverts the string value 29 to an integer valueconcatenates the integer 29 and string 29adds the integer 29 and string 2945s3.1.1.b
- Q4Which of these algorithms correctly shows adding items to a list called 'names'?312445s3.1.1.b
- Q5What is the correct pseudo-code for showing a randomly generated integer from 1 to 20?RANDOM_INT(1,20)RANDOM(1,20)RANDOM.RANDINT(1,20)RAND.INT(1-20)45s3.1.1.b
- Q6In most programming languages, what is the equivalent of this pseudo code symbol?=!===!=45s3.1.1.b
- Q7What does the pseudo code shown here do?Adds an item to the array in index positions 3 and 2returns the value of a 2D array from item found in the 3rd column, 2nd rowDelete the item found in the 3rd row, 2nd columnreturns the value of a 2D array from item found in the 3rd row, 2nd column45s3.1.1.b
- Q8What is the correct pseudo-code for showing comments and annotations?#:://##45s3.1.1.b
- Q9What does the pseudo-code shown do?converts a file to programming codeconverts a character to its ascci equivalentconverts a character to an integerconverts an ascii character to an integer45s3.1.1.b
- Q10What does the pseudo-code shown here do?moves the letter p in the string 'computer science'prints the index position of the letter preturns the index position of the letter padds the letter p to 'computer science'45s3.1.1.b
- Q11What does the pseudo-code shown here do?creates a for loop that prints a 99 timesprints a = 1 and then a = 99creates a for loop that prints a 100 timescreates a while loop that keeps going until a = 9945s3.1.1.b
- Q12What must always go at the end of a WHILE loop in pseudo-code?ENDWHILEDO UNTILENDWHILE FINISH45s3.1.1.b