Top 350+ Solved Data Structure and Algorithms (DSA) MCQ Questions Answer
Q. The selection sort is basically a method of repeated
a. interchange
b. searching
c. position adjustment
d. none of these
Q. In selection sort of n elements,how many times is the swp function called in the complete execution of the algorithm?
a. 1
b. n-1
c. n(n-1)/2
d. none of these
Q. a-> is systematically correct if_____
a. a is a pointer to a structure in which b is a field
b. a and b are structure
c. a is a structure and b is a pointer to a structure
d. a is a pointer to a structure and b is a structure
Q. The result of 0001 1010 & 0000 1000 is ___
a. 0001 1111
b. 1111 0001
c. 0000 1000
d. none of these
Q. The result of i)true AND false II)false or false
a. i)is true and ii)is true
b. i)is true and ii)is false
c. i)is false and ii)is true
d. i)is false and ii)is false