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

Beschreibung

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
Quiz von Michael Jardine, aktualisiert more than 1 year ago
Michael Jardine
Erstellt von Michael Jardine vor mehr als 6 Jahre
15
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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

Frage 3

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

Frage 4

Frage
'break' is a valid term in:
Antworten
  • 'if' loops
  • 'while' loops

Frage 5

Frage
'pass' is a valid term in:
Antworten
  • 'if' loops
  • 'while' loops
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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