GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Intro to Computer Science S2 Chapter 10

Grant Eversole 44 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (44)

  1. 1It is not possible for an array to hold an array.
    1. ARichtig
    2. BFalsch
  2. 2Two-dimensional array indexes are listed as [blank_start]rows[blank_end] and [blank_start]columns[blank_end]
    1. Arows
    2. Bcolumns
  3. 3Two-dimensional arrays store information that can be represented as a [blank_start]grid[blank_end]
    1. Agrid
  4. 4Consider the following code:
    grid = []
    grid.append (["frog", "cat", "hedgehog"])
    grid.append (["fish", "emu", "rooster"])
    print (grid)
    How many rows does this array have?
    [blank_start]2[blank_end]
    1. A2
  5. 5Consider the following code:
    grid = []
    grid.append (["frog", "cat", "hedgehog"])
    grid.append (["fish", "emu", "rooster"])
    print (grid)
    How many columns does this array have?
    [blank_start]3[blank_end]
    1. A3
  6. 6Consider the following code:
    grid = []
    grid.append (["frog", "cat", "hedgehog"])
    grid.append (["fish", "emu", "rooster"])
    What is output by:
    print (grid[0][0])
    [blank_start]frog[blank_end]
    1. Afrog
  7. 7Consider the following code:
    grid = []
    grid.append (["frog", "cat", "hedgehog"])
    grid.append (["fish", "emu", "rooster"])
    What is output by:
    print (grid[1][2])
    [blank_start]rooster[blank_end]
    1. Arooster
  8. 8Consider the following code:
    grid = []
    grid.append (["frog", "cat", "hedgehog"])
    grid.append (["fish", "emu", "rooster"])
    What is output by:
    print (grid[0][1])
    [blank_start]cat[blank_end]
    1. Acat
  9. 9To iterate through (access all the entries) a two-dimensional arrays you need [blank_start]2[blank_end] for loops. (Enter the number of for loops needed).
    1. A2
  10. 10When using for loops and two-dimensional arrays the outside loop moves across the _____ and the inside loop moves across the ________
    1. Arows, columns
    2. Belements, indexes
    3. Cindexes, elements
    4. Dcolumns, rows

Informationen

Beschreibung
10th grade Computer Science Quiz am Intro to Computer Science S2 Chapter 10, erstellt von Grant Eversole am 10/05/2018.
Sprache
English
Aufrufe
0
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck