Quiz
Table of Algorithms 1
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 (25)
1The breadth-first search has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
2Which of the following algorithms have a linear worst-case space complexity?
- AIterative Array Sum
- BRecursive Permutation Generator
- CRecursive Eucledian
- DRecursive Factorial
- EIterative Factorial
- FInsertion Sort
- GRecursive Tribonacci
- HRecursive Fibonacci
3The iterative Euclidean algorithm has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
4The iterative bigsum has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
5The recursive alg has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
6The A* search has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
7What is the space complexity of the AC3?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
8The iterative Bigsum has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
9The recursive Alg has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
10The recursive euclidean has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
11The tail-recursive Alg has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
12The recursive Bigsum has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
13The CSP backtracking search has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
14The selectionsort algorithm has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
15The breath-first search has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
16The bubblesort has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
17The bubblesort algorithm has which time complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
18The CSP generate-and-test has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
19The tail-recursive fibonacci has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
20The time complexity of AC3 is?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
21The depth-first search has which space complexity?
- AConstant
- BLogarithmic
- CLinear
- DSuperlinear
- EQuadratic
- FCubic
- GExponential
- HFactorial
22The recursive factorial has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
23The iterative euclidean has which space complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
24Which of the following algorithms have a superlinear average-case time complexity?
- ASelection Sort
- BInsertion Sort
- CMerge Sort
- DBubble Sort
- EQuick Sort
- FBogo Sort
25The iterative factorial has which time complexity?
- AO(1)
- BO(logn)
- CO(n)
- DO(nlogn)
- EO(n^2)
- FO(n^3)
- GO(2n)
- HO(n!)
Information
- Description
- Quiz on Table of Algorithms 1, created by j.bothwell on 20/04/2015.
- Author
- j.bothwell
- Language
- English
- Views
- 4
- Rating
- No ratings yet Rate this quiz
More on Algorithm Analysis and Complexity