Exam 4: Making Decisions
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
What will be the value of result after the following code has been executed?

(Multiple Choice)
4.8/5
(80)
Which of the following expressions will determine whether x is less than or equal to y?
(Multiple Choice)
4.7/5
(77)
If the sub-expression on the left side of an && operator is false, the expression on the right side will not be checked.
(True/False)
4.8/5
(92)
The default section of a switch statement performs a similar task as the ________ portion of an if/else if statement.
(Multiple Choice)
4.9/5
(80)
If the sub-expression on the left side of the || operator is true, the expression on the right side will not be checked.
(True/False)
5.0/5
(75)
An expression that has any value other than 0 is considered true by an if statement.
(True/False)
4.8/5
(95)
What is the value of donuts after the following code executes?

(Multiple Choice)
4.8/5
(79)
This operator takes an operand and reverses its truth or falsehood.
(Multiple Choice)
4.8/5
(80)
Both of the following if statements perform the same operation.
if (sales > 10000)
commissionRate = 0.15;
if (sales > 10000)commissionRate = 0.15;
(True/False)
4.9/5
(77)
Showing 41 - 53 of 53
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)