Question:

There are five statements listed below. Each statement having some information related to data structure. Identify the correct statement(s).
(A) A stack is an example of a FIFO data structure 
(B) The function top() removes the value from the top of a stack 
(C) The term deque stands for double ended queue 
(D) A queue is a data structure in which items can be added or removed from either end 
(E) PEEK is an operation used to view elements at the front of the queue, without removing it from the queue 
Choose the correct answer from the options given below:

Updated On: Oct 18, 2024
  • (A), (C) and (E) only
  • (B), (C) and (D) only
  • (B) and (E) only
  • (C) and (E) only
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The correct option is (D) :(C) and (E) only
Was this answer helpful?
0
0