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

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. The indirect change of the values of a vari- able in one module by another module is called

  • (A) internal change
  • (B) inter-module change
  • (C) side effect
  • (D) all the above

A

Admin • 833.24K Points
Coach

Q. The time factor when determining the effi- ciency of algorithm is measured by

  • (A) Counting the number of key operations
  • (B) Counting the number of statements
  • (C) Counting the kilobytes of algorithm
  • (D) None of the above

A

Admin • 833.24K Points
Coach

Q. The space factor when determining the effi- ciency of algorithm is measured by

  • (A) Counting the maximum memory needed by the algorithm
  • (B) Counting the minimum memory needed by the algorithm
  • (C) Counting the average memory needed by the algorithm
  • (D) Counting the maximum disk space needed by the algorithm

A

Admin • 833.24K Points
Coach

Q. ________ is a linearly ordered sequence of memory cells.

  • (A) node
  • (B) link
  • (C) variable
  • (D) null

A

Admin • 833.24K Points
Coach

Q. Each node in a linear list contains an item called _______ which points to the next node in the list.

  • (A) node
  • (B) link
  • (C) variable
  • (D) null

A

Admin • 833.24K Points
Coach

Q. _______ is a variable whose length may vary during the execution, but the length cannot exceed a maximum values defined before the program is executed.

  • (A) dynamic
  • (B) static
  • (C) semi static
  • (D) global

A

Admin • 833.24K Points
Coach

Q. In _______ storage, each cell is divided into two parts---- the path stores a single character, while the second part contains the address of the cell containing the next character.

  • (A) fixed length
  • (B) linked list
  • (C) variable length
  • (D) sequential

A

Admin • 833.24K Points
Coach

Q. If string 1 = John, and string 2 = Rivers are merged, the process is called ----

  • (A) insertion
  • (B) deletion
  • (C) concatenation
  • (D) replacement

A

Admin • 833.24K Points
Coach

Q. _____ is a variable whose length may vary during the execution of a program.

  • (A) dynamic
  • (B) static
  • (C) semi static
  • (D) global

A

Admin • 833.24K Points
Coach

Q. _______ is a structure used to represent the linear relationship between elements by means of sequential memory locations.

  • (A) linked list
  • (B) array
  • (C) pointer
  • (D) stack

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