Data Structure and Algorithms (DSA) MCQs with answers Page - 9

Here, you will find a collection of MCQ questions on Data Structure and Algorithms (DSA). Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Matrices with relatively high proportion of zero entries are called ______ matrices.

  • (A) triangular
  • (B) diagonal
  • (C) sparse
  • (D) adjacency

A

Admin • 833.24K Points
Coach

Q. _______ arrays are where the elements in the different arrays with the same subscript belongs to the same record.

  • (A) one dimensional
  • (B) parallel
  • (C) two dimensional
  • (D) static

A

Admin • 833.24K Points
Coach

Q. Records can be stored in an area of memory called _______ memory.

  • (A) dynamic
  • (B) static
  • (C) simple
  • (D) parallel

A

Admin • 833.24K Points
Coach

Q. A matrix in which non-zero entries can only occur on the diagonal or on elements immediately above or below the diagonal, is called ______ matrix.

  • (A) triangular
  • (B) tridiagonal
  • (C) sparse
  • (D) simple

A

Admin • 833.24K Points
Coach

Q. Elements of of an arrays are accessed by

  • (A) accessing fuction in built in data structure
  • (B) mathematical fuction
  • (C) index
  • (D) none of the above

A

Admin • 833.24K Points
Coach

Q. Array is a

  • (A) index data structure
  • (B) non liturenear data structure
  • (C) complx data structure
  • (D) none of the above

A

Admin • 833.24K Points
Coach

Q. Row -major order in two -dimentional array refers to an arrangement where

  • (A) all elements of a row are stored in memory in sequence followed by next row in sequence,and so on
  • (B) all elements of row are stored in memory in sequence followed by next column in sequence ,and so on
  • (C) all elements of row are stored in memory in sequence followed by next column in sequence
  • (D) none of the above

A

Admin • 833.24K Points
Coach

Q. Array is

  • (A) data in physical order
  • (B) data in logical order
  • (C) both a& b
  • (D) none of the above

A

Admin • 833.24K Points
Coach

Q. A structure definition is called as

  • (A) template
  • (B) member
  • (C) both 1 & 2
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. If a, b and c are integer variables with the values a=8, b=3 and c=-5. Then what is the value of the arithmetic expression: 2 * b + 3 * (a-c)

  • (A) 15
  • (B) 6
  • (C) -16
  • (D) -1

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ