Exam 9: Control I - Expressions and Statements
Exam 1: Introduction50 Questions
Exam 2: Language Design Criteria50 Questions
Exam 3: Functional Programming50 Questions
Exam 4: Logic Programming50 Questions
Exam 5: Object-Oriented Programming50 Questions
Exam 6: Syntax50 Questions
Exam 7: Basic Semantics50 Questions
Exam 8: Data Types50 Questions
Exam 9: Control I - Expressions and Statements50 Questions
Exam 10: Control II - Procedures and Environments50 Questions
Exam 11: Abstract Data Types and Modules50 Questions
Exam 12: Formal Semantics50 Questions
Exam 13: Parallel Programming51 Questions
Select questions type
A sentinel-based loop is often used in situations where a series of input values must be processed.
(True/False)
4.9/5
(40)
Syntactic sugar is a language construct that is completely expressible in terms of other constructs.
(True/False)
5.0/5
(35)
In C,the ____ statement skips the remainder of the loop body and resumes execution with the next evaluation of the control expression.
(Multiple Choice)
4.9/5
(35)
A general form for a loop construct is given by Dijkstra's structure called the ____.
(Multiple Choice)
4.8/5
(31)
Synchronous errors occur in direct reaction to program execution.
(True/False)
4.8/5
(31)
In the guarded if statement,the ____ are the Boolean expressions.
(Multiple Choice)
4.7/5
(34)
The do statement ensures that the code of a loop is executed at least once.
(True/False)
4.8/5
(45)
When an error is thrown,a(n)____ is executed to recover normal execution.
(Multiple Choice)
4.8/5
(46)
____ evaluation stops once the truth value of a Boolean expression is known.
(Multiple Choice)
4.9/5
(39)
Evaluating all operands before applying operators is called ____ evaluation.
(Multiple Choice)
4.9/5
(37)
____ states that any two expressions in a program that have the same value may be substituted for each other anywhere in the program.
(Multiple Choice)
4.9/5
(39)
A(n)____ is executed for its side effects and returns no value.
(Multiple Choice)
4.9/5
(39)
____ errors can occur at any moment,not necessarily in response to program code execution.
(Multiple Choice)
4.8/5
(40)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)