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

Which of the following is not the required condition for binary search algorithm

a) there must be mechanism to delete and/ or insert elements in list

b) the list must be sorted

c) there should be the direct access to the middle element in any sublist

d) none of the above

Answer: (a)

Question : 2

The memory address of fifth element of an array can be calculated by the formula

a) LOC(Array[5])=Base(Array[5])+(5-lower boun(D), where w is the number of words per memory cell for the array

b) LOC(Array[5])=Base(Array[4])+(5-Upper boun(D), where w is the number of words per memory cell for the array

c) LOC(Array[5]=Base(Array)+w(5-lower boun(D), where w is the number of words per memory cell for the array

d) None of the above

Answer: (c)

Question : 3

When representing any algebraic expression E the following uses only binary operations in a 2-tree

a) the variable in E will appear as external nodes and operations in internal nodes

b) the operations in E will appear as external nodes and variables in internal nodes

c) the variables and operations in E will appear only in internal nodes

d) None of the above

Answer: (a)

Question : 4

If every node u in G is adjacent to every other node v in G, A graph is said to be

a) Isolated

b) Complete

c) Finite

d) Strongly connected

Answer: (b)

Question : 5

Two dimensional arrays are also called

a) tables arrays

b) matrix arrays

c) both of the above

d) none of the above

Answer: (c)

IMPORTANT computer mcq EXERCISES

data structures & algorithms Shortcuts »

Click to Read...

data structures & algorithms set 2 Online Quiz

Click to Start..
297 data structures & algorithms based computer MCQ set 2 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 »