I have a final in c++ on wednseday and I need some help with the following multi
ID: 3583275 • Letter: I
Question
I have a final in c++ on wednseday and I need some help with the following multiple choice review questions.
20) I can implement a STACK class by using
A) A linked list (node) class
B) A Queue class
C) A dynamic array
D) All of the above
21) What does stack or queue underflow mean?
A) Pop or dequeue from an empty stack or queue
B) Not enough space to create the stack or queue in memory
C) Memory from another object is flowing into the stack or the queue
D) When you pop an item off a stack and immediately enqueue it in a queue
Explanation / Answer
Answer :
I have a final in c++ on wednseday and I need some help with the following multiple choice review questions.
20) I can implement a STACK class by using
A) A linked list (node) class
B) A Queue class
C) A dynamic array
D) All of the above
21) What does stack or queue underflow mean?
A) Pop or dequeue from an empty stack or queue
B) Not enough space to create the stack or queue in memory
C) Memory from another object is flowing into the stack or the queue
D) When you pop an item off a stack and immediately enqueue it in a queue
Answer :
20) I can implement a STACK class by using
A) A linked list (node) class
B) A Queue class
C) A dynamic array
D) All of the above
Answer :
B) A Queue class
.........
21) What does stack or queue underflow mean?
A) Pop or dequeue from an empty stack or queue
B) Not enough space to create the stack or queue in memory
C) Memory from another object is flowing into the stack or the queue
D) When you pop an item off a stack and immediately enqueue it in a queue
Answer :
D) When you pop an item off a stack and immediately enqueue it in a queue
..........
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.