Exam 11: Structured Data
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
The expression s->m; indicates that s is a structure pointer and m is a structure member.
Free
(True/False)
4.7/5
(49)
Correct Answer:
True
The structure pointer operator is used to dereference a pointer to a structure, not a pointer that is a member of a structure.
Free
(True/False)
4.9/5
(38)
Correct Answer:
True
With an enumerated data type, the enumerators are stored in memory as ________.
Free
(Multiple Choice)
4.9/5
(40)
Correct Answer:
B
If an anonymous union is declared globally (outside all functions), it must be ________.
(Multiple Choice)
4.8/5
(39)
Passing a structure as a constant reference parameter to a function ________.
(Multiple Choice)
4.8/5
(36)
It is possible for a structure to contain as a member a pointer to its own structure type.
(True/False)
4.8/5
(29)
A good reason to pass a structure as a constant reference is ________.
(Multiple Choice)
4.8/5
(40)
Which of the following is an example of a C++ primitive data type?
(Multiple Choice)
4.8/5
(44)
To dereference a structure pointer, the appropriate operator is ________.
(Multiple Choice)
4.8/5
(39)
Members of a(n)________ union have names, but the union itself has no name.
(Multiple Choice)
4.8/5
(27)
If Circle is a structure tag, the statement: Circle dosomething (circle c2)
Can be the header line for a function that ________.
(Multiple Choice)
4.9/5
(39)
It is possible to output the contents of all members of a structure variable using a cout << statement followed by the name of the structure variable.
(True/False)
4.9/5
(37)
Data types that are created by the programmer are known as ________.
(Multiple Choice)
4.7/5
(37)
If a function is legally prototyped to return an integer value, it can return a structure member that is an integer data type.
(True/False)
4.8/5
(45)
If a is a structure variable and p, a pointer, is a member of the structure, what will the following statement do?


(Multiple Choice)
4.8/5
(38)
An anonymous union declaration actually creates the member variables in memory.
(True/False)
4.8/5
(36)
This describes only the general characteristics of an object.
(Multiple Choice)
4.9/5
(39)
Showing 1 - 20 of 53
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)