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

Spanish Vocab Flash Cards
Clarice Thorn
AQA GCSE Physics Unit 2.5
Matthew T
IB SL Biology: Cells
mcgowan-w-10
FREQUENCY TABLES: MODE, MEDIAN AND MEAN
Elliot O'Leary
STEM AND LEAF DIAGRAMS
Elliot O'Leary
OCR AS Biology
joshbrown3397
Virtue Ethics Edexcel A Level
fstok
Biology (B2)
Sian Griffiths
GCSE Computing: Hardware
Yasmin F
MCQ practice for research methods, psychology
Ben Armstrong
Mapa Mental para Resumir y Conectar Ideas
Rosario Sharline Vilcarromero Saenz