1) Which of the following is an efficient way of holding more than one item of data of the same data type in a program? a) A variable b) A constant c) An array d) A subroutine 2) Erin wishes to store her last four 100 metre sprint times in an array. What data type should the array sotre? a) String b) Boolean c) Float d) Integer 3) What is an input ( select al correct answers.) a) gives an output b) gives back the statement given c) opposite to output d) accepts data from the user 4) What will be the result of running the code in the picture? a) 1 b) 3 c) 6 d) 8 5) Which of the following special characters are used when creating an array? a) : : b) { } c) [ ] d) ( ) 6) What is the length of the array [2, -5, 8, -15, 10] a) 5 b) 4 c) 13 d) 9 7) What is an Array a) a data structure that allows you to hold a value, all the same type, with one name b) a data structure that allows you to hold several values, all have different types, with one name c) a data structure that allows you to hold several values, all the same type, with one name d) a data structure that allows you to hold several values, all the same type, with multiple names 8) What would the following array calls would return "x" from the following array: letters = [["y", "w"], ["x", "z"], ["a", "b"]] a) letters[1][0] b) letters[2][1] c) lettersy[2][0] d) letters[1][1]
0%
GCSE.Unit2.Arrays
Delen
Delen
Delen
door
Mrszhong
KS4
Y9
Y10
Y11
Computing
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Er zullen meer templates verschijnen terwijl je de activiteit gebruikt.
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?