(A) Output restricted dequeue
(B) Input restricted dequeue
(C) Stack
(D) Priority queues
Tag: Data Structures and Algorithms Mcq
Identify data structure which is needed to convert infix notation to postfix notation?
(A) Stack
(B) Queue
(C) Tree
(D) Branch
__ is very useful in situation when data have to stored and then retrieved in reverse order.
(A) List
(B) Link list
(C) Queue
(D) Stack
How elements in an array are accessed?
(A) Exponentially
(B) Sequentially
(C) Logarithmically
(D) Randomly
Which among following is not the part of ADT description?
(A) Operations
(B) Data
(C) Both of the above
(D) None of the above
Index of the first element in an array is?
(A) 0
(B) 1
(C) -1
(D) 2
Assuming int is of 4 bytes, what is the size of int arr[15];?
(A) 11
(B) 15
(C) 18
(D) 60
What is stack is also called?
(A) Last in last out
(B) First in first out
(C) First in last out
(D) Last in first out