GCSE CS Programming Quiz 3

Descripción

Test sobre GCSE CS Programming Quiz 3, creado por Simon Howe el 15/03/2018.
Simon Howe
Test por Simon Howe, actualizado hace más de 1 año
Simon Howe
Creado por Simon Howe hace alrededor de 6 años
344
0

Resumen del Recurso

Pregunta 1

Pregunta
An Array is a data structure, a specialised way of storing data
Respuesta
  • True
  • False

Pregunta 2

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

Pregunta 3

Pregunta
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
Respuesta
  • 2
  • 4
  • 776
  • 123

Pregunta 4

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

Pregunta 5

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

Pregunta 6

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

Pregunta 7

Pregunta
What type of subprogram results a value?
Respuesta
  • Function
  • Procedure

Pregunta 8

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

Pregunta 9

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

Pregunta 10

Pregunta
A _____ Variable is defined within a subprogram and can only be used within that subprogram?.
Respuesta
  • Local
  • Global
Mostrar resumen completo Ocultar resumen completo

Similar

PASAPALABRA  sobre  ANATOMÍA
JL Cadenas
Mind Mapping: 10 Estrategias para Docentes
maya velasquez
Etapas de la Historia de España
Alba B
Etapas y fases de una Investigación Acción Participativa (IAP) Fuente: T. Alberich
Anabella C UPANA
Repaso de todos los temas de Literatura para Selectividad
Diego Santos
Divisas y Tipos de Cambio
Virginia Vera
VOCABOLARIO ITALIANO L'HOTEL
claudiagarza
Tema4 Ciencias natuales. Las plantas
Mercedes Graves
Diabetes Mellitus
jrra92
Los tipos de Emprendedores Existentes
Laura -
USO DE HERRAMIENTAS DE DISEÑO AUTOCAD
mart cruzz