Exam 13: Pointers and Linked Lists
Exam 1: Introduction to Computer and C Programming55 Questions
Exam 2: C++ Basics54 Questions
Exam 3: More Flow of Control44 Questions
Exam 4: Procedural Abstraction and Functions That Return a Value51 Questions
Exam 5: Functions for All Sub Tasks53 Questions
Exam 6: Io Streams As an Introduction to Objects and Classes51 Questions
Exam 7: Arrays34 Questions
Exam 8: Strings and Vectors63 Questions
Exam 9: Pointers and Dynamic Arrays40 Questions
Exam 10: Defining Classes50 Questions
Exam 11: Friends, overloaded Operators, and Arrays in Classes49 Questions
Exam 12: Separate Compilation and Namespaces38 Questions
Exam 13: Pointers and Linked Lists51 Questions
Exam 14: Recursion43 Questions
Exam 15: Inheritance53 Questions
Exam 16: Exception Handling47 Questions
Exam 17: Templates33 Questions
Exam 18: Standard Template Library57 Questions
Select questions type
If you write a linked list class,then you should implement the destructor,copy constructor,and the assignment operator
(True/False)
4.8/5
(40)
If you push the following numbers onto an integer stack,what item is on the top of the stack? 1,4,8,16)
(Multiple Choice)
4.9/5
(45)
The function used to put data into a stack is typically called _______.
(Short Answer)
4.8/5
(35)
Dynamically allocated memory that is no longer pointed to by any pointer variable causes a ______________.
(Short Answer)
4.7/5
(31)
Most applications that use a stack will store a struct or class object on the stack.
(True/False)
4.9/5
(32)
If you need to insert an element in the front of a list with N nodes and move the other elements back one place),how many nodes do you have to move?
(Multiple Choice)
4.9/5
(43)
When would you use a linked list over an array or a dynamic array?
(Multiple Choice)
4.7/5
(38)
In a linked list as defined in the text,the pointer in the last node in the list should always point to _________.
(Short Answer)
4.7/5
(32)
The arrow operator ->)combines the actions of which two operators?
(Short Answer)
5.0/5
(49)
Apart from constructors,the operations for a stack listed in the text are ____________,_____________,and _______________,
(Short Answer)
4.7/5
(32)
Which of the following loops correctly uses iter as an iterator to move through the nodes of the linked list?
NodePtr iter; //a pointer to a node
(Multiple Choice)
4.8/5
(38)
Showing 21 - 40 of 51
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)