GCSE CS Programming Quiz 3

Beschreibung

Quiz am GCSE CS Programming Quiz 3, erstellt von Simon Howe am 15/03/2018.
Simon Howe
Quiz von Simon Howe, aktualisiert more than 1 year ago
Simon Howe
Erstellt von Simon Howe vor etwa 6 Jahre
344
0

Zusammenfassung der Ressource

Frage 1

Frage
An Array is a data structure, a specialised way of storing data
Antworten
  • True
  • False

Frage 2

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

Frage 3

Frage
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
Antworten
  • 2
  • 4
  • 776
  • 123

Frage 4

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

Frage 5

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

Frage 6

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

Frage 7

Frage
What type of subprogram results a value?
Antworten
  • Function
  • Procedure

Frage 8

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

Frage 9

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

Frage 10

Frage
A _____ Variable is defined within a subprogram and can only be used within that subprogram?.
Antworten
  • Local
  • Global
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Deutsche Bundeskanzler(Amtszeiten)
max.grassl
Deutsch Abitur 2016: Der Prozess
Lena S.
Englisch Lernwortschatz A1-C1 Teil 2
Chiara Braun
Vetie - Radiologie 2018 Teil 2
Luca Russell
GESKO A PR WS 2018/19
Caroline Hannah
BM6 Fröhlich SS 19
Daniel Martinovic
Vetie Virologie 2015
J R
Vetie Histopatho 2012 und 2011
Ann-Kathrin Riedel
Vetie Para Tropfpräparate
Kristin E
Vetie - Spezielle Pathologie 2021
Valerie Nymphe
Vetie Geflügel 2019
Mascha K.