Exam 18: Stacks and Queues
Exam 1: Introduction to Computers and Programming40 Questions
Exam 2: Introduction to C++40 Questions
Exam 3: Expressions and Interactivity40 Questions
Exam 4: Making Decisions37 Questions
Exam 5: Looping38 Questions
Exam 6: Functions40 Questions
Exam 7: Introduction to Classes and Objects40 Questions
Exam 8: Arrays37 Questions
Exam 9: Searching, Sorting, and Algorithm Analysis36 Questions
Exam 10: Pointers50 Questions
Exam 11: More About Classes and Object-Oriented Programming64 Questions
Exam 12: More on C-Strings and the String Class38 Questions
Exam 13: Advanced File and Io Operations38 Questions
Exam 14: Recursion20 Questions
Exam 15: Polymorphism and Virtual Functions20 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 Trees37 Questions
Select questions type
Stacks are useful data structures for algorithms that work with lists of items in a
Free
(Multiple Choice)
4.8/5
(27)
Correct Answer:
D
Stacks and queues can be implemented as arrays or linked lists.
Free
(True/False)
5.0/5
(35)
Correct Answer:
True
Queues that are implemented as arrays are called queues.
Free
(Multiple Choice)
4.7/5
(36)
Correct Answer:
A
If information is transmitted faster than it can be processed, it can be held in a while it awaits processing.
(Multiple Choice)
4.8/5
(32)
The Standard Template Library offers a stack template that may be implemented as a
(Multiple Choice)
4.8/5
(37)
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.7/5
(31)
A is a container that provides quick access to elements at the front and the back of the list.
(Multiple Choice)
4.7/5
(34)
A dynamic stack may be implemented as a(n), and expand or shrink with each push or pop operation.
(Multiple Choice)
4.8/5
(44)
The pop function in the stack template of the STL does not return the value from the top of the stack.
(True/False)
4.8/5
(31)
A stack that is implemented as a linked list is known as a deque.
(True/False)
4.7/5
(43)
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.8/5
(37)
A(n)is an abstract data type that stores and retrieves items in a last- in- first- out manner.
(Multiple Choice)
4.8/5
(39)
The first item placed onto a stack is always the last item removed from the stack.
(True/False)
4.8/5
(36)
Showing 1 - 20 of 36
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)