Top 150+ Solved Data Structure (DS) MCQ Questions Answer
Q. A ……….. is a graph that has weights of costs associated with its edges.
a. network
b. weighted graph
c. both a and b
d. none a and b
Q. In general, the binary search method needs no more than ……………. comparisons.
a. [log2n]-1
b. [logn]+1
c. [log2n]
d. [log2n]+1
Q. Which of the following is not the type of queue?
a. ordinary queue
b. single ended queue
c. circular queue
d. priority queue
Q. The property of binary tree is
a. the first subset is called left subtree
b. the second subtree is called right subtree
c. the root cannot contain null
d. the right subtree can be empty
Q. Any node is the path from the root to the node is called
a. successor node
b. ancestor node
c. internal node
d. none of the above
Q. Which is/are the application(s) of stack
a. function calls
b. large number arithmetic
c. evaluation of arithmetic expressions
d. all of the above
Q. A …………… is an acyclic digraph, which has only one node with indegree 0, and other nodes have in-degree 1.
a. directed tree
b. undirected tree
c. dis-joint tree
d. direction oriented tree
Q. …………………. Is a directed tree in which outdegree of each node is less than or equal to two.
a. unary tree
b. binary tree
c. trinary tree
d. both b and c
Q. The logical or mathematical model of a particular organization of data is called a ………
a. data structure
b. data arrangement
c. data configuration
d. data formation
Q. The simplest type of data structure is ………………
a. multidimensional array
b. linear array
c. two dimensional array
d. three dimensional array
Q. Linear arrays are also called ……………….
a. straight line array
b. one-dimensional array
c. vertical array
d. horizontal array
Q. Arrays are best data structures …………
a. for relatively permanent collections of data
b. for the size of the structure and the data in the structure are constantly changing
c. for both of above situation
d. for none of the above
Q. Which of the following data structures are indexed structures?
a. linear arrays
b. linked lists
c. graphs
d. trees