C++: Exercise 1: Determine whether each of the following characteristics apply t
ID: 3779382 • Letter: C
Question
C++:
Exercise 1: Determine whether each of the following characteristics apply to a stack, a queue, both, or neither.
A. An element is inserted at a special place called the top.
B. An element is inserted at a special place called the rear.
C. The structure can hold only one type of data element.
D. An element is deleted at the front.
E. The ith position may be deleted.
F. An element is deleted at the top.
G. The structure is a LIFO structure.
H. The structure is a FIFO structure.
I. The structure is a restricted access structure.
Explanation / Answer
stack
A. An element is inserted at a special place called the top.
F.An element is deleted at the top.
G.The structure is a LIFO structure.
queue
B . An element is inserted at a special place called the rear.
D. An element is deleted at the front.
H.The structure is a FIFO structure.
both
C.The structure can hold only one type of data element.
neither
E.The ith position may be deleted.
I.The structure is a restricted access structure.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.