Exam 14: Additional Capabilities
Exam 1: Introduction to Computer Programming44 Questions
Exam 2: Getting Started in C Programming46 Questions
Exam 3: Processing and Interactive Input48 Questions
Exam 4: Selection44 Questions
Exam 5: Repetition47 Questions
Exam 6: Modularity Using Functions: Part I51 Questions
Exam 7: Modularity Using Functions: Part II49 Questions
Exam 8: Arrays48 Questions
Exam 9: Character Strings51 Questions
Exam 10: Data Files50 Questions
Exam 11: Arrays, Addresses, and Pointers49 Questions
Exam 12: Structures48 Questions
Exam 13: Dynamic Data Structures49 Questions
Exam 14: Additional Capabilities55 Questions
Exam 15: A Brief Introduction to C++49 Questions
Select questions type
The statement ____ makes the name REAL a synonym for double.
Free
(Multiple Choice)
4.7/5
(46)
Correct Answer:
A
The equivalence produced by a typedef statement can frequently be produced equally well by a ____ statement.
Free
(Multiple Choice)
4.9/5
(45)
Correct Answer:
B
The statement typedef int ARRAY[100]; is not valid in C.
Free
(True/False)
4.9/5
(33)
Correct Answer:
False
A better alternative to #define SQUARE(x) (x) * (x) is #define SQUARE(x) x * x.
(True/False)
4.8/5
(34)
The ____ operator causes a bit-by-bit AND comparison between its two operands.
(Multiple Choice)
4.8/5
(36)
1 0 1 1 0 0 1 1 ____ 1 1 0 1 0 1 0 1 results in 0 1 1 0 0 1 1 0.
(Multiple Choice)
4.8/5
(41)
An optional enumerated list name can be used in an enumeration statement.
(True/False)
4.9/5
(41)
Both the #ifndef and #ifdef directives permit conditional compilation in that the statements immediately following these directives, up to either the #else or #endif directives, are compiled only if the condition is true, whereas the statements following the #else are compiled only if the condition is false.
(True/False)
4.9/5
(33)
The conditional operator has a lower precedence than the assignment operator.
(True/False)
4.7/5
(32)
The advantage of using a macro instead of a function is an increase in execution speed.
(True/False)
4.9/5
(26)
The full function header of a main() function that will receive command-line arguments is int main(int argc, char *argv[]).
(True/False)
4.9/5
(34)
For unsigned integers, each left shift (using the << operator) corresponds to ____.
(Multiple Choice)
4.7/5
(38)
C places several restrictions on the equivalences that can be established with the #define statement.
(True/False)
4.8/5
(43)
____ is the most frequently used conditional preprocessor directive.
(Multiple Choice)
4.8/5
(35)
In an arithmetic right shift (using the >> operator), each right shift corresponds to ____.
(Multiple Choice)
4.8/5
(36)
When the bit operators &, |, and ^ are used with operands of different sizes, the shorter operand is always increased in bit size to match the size of the larger operand.
(True/False)
5.0/5
(32)
One of the differences between the a typedef statement and a #define statement is that typedef statements are processed directly by the compiler while #define statements are processed by the preprocessor.
(True/False)
4.9/5
(42)
Showing 1 - 20 of 55
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)