You can prepare effectively for Computer Science Engineering (CSE) GATE Computer Science Engineering(CSE) 2027 Mock Test Series with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: Recurrence & Searching- 1". These 10 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
The given diagram shows the flowchart for a recursive function
A(n). Assume that all statements, except for the recursive calls, have
O(1) time complexity. If the worst case time complexity of this function is
O(nα) then the least possible value (accurate up to two decimal positions) of
α is ________.
Flow chart for Recursive Function A(n).
Detailed Solution: Question 1
The recurrence relation that arises in relation with the complexity of binary search is:
Detailed Solution: Question 2
The recurrence relation
has the solution T (n) equal to
Detailed Solution: Question 3
Let
T(n) be the function defined by
Which of the following statements is true?
Detailed Solution: Question 4
Detailed Solution: Question 5
The running time of the following algorithm
Procedure A(n)
If n<=2 return (1) else return
is best described by:
Detailed Solution: Question 6
Detailed Solution: Question 7
Detailed Solution: Question 8
Consider a list of recursive algorithms and a list of recurrence relations as shown below. Each recurrence relation corresponds to exactly one algorithm and is used to derive the time complexity of the algorithm.
Which of the following is the correct match between the algorithms and their recurrence relations?
Detailed Solution: Question 9
Let T(N) be a function defined by the recurrence
Which of the following statements is TRUE?
Detailed Solution: Question 10