Analysis of Algorithms and Computational Complexity Questions and Answers
Practice ModeShowing 10 of 239 questions
Q11
Which of the following statements is false ?
Answer: Option B
Q12
Which of the following sorting method is stable ?
Answer: Option A
Q13
A complete binary tree with the property that the value at each node is at least as large as the values at its children is known as
Answer: Option D
Q14
A complete binary tree with the property that the value at each node is at least as large as the values at its children is known as
Answer: Option D
Q15
In which of the following sorting algorithm the number of comparisons needed is the minimum if the items are initially in reverse order and is the maximum if the items are in order ?
Answer: Option B
Q16
Which of the following best describes sorting ?
Answer: Option C
Q17
A search procedure which associates an address with a key value and provides a mechanism for dealing with two or more values assigned to the same address is called
Answer: Option C
Q18
When key values are reals a similar data representation might be produced by using a hashing function with
Answer: Option C
Q19
A characteristic of the data that binary search uses but the linear search ignores, is the
Answer: Option A
Q20
A sort which compares adjacent elements in a list and switches where necessary is a
Answer: Option D