Exam 5: Control Structures II Repetition

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What does these terms refer to: - \gg Flag variable:

Free
(Short Answer)
4.8/5
(32)
Correct Answer:
Verified

a Boolean variable used to control the execution of a while loop

The expression in a while loop checks whether a variable, called the ____________________, satisfies certain conditions.

Free
(Short Answer)
4.8/5
(41)
Correct Answer:
Verified

loop control variable (LCV)
loop control variable
LCV

What does these terms refer to: - \gg Fibonacci sequence:

Free
(Short Answer)
4.8/5
(31)
Correct Answer:
Verified

an = an-1 + an-2

What does these terms refer to: - \gg Decision maker:

(Short Answer)
5.0/5
(37)

What does these terms refer to: - \gg Sentinel-controlled while loop:

(Short Answer)
4.9/5
(37)

A semicolon at the end of a for statement is a semantic error.

(True/False)
5.0/5
(33)

What does these terms refer to: - \gg Divisor:

(Short Answer)
4.8/5
(39)

What does these terms refer to: - \gg Loop control variable (LCV):

(Short Answer)
4.8/5
(34)

How do you avoid an infinite loop?

(Short Answer)
4.7/5
(33)

What does these terms refer to: - \gg Nesting:

(Short Answer)
4.7/5
(30)

What is the purpose of the third expression of the for statement?

(Short Answer)
4.8/5
(35)

What does these terms refer to: - \gg Sentinel:

(Short Answer)
4.9/5
(36)

What does these terms refer to: - \gg End-of-file (EOF)-controlled while loop:

(Short Answer)
4.9/5
(39)

If the loop condition in a for statement is omitted, it is assumed to be false.

(True/False)
4.7/5
(36)

What does these terms refer to: - \gg Infinite loop:

(Short Answer)
4.9/5
(38)

What does these terms refer to: - \gg Fibonacci number:

(Short Answer)
4.8/5
(42)

What does these terms refer to: - \gg Counter-controlled while loop:

(Short Answer)
4.8/5
(39)

How many times does the initial statement of a for loop execute?

(Short Answer)
4.9/5
(39)

What does these terms refer to: - \gg Pretest loop:

(Short Answer)
4.8/5
(48)

What does these terms refer to: - \gg for loop control variable:

(Short Answer)
5.0/5
(32)
Showing 1 - 20 of 25
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)