Exam 5: Control Structures II Repetition
Exam 1: An Overview of Computers and Programming Languages52 Questions
Exam 2: Basic Elements of C++76 Questions
Exam 3: Inputoutput33 Questions
Exam 4: Control Structures I Selection24 Questions
Exam 5: Control Structures II Repetition25 Questions
Exam 6: User-Defined Functions47 Questions
Exam 7: User-Defined Simple Data Types, Namespaces, and the String Type12 Questions
Exam 8: Arrays and Strings33 Questions
Exam 9: Records Structs10 Questions
Exam 10: Classes and Data Abstraction38 Questions
Exam 11: Inheritance and Composition15 Questions
Exam 12: Pointers, Classes, Virtual Functions, Abstract Classes, and Lists40 Questions
Exam 13: Overloading and Templates21 Questions
Exam 14: Exception Handling13 Questions
Exam 15: Recursion18 Questions
Exam 16: Linked Lists17 Questions
Exam 17: Stacks and Queues34 Questions
Exam 18: Searching and Sorting Algorithms28 Questions
Exam 19: Binary Trees26 Questions
Exam 20: Graphs53 Questions
Exam 21: Standard Template Library STL28 Questions
Select questions type
What does these terms refer to:
- Flag variable:
Free
(Short Answer)
4.8/5
(32)
Correct Answer:
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:
loop control variable (LCV)
loop control variable
LCV
What does these terms refer to:
- Fibonacci sequence:
Free
(Short Answer)
4.8/5
(31)
Correct Answer:
an = an-1 + an-2
What does these terms refer to:
- Sentinel-controlled while loop:
(Short Answer)
4.9/5
(37)
What is the purpose of the third expression of the for statement?
(Short Answer)
4.8/5
(35)
What does these terms refer to:
- 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:
- 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)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)