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
The programmer must declare in advance the size of a dynamic stack or queue.
Free
(True/False)
5.0/5
(37)
Correct Answer:
False
A dynamic stack may be implemented as a(n) ________, and expand or shrink with each push or pop operation.
Free
(Multiple Choice)
4.8/5
(32)
Correct Answer:
C
A real-world example of the queue data structure can be seen in a stack of cafeteria trays, where the last tray pushed onto the stack is the first tray removed.
Free
(True/False)
4.7/5
(33)
Correct Answer:
False
A stack that is implemented as a linked list is known as a deque.
(True/False)
4.8/5
(35)
The first item placed onto a stack is always the last item removed from the stack.
(True/False)
4.8/5
(35)
The queue data structure is commonly applied in connection with
(Multiple Choice)
4.8/5
(34)
For most people, ________ queues are more intuitive and easier to understand than ________ queues.
(Multiple Choice)
4.8/5
(36)
A ________ stack or queue is implemented using linked lists.
(Multiple Choice)
5.0/5
(23)
Stacks are useful data structures for algorithms that work with lists of items in a
(Multiple Choice)
4.9/5
(41)
A ________ is a container that provides quick access to elements at the front and the back of the list.
(Multiple Choice)
4.9/5
(24)
If information is transmitted faster than it can be processed, it can be held in a ________ while it awaits processing.
(Multiple Choice)
4.9/5
(37)
Showing 1 - 20 of 36
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)