Loops

Descrição

Quiz sobre Loops, criado por Code Ramp em 18-04-2018.
Code Ramp
Quiz por Code Ramp, atualizado more than 1 year ago
Code Ramp
Criado por Code Ramp quase 7 anos atrás
380
0

Resumo de Recurso

Questão 1

Questão
Which type of loop do you typically use when you know exactly how many iterations you will need to do?
Responda
  • While loop
  • For loop

Questão 2

Questão
Which type of loop would you use when you are not certain how many iterations you will need to do?
Responda
  • While loop
  • For loop

Questão 3

Questão
Which of the following do you need to define when you build a loop?
Responda
  • Exactly how many times you're going to run your loop
  • Where to start
  • How to make progress toward the end condition
  • Where to end

Questão 4

Questão
Which statement lets you skip one iteration of a loop?
Responda
  • Break
  • Continue
  • Pass

Questão 5

Questão
In the following for loop, which of the following semicolons (if any) are *not* correct syntax? for (var i = 0; i < 10; i++); { console.log(i); };
Responda
  • Those inside the first set of parentheses (between each of the components of the loop)
  • The one after the first set of parentheses
  • The one after the console log statement
  • The one at the end of the for loop

Semelhante

Chapter 3 & 4 Review
Shannon Anderson-Rush
JavaScript Fundamentals
Andrew Watters
Programming Techniques
Joseph Beaumont
Brushing up
techmaniac001
Matérias para Estudar para o Vestibular
Alice Sousa
Mapa Mental de Revisão de Algoritmos e Programação I
José Toniazzo
Guerra fria-mapa mental
Valdemar Sievert
Resumo para o exame nacional - Fernando Pessoa Ortónimo, Alberto Caeiro , Ricardo Reis e Álvaro Campos
marisacampos.ave
Intertextualidade
Grazi_1
Célula Animal X Célula Vegetal
Marília Mendes
Hobbes, Locke e Rousseau
Ricardo l.