Data Structure and Algorithm Analysis
Questions 211 to 220
211.
|
Find
the correct sequence for the Big Oh values for all n > 2
|
||||||||||
The
q notation is
I. Reflexive.
II. Symmetric.
III. Transitive.
|
|||||||||||
Data
structure
|
|||||||||||
Modular
programming uses
|
|||||||||||
In
Knapsack problem, the best strategy to get the optimal solution, where Pi,
Wi is the Profit, Weight associated with each of the Xith
object respectively is to
|
|||||||||||
In the following weighted
graph, the length of the minimum spanning tree is
|
|||||||||||
The
time complexities of Max Min recursive and non-recursive algorithms are
|
|||||||||||
Greedy
job scheduling with deadlines algorithms’ complexity is defined as
|
|||||||||||
The
divide and conquer merge sort algorithm’s time complexity can be defined as
|
|||||||||||
In
analysis of algorithm, approximate relationship between the size of the job
and the amount of work required to do it is expressed by using
|
Answers
211.
|
Answer : (c)
Reason : O(1) < O(log n) < O(n) < O(n
log n) < O(n2) < O(n3) < O(2n)
|
Answer : (e)
Reason : (I),
(II), & (III).
|
|
Answer : (a)
Reason : may
be helpful to develop efficient algorithms in different phases of data
processing
|
|
Answer : (c)
Reason : both
a & b
|
|
Answer : (d)
Reason : Arrange
the values Pi/Xi in descending order
|
|
Answer : (e)
Reason : depends
on the starting vertex
|
|
Answer : (a)
Reason : – 1, – 2
|
|
Answer : (a)
Reason : O(N)
|
|
Answer : (d)
Reason : q (n log n)
|
|
Answer : (a)
Reason : order
of magnitude or Big - O
|
No comments :
Post a Comment