Top 350+ Solved Data Structures (DS) MCQ Questions Answer

From 121 to 135 of 370

Q. _______________ is a solution to a problem independent of programming language.

a. Efficient.

b. Linked list.

c. Data structure.

d. Algorithm.

  • d. Algorithm.

Q. ________ is the situation where data-structure is empty.

a. Overflow.

b. Underflow.

c. Null.

d. Empty.

  • b. Underflow.

Q. When elements are deleted the nodes go to_________.

a. registers.

b. free pool.

c. recycle bin.

d. gets deleted permanently.

  • b. free pool.

Q. Expression into postfix expression: (A - B) * (D / E)

a. ABDE - * /

b. - * / ABDE

c. A B - D E * /

d. * - A B / D E

  • d. * - A B / D E

Q. Quick sort uses ____ for implementation.

a. recursion.

b. traversal.

c. heaps.

d. queues.

  • a. recursion.

Q. What is the worst-case time for heap sort to sort an array of n elements?

a. O(log n).

b. O(n).

c. O(n log n).

d. O(n²).

  • c. O(n log n).

Q. The __________________ denotes the greatest integer.

a. ceiling.

b. time.

c. space.

d. floor.

  • a. ceiling.

Q. A binary tree of depth "d" is an almost complete binary tree if __________.

a. each leaf in the tree is either at level.

b. for any node.

c. both a and b.

d. None.

  • c. both a and b.

Q. Program module contains its own list of variables called ____________.

a. global.

b. scope.

c. local.

d. external.

  • c. local.

Q. The string with zero characters is called___________.

a. null string.

b. zero string.

c. one string.

d. empty string.

  • d. empty string.

Q. The unit equal to the number of bits needed to represent a character is called a ________.

a. byte.

b. bit.

c. mega bytes.

d. kilo bytes.

  • a. byte.

Q. In variable length storage two dollar signs are used to signal the __________.

a. end of the string.

b. beginning of the string.

c. mid-level of the string.

d. index.

  • a. end of the string.
Subscribe Now

Get All Updates & News