Exam 18: Stacks and Queues
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C Plus Plus40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions40 Questions
Exam 5: Looping40 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays40 Questions
Exam 9: Searching, Sorting, Algorithm Analysis40 Questions
Exam 10: Pointers62 Questions
Exam 11: More About Classes and Object-Oriented Programming70 Questions
Exam 12: More on C-Strings and the String Class40 Questions
Exam 13: Advanced File and Io Operations40 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions22 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl40 Questions
Exam 17: Linked Lists38 Questions
Exam 18: Stacks and Queues36 Questions
Exam 19: Binary Trees38 Questions
Select questions type
Static stacks have a ________ size, and are implemented using ________.
(Multiple Choice)
4.9/5
(41)
The ________ operation allows an item to be stored on a stack.
(Multiple Choice)
4.9/5
(28)
The Standard Template Library offers a stack template that may be implemented as a
(Multiple Choice)
4.8/5
(38)
The ________ operation allows an item to be removed from a stack.
(Multiple Choice)
4.8/5
(38)
A queue is a data structure that stores and retrieves items in a ________ manner.
(Multiple Choice)
4.9/5
(32)
When an element is added to a queue, it is added to the rear. When an element is removed, it is removed from the
(Multiple Choice)
4.8/5
(33)
A(n) ________ is an abstract data type that stores and retrieves items in a last-in-first-out manner.
(Multiple Choice)
4.9/5
(39)
In a static stack class, the constructor function can dynamically allocate memory for the stack array.
(True/False)
4.9/5
(28)
A dynamic stack has a ________ size, and is implemented as a(n) ________.
(Multiple Choice)
4.7/5
(23)
A ________ is processed in a manner similar to customers standing in a grocery check-out line: The first customer in line is the first served.
(Multiple Choice)
4.9/5
(38)
The pop function in the stack template of the STL does not return the value from the top of the stack.
(True/False)
4.9/5
(38)
Queues that are implemented as arrays are called ________ queues.
(Multiple Choice)
4.9/5
(29)
In a dequeue operation, the element at the ________ of the queue is removed.
(Multiple Choice)
4.7/5
(36)
Showing 21 - 36 of 36
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)