¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

Intro to Computer Science S2 Chapter 10

Grant Eversole 44 preguntas

Hacer el test

Este test tiene tipos de pregunta que se abren en el reproductor de siempre.

Preguntas del test (44)

  1. 1It is not possible for an array to hold an array.
    1. AVerdadero
    2. BFalso
  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

Información

Descripción
10th grade Computer Science Test sobre Intro to Computer Science S2 Chapter 10, creado por Grant Eversole el 10/05/2018.
Idioma
English
Visitas
0
Etiquetas
computer science10th grade
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Más sobre Arrays

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?