O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Intro to Computer Science S2 Chapter 10

Grant Eversole 44 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (44)

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

Informações

Descrição
10th grade Computer Science Quiz sobre Intro to Computer Science S2 Chapter 10, criado por Grant Eversole em 10-05-2018.
Idioma
English
Visualizações
0
Etiquetas
computer science10th grade
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Mais sobre Arrays

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?