Loops

Descripción

Test sobre Loops, creado por Code Ramp el 18/04/2018.
Code Ramp
Test por Code Ramp, actualizado hace más de 1 año
Code Ramp
Creado por Code Ramp hace más de 6 años
379
0

Resumen del Recurso

Pregunta 1

Pregunta
Which type of loop do you typically use when you know exactly how many iterations you will need to do?
Respuesta
  • While loop
  • For loop

Pregunta 2

Pregunta
Which type of loop would you use when you are not certain how many iterations you will need to do?
Respuesta
  • While loop
  • For loop

Pregunta 3

Pregunta
Which of the following do you need to define when you build a loop?
Respuesta
  • 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

Pregunta 4

Pregunta
Which statement lets you skip one iteration of a loop?
Respuesta
  • Break
  • Continue
  • Pass

Pregunta 5

Pregunta
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); };
Respuesta
  • 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
Mostrar resumen completo Ocultar resumen completo

Similar

Chapter 3 & 4 Review
Shannon Anderson-Rush
JavaScript Fundamentals
Andrew Watters
Programming Techniques
Joseph Beaumont
Brushing up
techmaniac001
Retribuciones a Empleados
owem_039
MAPA DE IDEAS
fumbapirane
INCONTINENCIA Y PROLAPSO
Luz Moor
Mapa mental: Sinónimos y Antónimos
mariela.bolanos
LA INDEPENDENCIA DE ESTADOS UNIDOS
ROSA MARIA ARRIAGA
Las Alteraciones
mariajesus camino
RIESGOS DEL INTERNET Y FORMAS PARA EVITARLOS
Vanessa Losada