GCSE CS Programming Quiz 3

Description

Quiz on GCSE CS Programming Quiz 3, 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
354
0

Resource summary

Question 1

Question
An Array is a data structure, a specialised way of storing data
Answer
  • True
  • False

Question 2

Question
How would you define an array in pseudo code?
Answer
  • SET name = [Bob, Dave, Sam]
  • SET name TO [Bob, Dave, Sam]
  • SET name TO ["Bob", "Dave", "Sam"]

Question 3

Question
What will be outputted as a result of the below code? SET info TO [123,445,667,45,776,2,4] SEND info[5] TO DISPLAY
Answer
  • 2
  • 4
  • 776
  • 123

Question 4

Question
what best describes the below code? SET info TO [[“Name”, “Score 1” , “Score 2”],[“Bob”, “Score 1” , “Score 2”],[“Name”, “Score 1” , “Score 2”]]
Answer
  • An Array
  • A data structure
  • A two dimensional array
  • one dimensional array

Question 5

Question
A sub program is a self contained sequence of program instructions that performs a specific task
Answer
  • True
  • False

Question 6

Question
From the list below identify why a programmer would use a subprogram?
Answer
  • Makes the program longer
  • Makes the program easier to read and test
  • make code more readable
  • Can reuse code
  • All of the above

Question 7

Question
What type of subprogram results a value?
Answer
  • Function
  • Procedure

Question 8

Question
What line number is the function called on?
Answer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

Question 9

Question
What line number is a Subprogram defined on ?
Answer
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

Question 10

Question
A _____ Variable is defined within a subprogram and can only be used within that subprogram?.
Answer
  • Local
  • Global
Show full summary Hide full summary

Similar

CHEMISTRY C1 3
x_clairey_x
Biology 2b - Enzymes and Genetics
Evangeline Taylor
Prática para o TOEFL
miminoma
SMART School Year Goals
Alice McClean
GCSE AQA Biology - Unit 2
James Jolliffe
GCSE AQA Biology 3 Kidneys & Homeostasis
Lilac Potato
Function and Structure of DNA
Elena Cade
OCR Physics P4 Revision
Dan Allibone
Salesforce Admin 201 Exam Chunk 3 (66-90)
Brianne Wright
SFDC App Builder 1 (126-150)
Connie Woolard
A Christmas Carol (Key Quotes)
Samira Choudhury