Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
C++ Programming Study Set 1
Quiz 9: Records Structs
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
Consider the following function prototype: int seqSearch(const listType& list, int searchItem) ; The actual parameter cannot be modified by ____.
Question 22
Multiple Choice
A struct variable can be passed as a parameter ____.
Question 23
Short Answer
Memory is allocated for struct variables only when you ____________________ them.
Question 24
Multiple Choice
Consider the following statements. struct circleData { Double radius; Double area; Double circumference; }; CircleData circle; Which of the following statements is valid in C++?
Question 25
Multiple Choice
Consider the following statements:
applianceType applianceList[25]; Which of the following best describes applianceList?
Question 26
Short Answer
If a variable is passed by ____________________, then when the formal parameter changes, the actual parameter also changes.
Question 27
Short Answer
Arrays are passed by ____________________ only.
Question 28
Multiple Choice
A list has two items associated with it: ____.
Question 29
Multiple Choice
Consider the following statements:
paintType paint; What is the data type of paint.supplier?
Question 30
Multiple Choice
You can assign the value of one struct variable to another struct variable of ____ type.
Question 31
Multiple Choice
Which of the following aggregate operations can be executed on array variables?
Question 32
Multiple Choice
Consider the following statements: struct rectangleData { Double length; Double width; Double area; Double perimeter; }; RectangleData bigRect; RectangleData smallRect; Which of the following statements is legal in C++?
Question 33
Multiple Choice
Consider the following statements:
applianceType applianceList[25]; Which of the following statements correctly initializes the cost of each appliance to 0?
Question 34
Short Answer
Consider the following struct definition: const int ARRAY_SIZE = 1000; struct listType { int listElem[ARRAY_SIZE]; int listLength; }; The statement that declares intList to be a struct variable of type listType is ____________________.