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

Descrição

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 por Michael Jardine, atualizado more than 1 year ago
Michael Jardine
Criado por Michael Jardine mais de 6 anos atrás
10
0

Resumo de Recurso

Questão 1

Questão
Which of the following in place of the [blank] would cause an infinite loop?
Responda
  • Break
  • Continue
  • Pass
  • None of the above.

Questão 2

Questão
Which of the following in place of the [blank] would cause an infinite loop?
Responda
  • Break
  • Continue
  • Pass
  • None of the above

Questão 3

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

Questão 4

Questão
'break' is a valid term in:
Responda
  • 'if' loops
  • 'while' loops

Questão 5

Questão
'pass' is a valid term in:
Responda
  • 'if' loops
  • 'while' loops

Semelhante

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