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

Quiz

Advanced Arrays

Code Ramp 5 perguntas

Fazer o quiz

Perguntas do quiz (5)

  1. 1Which of the following lets us loop over an array?
    1. Afor loop
    2. BforEach method
    3. Cwhile loop
  2. 2If we use a for loop to loop through an array, what would the end condition typically be?
    1. Ai < array.length
    2. Bi <= array.length
    3. Ci > array.length
    4. Di >= array.length
  3. 3The forEach method allow you to define parameters for which of the following? (Note: some of them are optional!)
    1. AThe array you're iterating over
    2. BThe element itself
    3. CThe index of that element
  4. 4Which of the following accurately reflects how we might represent 2D data?

    Example data:
    a b c
    1 2 3
    1. Avar myData = [['a', 'b' ,'c'], [1, 2, 3]];
    2. Bvar myData = ['a', 1, 'b', 2, 'c', 3];
    3. Cvar myData = ['a', 'b', 'c', 1, 2 ,3];
    4. Dvar myData = ['a', 'b', 'c'] + [1, 2, 3];
  5. 5In nested loops, the outer loop will be completed (i.e. iterate over every single item) before the inner loop ever begins.
    1. AVerdadeiro
    2. BFalso

Informações

Descrição
Quiz sobre Advanced Arrays, criado por Code Ramp em 25-04-2018.
Idioma
English
Visualizações
308
Etiquetas
toefl
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?