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 about 6 years ago
378
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

Cell Structure
daniel.praecox
Developmental Psychology - Freud, Little Hans (1909)
Robyn Chamberlain
The SAT Test
philip.ellis
Food Technology - Functions of ingredients
evie.daines
Revolutions and Turmoil: Russia 1905-1917
Emily Faul
GCSE Subjects
KimberleyC
Science Additional B3 - Animal and Plant Cells Flashcards
Stirling v
GCSE AQA Biology 2 Cells & Diffusion
Lilac Potato
Biology (B3)
Sian Griffiths
Relationships in Streetcar
Alanna Pearson
Test your Knowledge with Quizzes
daniel.praecox