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

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

A variable P is called pointer if

a) P points to the address of first element in DATA

b) P can store only memory addresses

c) P contain the DATA and the address of DATA

d) P contains the address of an element in DATA.

Answer: (d)

Question : 2

When new data are to be inserted into a data structure, but there is no available space; this situation is usually called

a) Housefull

b) Saturated

c) Underflow

d) Overflow

Answer: (d)

Question : 3

The following data structure store the homogeneous data elements

a) Arrays

b) Records

c) Pointers

d) None of the above

Answer: (b)

Question : 4

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

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

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)

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 »