CS/IT MCQ Collections

Solved MCQ on Data Structure and Algorithm set-4

Pinterest LinkedIn Tumblr

This set of MCQ on data structure and algorithm includes solved multiple-choice questions about linear and non-linear types of data structure, array and linear arrays. It also includes objective questions about indexed structures, nodes in a linked list and linear array.

1. Which of the following data structure is non-linear type?
A) Strings
B) Lists
C) Stacks
D) Tree

2. Which of the following data structure is linear type?
A) Array
B) Tree
C) Graphs
D) Hierarchy

3. 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

4. The simplest type of data structure is ………………
A) Multidimensional array
B) Linear array
C) Two-dimensional array
D) Three-dimensional array

5. Linear arrays are also called ……………….
A) Straight line array
B) One-dimensional array
C) Vertical array
D) Horizontal array

6. 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

7. Which of the following data structures are indexed structures?
A) Linear arrays
B) Linked lists
C) Graphs
D) Trees

8. Each node in a linked list has two pairs of ………….. and ……………….
A) Link field and information field
B) Link field and avail field
C) Avail field and information field
D) Address field and link field

9. A …………………… does not keep track of address of every element in the list.
A) Stack
B) String
C) Linear array
D) Queue

10. When does top value of the stack changes?
A) Before deletion
B) While checking underflow
C) At the time of deletion
D) After deletion

Answers:

1. Which of the following data structure is non-linear type?
D) Tree

2. Which of the following data structure is linear type?
A) Array

3. The logical or mathematical model of a particular organization of data is called a ………
A) Data structure

4. The simplest type of data structure is ………………
B) Linear array

5. Linear arrays are also called ……………….
B) One-dimensional array

6. Arrays are best data structures …………
A) For relatively permanent collections of data.

7. Which of the following data structures are indexed structures?
A) Linear arrays

8. Each node in a linked list has two pairs of ………….. and ……………….
A) Link field and information field

9. A …………………… does not keep track of address of every element in the list.
C) Linear array

10. When does top value of the stack changes?
D) After deletion

Read Next: MCQ of Data Structure and Algorithm with Answer set-5
Read More: Data Structure MCQ Questions
Download: Pdf E-Book Of Data Structure MCQ Questions

Author

Shuseel Baral is a web programmer and the founder of InfoTechSite has over 8 years of experience in software development, internet, SEO, blogging and marketing digital products and services is passionate about exceeding your expectations.

Comments are closed.