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
388
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

Weimar Germany 1919: The Spartacists and the constitution
Chris Clayton
Plant Structure and Photosynthesis
mckenziedev
Biology: Lung Disease
Sarah H-V
TOEFL English Vocabulary (N - Z)
Ali Kane
Pe - Principles of Training
Beccadf 1
Biological Psychology - Stress
Gurdev Manchanda
Geography - Restless Earth
pip.kaley
Relationships in Streetcar
Alanna Pearson
CHARACTERS IN OF MICE AND MEN
jessicasusanevans
Atomic Structure
dpr898
OP doplnovaci otazky II.
Helen Phamova