Data Structures and Algorithms MCQs- Multiple Choice Questions Quiz Pdf - 1
Question: 1
An index is a pair of elements comprising key and a file pointer or record number. A file in which indices are is known as ____
(A) Index file
(B) Sort file
(C) Key file
(D) None of above
Ans: A
Index file
Question: 2
A data item that can be used to distinguish between two entities (records) is known as
(A) Alternate key
(B) Primary key
(C) Primary data item
(D) Unique data item
Ans: B
Primary key
Question: 3
A data structure whose elements form a sequence is known as
(A) Heterogeneous data structure
(B) Homogeneous data structure
(C) Linear data structures
(D) Non- linear data structure
Ans: C
Linear data structures
Question: 4
Which of the following data structure is used to represent hierarchical relationship among its elements?
(A) Queue
(B) Hash table
(C) Tree
(D) Graph
Ans: C
Tree
Question: 5
Which of the following statements about a binary tree is not correct?
(A) Every binary tree has at least one node
(B) Every non-empty tree has exactly one root node
(C) Every node has at most two children
(D) Every non-root node has exactly one parent
Ans: A
Every binary tree has at least one node
- Data Structure MCQ Questions and Answers
- Data Structure Multiple Choice Questions and Answers Pdf
- Data Structure Objective Questions and Answers Pdf
- Top 150+ Data Structure Quiz Questions and Answers
- Data Structures and Algorithms Online Test
- Data Structure Lab Exam Practical Viva Questions and Answers
- Data Structures and Algorithms MCQs- Multiple Choice Questions Quiz Pdf
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
Steam and Power Generation Quiz Questions & Answers Pdf More
OS Quiz, MCQs, Online Test, Objective Type, Multiple Choice Questions More
7000+ History Objective Questions and Answers Pdf More
1000+ Design of Steel Structures Questions and Answers Pdf More
Biology Questions and Answers for High Schools Pdf More
.Net Basic Interview Questions and Answers More