Quiz
Table of Algorithms 3
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (20)
1The recursive fibonacci has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
2The recursive arraysum algorithm has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
3Which of the following algorithms have the same worst-case space complexity and worst-case time complexity?
- ARecursive Eucledian
- BSelection Sort
- CInsertion Sort
- DRecursive Factorial
- ERecursive Tribonacci
- FIterative Array Sum
- GRecursive Fibonacci
- HIterative Factorial
- ITail-Recursive Fibonacci
- JMerge Sort
4The best-first search has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
5The quicksort algorithm has worst-case space complexity of?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
6The time complexity of the A* search is?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
7The tail-recursive tribonacci algorithm has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
8The recursive arraysum algorithm has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
9The quicksort algorithm has best-case space complexity of?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
10Which of the following sorting algorithms have a superlinear average-case time complexity?
- ASelection Sort
- BInsertion Sort
- CMerge Sort
- DBubble Sort
- EQuick Sort
- FBogo Sort
11The iterative arraysum algorithm has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
12The iterative tribonacci algorithm has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
13The quicksort algorithm has worst-case time complexity of?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
14The SLD-resolution has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
15The tail-recursive tribonacci has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
16The recursive tribonacci algorithm has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
17Which of the following algorithms have a quadratic worst-case time complexity?
- ABubble Sort
- BMerge Sort
- CBogo Sort
- DBinary Tree Sort
- EInsertion Sort
- FQuick Sort
- GSelection Sort
18The iterative arraysum algorithm has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
19The best-first search has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
20The CSP backtracking search has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
Information
- Description
- Quiz on Table of Algorithms 3, created by j.bothwell on 22/04/2015.
- Author
- j.bothwell
- Language
- English
- Views
- 6
- Rating
- No ratings yet Rate this quiz
More on Algorithm Analysis and Complexity