(A) Binary search tree
(B) Stack
(C) Hash table
(D) Queue
Tag: Data Structure Mcqs
A parentheses checker program would be best implemented using?
(A) Stack
(B) Queue
(C) List
(D) Any of the above
The elements of a linked list are stored?
(A) In an array
(B) In a structure
(C) Anywhere the computer has space for them
(D) In contiguous memory locations
A graph is a tree if and only if graph is?
(A) Planar
(B) Contains no cycles
(C) Directed graph
(D) Completely connected
Graph in which all vertices have equal degree is called?
(A) Simple graph
(B) Multi graph
(C) Regular graph
(D) Complete graph
In queues the end from where items inserted is called?
(A) Rear
(B) Top
(C) Front
(D) None of the above
Representation of two dimensional arrays in memory is?
(A) Column major
(B) Row major
(C) Both column major and row major
(D) None of the above
Which data structure is used for implementing recursion?
(A) Array
(B) Tree
(C) Queue
(D) Stack