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

New 100+ Compound Interest MCQ with Answers PDF for IBPS

Compound Interest verbal ability questions and answers solutions with PDF for IBPS RRB PO. Aptitude Objective MCQ Practice Exercises all competitive exams

02-Jul-2024 by Careericons

Continue Reading »

100+ Mixture and Alligation MCQ Questions PDF for IBPS

Most importantly Mixture and Alligation multiple choice questions and answers with PDF for IBPS RRB PO. Aptitude MCQ Practice Exercises all Bank Exams

02-Jul-2024 by Careericons

Continue Reading »

IBPS Profit and Loss Questions Solved Problems with PDF

Most important Profit and Loss multiple choice questions and answers with PDF for IBPS RRB PO. 100+ Aptitude MCQ Practice Exercises all competitive exams

28-Jun-2024 by Careericons

Continue Reading »

100+ Average Aptitude Questions Answers solutions MCQ PDF

New Average multiple choice questions and answers with PDF for IBPS RRB PO. 100+ Quantitative Aptitude MCQ Practice Exercises all competitive exams

28-Jun-2024 by Careericons

Continue Reading »