GCSE CS Programming Quiz 2

Description

Quiz on GCSE CS Programming Quiz 2, created by Simon Howe on 15/03/2018.
Simon Howe
Quiz by Simon Howe, updated more than 1 year ago
Simon Howe
Created by Simon Howe over 6 years ago
389
0

Resource summary

Question 1

Question
What does the code show ?
Answer
  • Sequences
  • Iteration
  • Selection
  • User input
  • An Array

Question 2

Question
What data type would you use for 3.21?
Answer
  • Real
  • Integer
  • Boolean
  • String

Question 3

Question
An integer has to be a whole number ?
Answer
  • True
  • False

Question 4

Question
What best describes the flow chart?
Answer
  • Sequences
  • Selection
  • Iteration
  • Array

Question 5

Question
What data type would i use to represent gender as a M or F?
Answer
  • Integer
  • String
  • Character
  • Boolean

Question 6

Question
What loop would you need to add to the code to make it loop 12 times?
Answer
  • FOR index FROM 1 TO 12 DO
  • FOR

Question 7

Question
What data type would you use for a card number ? e.g. 1234 1223 1133 2234
Answer
  • String
  • Integer
  • Real
  • Boolean

Question 8

Question
What number would you need to enter to show the letter k using string indexing?
Answer
  • 3

Question 9

Question
What symbol would you use to join (sting concatenation) to sting in pseudo code?
Answer
  • ,
  • &
  • =
  • +

Question 10

Question
What best describes the code in the image?
Answer
  • string slicing
  • Sting indexing
  • Sting traversal
  • Sting formatting
Show full summary Hide full summary

Similar

Mapa Mental - Estilos de Aprendizagem
miminoma
General Knowledge Quiz
PatrickNoonan
The Great Gatsby: Chapter Summaries
Andrew_Ellinas
GCSE History: The 2014 Source Paper
James McConnell
The Cold War Quiz
Niat Habtemariam
An Inspector Calls: Mrs Sybil Birling
Rattan Bhorjee
Of Mice & Men Themes - Key essay points
Lilac Potato
Highway Code Road Signs for Driving Test
Sarah Egan
Britain and World War 2
Sarah Egan
Romeo & Juliet Quotes
Lucy Hodgson
Core 1.10 Polymers (Plastics)
T Andrews