GoConqr has a new look! Let us know what you think.

Quiz

Table of Algorithms 3

j.bothwell 20 questions

Take the quiz

Questions in this quiz (20)

  1. 1The recursive fibonacci has which time complexity?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  2. 2The recursive arraysum algorithm has which time complexity?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  3. 3Which of the following algorithms have the same worst-case space complexity and worst-case time complexity?
    1. ARecursive Eucledian
    2. BSelection Sort
    3. CInsertion Sort
    4. DRecursive Factorial
    5. ERecursive Tribonacci
    6. FIterative Array Sum
    7. GRecursive Fibonacci
    8. HIterative Factorial
    9. ITail-Recursive Fibonacci
    10. JMerge Sort
  4. 4The best-first search has which time complexity?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial
  5. 5The quicksort algorithm has worst-case space complexity of?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  6. 6The time complexity of the A* search is?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial
  7. 7The tail-recursive tribonacci algorithm has which time complexity?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  8. 8The recursive arraysum algorithm has which space complexity?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  9. 9The quicksort algorithm has best-case space complexity of?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2n)
    8. HO(n!)
  10. 10Which of the following sorting algorithms have a superlinear average-case time complexity?
    1. ASelection Sort
    2. BInsertion Sort
    3. CMerge Sort
    4. DBubble Sort
    5. EQuick Sort
    6. FBogo Sort

Information

Description
Quiz on Table of Algorithms 3, created by j.bothwell on 22/04/2015.
Language
English
Views
6
Rating
No ratings yet
Rate this quiz
Rate this quiz

More on Algorithm Analysis and Complexity

Feedback

What is it about?

What do you think of the new look?

How do you like it?