INFO L06 (w03-2) - Control Flow - WHILE

Descripción

Week 03: Control Flow 1: Branching and Looping Lecture 06: Control Flow 1 - WHILE subtitle: Using a 'while' loop; break note: No quiz necessary for L05 (w05-1) 'IF'
Michael Jardine
Test por Michael Jardine, actualizado hace más de 1 año
Michael Jardine
Creado por Michael Jardine hace casi 6 años
2
0

Resumen del Recurso

Pregunta 1

Pregunta
Which of the following in place of the [blank] would cause an infinite loop?
Respuesta
  • Break
  • Continue
  • Pass
  • None of the above.

Pregunta 2

Pregunta
Which of the following in place of the [blank] would cause an infinite loop?
Respuesta
  • Break
  • Continue
  • Pass
  • None of the above

Pregunta 3

Pregunta
Which of the following in place of the [blank] would have an output that includes the number 7?
Respuesta
  • Break
  • Continue
  • Pass
  • None of the above

Pregunta 4

Pregunta
'break' is a valid term in:
Respuesta
  • 'if' loops
  • 'while' loops

Pregunta 5

Pregunta
'pass' is a valid term in:
Respuesta
  • 'if' loops
  • 'while' loops
Mostrar resumen completo Ocultar resumen completo

Similar

INFO L02 (w01-2) - Programming basics
Michael Jardine
INFO L03 (w02-1) - Variables and Expressions
Michael Jardine
INFO L04 (w02-2) - Expressions and command-line Arguments
Michael Jardine
GEGE2001 Quiz 2
Michael Jardine
GEGE2001 Quiz 4
Michael Jardine
GEGE2001 Quiz 1
Michael Jardine
GEGE2001 Quiz 3
Michael Jardine
TDAH (TRASTORNO POR DEFICIT DE ATENCION CON HIPERACTIVIDAD)
leo garavito
Aplicaciones Automatas
Diego Zerkk
Adobe InDesign
Nicole Gentle
Tipos de computadoras por estructura interna y capacidad de procesamiento
hebby.mena403