Home

Data Structure MCQ Question with Answer

Data Structure MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download Data Structure MCQ Question Answer PDF

Try Data Structure Mock Test

Question No : 36
Two main measures for the efficiency of an algorithm are

Processor and memory
Complexity and capacity
Time and space
Data and space

Question No : 37
The Average case occur in linear search algorithm

When Item is somewhere in the middle of the array
When Item is not in the array at all
When Item is the last element in the array
When Item is the last element in the array or is not there at all

Question No : 38
Which of the following data structure is not linear data structure?

Arrays
Linked lists
Both of above
None of above

Question No : 39
The elements of an array are stored successively in memory cells because

by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated
the architecture of computer memory does not allow arrays to store other than serially
both of above
none of above

Question No : 40
Which of the following data structure is linear data structure?

Trees
Graphs
Arrays
None of above

Question No : 41
When determining the efficiency of algorithm the time factor is measured by

Counting microseconds
Counting the number of key operations
Counting the number of statements
Counting the kilobytes of algorithm

Question No : 42
The complexity of linear search algorithm is

O(n)
O(log n)
O(n2)
O(n log n)

Wanna test your skill? Here are some exams we prepared for you. So if you need to test your skill just attempt any exam from bellow.

Exam Name No. Of Q Link
Computer set 1 30 Start
Computer set 2 30 Start
Computer set 3 30 Start
Computer set 4 30 Start
Computer set 5 30 Start
Computer set 6 30 Start
Computer set 7 30 Start
Computer set 8 30 Start
Computer set 9 30 Start
Computer set 10 30 Start
Computer set 11 30 Start
Computer set 12 30 Start