Exam 2: Evaluating C Expressions
Exam 1: An Overview of Object-Oriented Programming and C++55 Questions
Exam 2: Evaluating C Expressions51 Questions
Exam 3: Making Decisions50 Questions
Exam 4: Performing Loops51 Questions
Exam 5: Understanding Arrays, Strings and Pointers55 Questions
Exam 6: Using C++ Functions51 Questions
Exam 7: Using Classes56 Questions
Exam 8: Class Features and Design Issues53 Questions
Exam 9: Understanding Friends and Overloading Operators52 Questions
Exam 10: Understanding Inheritance53 Questions
Exam 11: Using Templates54 Questions
Exam 12: Handling Exceptions51 Questions
Exam 13: Advanced Input and Output55 Questions
Exam 14: Advanced Topics53 Questions
Select questions type
Multiplication, division, and modulus are said to have higher ____ than addition or subtraction.
Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
D
The result of evaluating 3.0 / 4 + 2.2 is ____.
Free
(Multiple Choice)
4.7/5
(40)
Correct Answer:
C
A(n) ____________________ is an operator that takes two operands, one on each side of the operator.
Free
(Short Answer)
4.9/5
(33)
Correct Answer:
binary operator
You can isolate the last digit of a base-10 number by performing modulus with ____.
(Multiple Choice)
4.9/5
(44)
Match each term with the correct statement below.
Premises:
rule that dictates the order in which an operator works with its operands
Responses:
char
+
count++
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(36)
When two operations with the same precedence appear in an arithmetic expression, the operations are carried out in order from either left to right or right to left based on their ____.
(Multiple Choice)
4.9/5
(38)
When an expression includes a(n) ____ operator, the mathematical operation takes place before the expression is evaluated.
(Multiple Choice)
4.9/5
(35)
Match each term with the correct statement below.
Premises:
postfix increment operator
Responses:
implicit cast
count++
char
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(42)
____ operators evaluate the relationship between operands; you use them with Boolean expressions.
(Multiple Choice)
4.8/5
(48)
The address operator (____) is a C++ unary operator that is not available for use in most other programming languages.
(Multiple Choice)
4.9/5
(26)
Match each term with the correct statement below.
Premises:
has the highest precedence of the unifying types
Responses:
++count
%=
mixed expression
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(34)
Match each term with the correct statement below.
Premises:
has the lowest precedence of the unifying types
Responses:
implicit cast
%=
mixed expression
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(37)
When you use the += operator, you may insert a space between the + and the =.
(True/False)
4.8/5
(39)
A(n) ____ is a digit added to a number (either at the end or at the beginning) that validates the authenticity of the number.
(Multiple Choice)
4.9/5
(33)
A ____ expression is one that is interpreted to be true or false.
(Multiple Choice)
4.9/5
(35)
The unary operator ____ is the not operator; it means "the opposite of," and essentially reverses the true/false value of an expression.
(Multiple Choice)
4.8/5
(34)
Match each term with the correct statement below.
Premises:
for example, 3.2 * 2
Responses:
long double
char
implicit cast
Correct Answer:
Premises:
Responses:
(Matching)
4.9/5
(35)
Showing 1 - 20 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)