data structures & algorithms set 1 Detailed Explanation And More Example

MOST IMPORTANT computer mcq - 2 EXERCISES

Top 20,000+ Computer Memory Based Exercises

The following question based on data structures & algorithms topic of computer mcq

Questions : 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

The correct answers to the above question in:

Answer: (c)

Practice data structures & algorithms (data structures & algorithms set 1) Online Quiz

Discuss Form

Valid first name is required.
Please enter a valid email address.
Your genuine comment will be useful for all users! Each and every comment will be uploaded to the question after approval.

Read more data structures and algorithms Based Computer Questions and Answers

Question : 1

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 : 2

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 : 3

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)

Question : 4

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 : 5

The operation of processing each element in the list is known as

a) Merging

b) Inserting

c) Traversal

d) All the above

Answer: (c)

Question : 6

Each array declaration need not give, implicitly or explicitly, the information about the

a) name of array

b) data type of array

c) first data from the set to be stored

d) index set of the array

Answer: (c)

GET data structures & algorithms PRACTICE TEST EXERCISES

data structures & algorithms set 1

data structures & algorithms set 2

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 »