Quiz
Table of Algorithms 3
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem 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
Informationen
- Beschreibung
- Quiz am Table of Algorithms 3, erstellt von j.bothwell am 22/04/2015.
- Autor
- j.bothwell
- Sprache
- English
- Aufrufe
- 6
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz
Mehr zu Algorithm Analysis and Complexity