This section contains more frequently asked Data Structure and Algorithm Basic Multiple Choice Questions and Answers (MCQs) in the various competitive exams.
1. Data structure that contains a relationship between a pair of elements, this is not necessarily hierarchical in nature.
- Tree
- String
- Graph
- Array
C. Graph
2. Which of the following operations accesses each record exactly once so that certain items may be processed?
- Inserting
- Deleting
- Traversing
- Searching
C. Traversing
3. Which of the following is also called first in first out FIFO system?
- Tree
- Stack
- Queue
- Graph
C. Queue
4. Which of the following is is also called last in first out LIFO system?
- Queue
- Stack
- Graph
- Tree
D. Tree
5. Which of the following is a non linear data structure?
- Array
- Linked list
- Stack
- Graph
D. Graph
6. Which of the following involves arranging the records in a logical order?
- Merging
- Sorting
- Traversing
- Searching
B. Sorting
7. Which of the following operations combined record into different sorted files into a single sorted file?
- Sorting
- Merging
- Searching
- Inserting
B. Merging
8. Which of the following is a set of data values and associated operations that are specified accurately, independent of any particular implementation?
- Stack
- Tree
- Abstract data type
- Graph
C. Abstract data type
9. Which of the following refers to a single unit of values?
- Group item
- Data item
- Basic item
- Elementary item
B. Data item
10. Which of the following is something that has certain attributes or properties which may be assigned values?
- Field
- File
- Records
- Entity
D. Entity
11. Which of the following is the collection of records of the entities in a given entity set?
- Field
- File
- Records
- Entity
B. File
12. The values in which field uniquely determine the record in a file
- Primary key
- Secondary key
- Pointer
- Key
A. Primary key
13. In which of the following length records file records may contain different lengths?
- Fixed
- Primary
- Variable
- Entity
A. Fixed
14. Which is the logical or mathematical model of a particular organization of a data?
- Structures
- Variable
- Data structures
- Function
C. Data structures
15. Which of the following is not a primitive data structure?
- Boolean
- Integer
- Arrays
- Character
C. Arrays