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

Quiz

Table of Algorithms 2

j.bothwell 25 questions

Take the quiz

Questions in this quiz (25)

  1. 1The depth-first search has which time complexity?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial
  2. 2The CSP generate-and-test has which time complexity?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial
  3. 3The time complexity of the tail-recursive Alg is?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial
  4. 4The iterative fibonacci 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!)
  5. 5The recursive euclidean 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!)
  6. 6The iterative 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!)
  7. 7Which of the following algorithms have an exponential worst-case time complexity?
    1. APermutation Generator
    2. BTail-Recursive Factorial
    3. CSelection Sort
    4. DRecursive Tribonacci
    5. EQuick Sort
    6. FInsertion Sort
    7. GRecursive Eucledian
    8. HRecursive Array Sum
    9. IRecursive Fibonacci
    10. JIterative Factorial
  8. 8The insertion sort has worst case time 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!)
  9. 9The recursive fibonacci 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!)
  10. 10The recursive Bigsum has which space complexity?
    1. AConstant
    2. BLogarithmic
    3. CLinear
    4. DSuperlinear
    5. EQuadratic
    6. FCubic
    7. GExponential
    8. HFactorial

Information

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

Feedback

What is it about?

What do you think of the new look?

How do you like it?