GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

7. Algorithm Growth Rate

Mena Sargios 15 Fragen

Quiz starten

Fragen in diesem Quiz (15)

  1. 1Algorithm analysis focuses on the ORDER of an algorithm, that is it's ____ rate function.
    1. AGrowth
    2. Bnone of the above
  2. 2Q: Which of these algorithms is faster
    1. Aa.N^2
    2. Bb.N
    3. Cc.N^2 +2N
    4. Dd.N + N
    5. Ee.a & c
    6. Ff.b & d
  3. 3what is algorithm analysis concerned with?
    1. AA.what its start points are
    2. BB,how well it handles inputs
    3. CC.how fast a program runs
    4. DD.how many times it loop
  4. 4Algorithm analysis focuses on the ORDER of an algorithm
    1. ARichtig
    2. BFalsch
  5. 5what is the name of this common growth rate O(1)?
    1. AA)factorial
    2. BB)linear
    3. CC)constant time
    4. DD)logarithmic
  6. 6If an algorithm requires f(n) time, then it is oder f(n), or O(f(n)),
    if there is a constant k such that for large values of n:
    1. Aa. f(n) >= k*f(n)
    2. Bb. f(n) = f(n^2)
    3. Cc. f(n) <= k*f(n)
    4. Dd. None of the above!
  7. 7What is the order of the function x^2 - 7x + 3?
    1. AA) O(n)
    2. BB) O(log n)
    3. CC) O(2n)
    4. DD) O(n^2)
  8. 8

    Algorithm analysis focuses more on how fast a program runs rather than how efficient the algorithm is as inputs increase.
    1. ARichtig
    2. BFalsch
  9. 9Which of the following is a reasonable conclusion from analzying an algorithm?
    1. AA. The algorithm requres 5 * N time units to solve a problem with N inputs
    2. BB. The program implementing the algorithm took 0.5 seconds to execute
    3. CC. Algorithm A requres more time units to solve a problem than B
    4. DD. The algorithm appears effecient because it looks like it would be.
  10. 10What is O(1)?
    1. AA) Logarithmic
    2. BB) Linear
    3. CC) Constant
    4. DD) None of the above

Informationen

Beschreibung
Algorithms and Data Structures | Test 3 Review | CSCI-3110-002 MTSU
Sprache
English
Aufrufe
561
Schlagwörter
mtsucsci3110
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck