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

Quiz

Sorting Algorithms

j.bothwell 17 questions

Take the quiz

Questions in this quiz (17)

  1. 1What is the space complexity of InsertionSort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  2. 2What is the worst-case time complexity of InsertionSort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  3. 3What is the best-case time complexity of InsertionSort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  4. 4What is the average-case time complexity of InsertionSort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  5. 5What is the best-case time complexity of Bubble Sort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  6. 6What is the space complexity of Bubble Sort?
    1. AO(1)
    2. BO(logn)
    3. CO(nlogn)
    4. DO(n)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  7. 7What is the worst-case time complexity of Bubble Sort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  8. 8What is the time complexity of Selection Sort?
    1. AO(1)
    2. BO(logn)
    3. CO(n)
    4. DO(nlogn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(2^n)
    8. HO(n!)
  9. 9What is the space complexity of Selection Sort?
    1. AO(1)
    2. BO(logn)
    3. CO(nlogn)
    4. DO(n)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(n!)
    8. HO(2^n)
  10. 10What is the average-case time complexity of Mergesort?
    1. AO(1)
    2. BO(nlogn)
    3. CO(n)
    4. DO(logn)
    5. EO(n^2)
    6. FO(n^3)
    7. GO(n!)
    8. HO(2^n)

Information

Description
Quiz on Sorting Algorithms, created by j.bothwell on 22/04/2015.
Language
English
Views
6
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?