Top 150+ Solved Data Structure (DS) MCQ Questions Answer

From 16 to 30 of 137

Q. Which of the following data structure is linear type?

a. graph

b. trees

c. binary tree

d. stack

  • d. stack

Q. A directed graph is ………………. if there is a path from each vertex to every other vertex in the digraph.

a. weakly connected

b. strongly connected

c. tightly connected

d. linearly connected

  • b. strongly connected

Q. In the …………….. traversal we process all of a vertex’s descendants before we move to an adjacent vertex.

a. depth first

b. breadth first

c. with first

d. depth limited

  • a. depth first

Q. The number of comparisons done by sequential search is ………………

a. (n/2)+1

b. (n+1)/2

c. (n-1)/2

d. (n+2)/2

  • b. (n+1)/2

Q. In ……………, search start at the beginning of the list and check every element in the list.

a. linear search

b. binary search

c. hash search

d. binary tree search

  • a. linear search

Q. Which of the following is not the internal sort?

a. insertion sort

b. bubble sort

c. merge sort

d. heap sort

  • c. merge sort

Q. In a circular queue the value of r will be ..

a. r=r+1

b. r=(r+1)% [queue_size – 1]

c. r=(r+1)% queue_size

d. r=(r-1)% queue_size

  • c. r=(r+1)% queue_size

Q. ………… is not the operation that can be performed on queue.

a. insertion

b. deletion

c. retrieval

d. traversal

  • d. traversal

Q. There is an extra element at the head of the list called a ……….

a. antinel

b. sentinel

c. list header

d. list head

  • b. sentinel

Q. A graph is a collection of nodes, called ………. And line segments called arcs or ……….. that connect pair of nodes.

a. vertices, edges

b. edges, vertices

c. vertices, paths

d. graph node, edges

  • a. vertices, edges
Subscribe Now

Get All Updates & News