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

Quiz

Final Practice

top base 28 questions

Take the quiz

Questions in this quiz (28)

  1. 1What operators must exist for an iterator class to be considered a bidirectional iterator? (Select all that apply.)
    1. A++
    2. B--
    3. C==
    4. D!=
    5. E*
  2. 2What operators must exist for an iterator class to be considered a random access iterator? (Select all that apply.)
    1. A++
    2. B--
    3. C==
    4. D!=
    5. E*
    6. F-
    7. G+
    8. H+=
    9. I>
    10. Jjust select all of them except for pointer
  3. 3What operators must exist for an iterator class to be considered a Forward iterator? (Select all that apply.)
    1. A++
    2. B--
    3. C!=
    4. D==
    5. E*
    6. F+=
    7. G-=
  4. 4What is the Value returned by fsu::g_lower_bound(0,10,G)?Image for question 4
    1. A2
    2. B3
    3. C4
    4. D1
    5. E0
  5. 5Question in PictureImage for question 5
    1. A5
    2. B6
    3. C7
    4. D8
    5. E9
  6. 6question in pictureImage for question 6
    1. A7
    2. B8
    3. C9
    4. D10
    5. E0
  7. 7The algorithm fsu::g_min_element(Iterator b, Iterator e, const T& t) (sequential search) has asymptotic runtime (choose the best answer)
    1. AO(n)
    2. BO(1)
    3. CTheta(n)
    4. DThetalog(n)
  8. 8The algorithm fsu::g_pop_heap(Iterator b, Iterator e) has asymptotic runtime (choose the best answer)
    1. AO(log n)
    2. BO(n)
    3. CTheta(log n)
    4. DTheta(n)
  9. 9question in pictureImage for question 9
    1. AO(n)
    2. BTheta(n)
    3. CO(log n)
    4. DTheta(log n)
  10. 10pictureImage for question 10
    1. AΘ(log n)
    2. BO(log n)
    3. CO(1)
    4. DΘ(1)

Information

Description
Computer Science Quiz on Final Practice, created by top base on 05/08/2016.
Author
top base
Language
English
Views
0
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?