data structures & algorithms Practice Questions Answers Test with Solutions & More Shortcuts

data structures & algorithms PRACTICE TEST [2 - EXERCISES]

data structures & algorithms set 1

data structures & algorithms set 2

Question : 6

The complexity of Binary search algorithm is

a) O(n)

b) O(log )

c) O(n log n)

d) None of the above

Answer: (b)

Question : 7

The post order traversal of a binary tree is DEBFCA. Find out the pre order traversal

a) ABFCDE

b) ADBFEC

c) ABDECF

d) None of the above

Answer: (c)

Question : 8

The complexity of merge sort algorithm is

a) O(n)

b) O(log n)

c) O(n log n)

d) None of these

Answer: (c)

Question : 9

The depth of a complete binary tree is given by

a) D n = n log 2 n

b) Dn = n log 2 n+1

c) D n = log 2 n

d) D n = log 2 n+1

Answer: (d)

Question : 10

In a graph if e=(u, v) means

a) e begins at u and ends at v

b) u is processor and v is successor

c) both B and C are true

d) none is true

Answer: (c)

IMPORTANT computer mcq EXERCISES

data structures & algorithms Shortcuts »

Click to Read...

data structures & algorithms set 1 Online Quiz

Click to Start..
296 data structures & algorithms based computer MCQ set 1 question answer with explanation pdf

Recently Added Subject & Categories For All Competitive Exams

SSC STENO 2024: Free Reading Comprehension MCQ Test PDF

Top Reading Comprehension English Section-wise multiple choice questions and answers, Full Mock Test Series & Online Quiz for SSC Steno Grade C & D 2024 Exam

26-Apr-2024 by Careericons

Continue Reading »

Free Percentage Questions Answers for SSC STENO 2024 Exam

Important Top Percentage Aptitude-based multiple choice questions and answers practice quiz series, Online Mock Test PDF for SSC Steno Grade C & D 2024 Exam

25-Apr-2024 by Careericons

Continue Reading »

Free Antonyms (English) MCQ Test for SSC STENO 2024 Exam

Top Antonyms General English Section-based multiple choice questions and answers, Free Full Test Series & Online Quiz PDF for SSC Steno Grade C & D 2024 Exam

24-Apr-2024 by Careericons

Continue Reading »

Free Ratio & Proportion MCQ Test for SSC STENO 2024 Exam

Top Ratio and Proportion Aptitude-based multiple choice questions and answers practice test series, Online MCQ Quiz PDF for SSC Steno (Grade C & D) 2024 Exam

23-Apr-2024 by Careericons

Continue Reading »