Exam 9: Records Structs
Exam 1: An Overview of Computers and Programming Languages40 Questions
Exam 2: Basic Elements of C++50 Questions
Exam 3: Inputoutput40 Questions
Exam 4: Control Structures I Selection40 Questions
Exam 5: Control Structures Ii Repetition40 Questions
Exam 6: User-Defined Function41 Questions
Exam 7: Namespaces, the Class String, and User-Defined Simple Data Types40 Questions
Exam 8: Arrays40 Questions
Exam 9: Records Structs40 Questions
Exam 10: Classes and Data Abstraction43 Questions
Exam 11: Inheritance and Composition41 Questions
Exam 12: Pointers, Classes, Virtual Functions, and Abstract Classes44 Questions
Exam 13: Operator Overloading and Templates41 Questions
Exam 14: Exception Handling43 Questions
Exam 15: Recursion43 Questions
Exam 16: Linked Lists40 Questions
Exam 17: Stacks and Queue43 Questions
Exam 18: Searching and Sorting Algorithms40 Questions
Exam 19: Binary Trees43 Questions
Exam 20: Graph Algorithms48 Questions
Exam 21: Standard Template Library41 Questions
Select questions type
Consider the following struct definition:Which of the following variable declarations is correct? 

Free
(Multiple Choice)
4.8/5
(45)
Correct Answer:
C
You can use an assignment statement to copy the contents of one struct into another struct of the same type.
Free
(True/False)
4.8/5
(39)
Correct Answer:
True
Consider the following statements:
rectangleData bigRect; Which of the following statements is valid in C++?

Free
(Multiple Choice)
4.8/5
(44)
Correct Answer:
B
In structs, you access a component by using the struct name together with the relative position of the component.
(True/False)
4.8/5
(39)
Which of the following struct definitions is correct in C++?
(Multiple Choice)
4.8/5
(34)
Consider the following statements.
Which of the following statements is valid in C++?

(Multiple Choice)
4.9/5
(31)
Consider the following statements:
rectangleData bigRect; Which of the following statements is valid in C++?

(Multiple Choice)
4.8/5
(43)
Memory is allocated for struct variables only when you ____________________ them.
(Short Answer)
4.9/5
(37)
Which of the following is an allowable aggregate operation on a struct?
(Multiple Choice)
4.8/5
(37)
Typically, in a program, a struct is defined ____ in the program.
(Multiple Choice)
4.8/5
(39)
If a variable is passed by ____________________, then when the formal parameter changes, the actual parameter also changes.
(Short Answer)
4.8/5
(31)
Consider the following statements:
Which of the following best describes applianceList?

(Multiple Choice)
4.9/5
(34)
Consider the following function prototype:int seqSearch(const listType& list, int searchItem); The actual parameter cannot be modified by ____.
(Multiple Choice)
4.8/5
(30)
The following statement defines a struct houseType with a total of ____________________ member(s).


(Short Answer)
5.0/5
(37)
Consider the following struct definition:The statement that declares intList to be a struct variable of type listType is ____________________.


(Short Answer)
4.8/5
(36)
Showing 1 - 20 of 40
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)