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

Quiz

D-Structures and Algorithms Midterm

Upma Sharma 27 Fragen Aktualisiert am 21 Jan 2019

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (27)

  1. 1An algorithm is a step-by-step procedure for solving a problem in a finite amount of time.
    1. ARichtig
    2. BFalsch
  2. 2Algorithms (choose correct)
    1. Atransform input objects --> output objects
    2. Bruntime grows with input size
    3. CAverage case size difficult to determine, focus on WORST CASE RUN TIME
    4. DBest case size is most difficult to determine
  3. 3To compare two algorithms same hardware and software must be used. Implementing algorithms is important, but difficult.
    1. ARichtig
    2. BFalsch
  4. 4Theoretical Analysis of an algorithm
    1. Auses high level description of the algorithm instead of an implementation
    2. Bcharacterizes run time as f(x) of input size (n) and accounts for all possible inputs
    3. Cenables speed evaluation of algorithm independent of software/hardware
    4. Dunable to do speed evaluation of algorithm independent of software/hardware
  5. 5Pseudocode:
    1. Ahigh level description of an algorithm
    2. BMore structured than English prose, but less detailed than program
    3. Chides program design issues
    4. Dallows you to see program design issues.
  6. 6Primitive Operations
    1. Abasic computations performed by an algorithm
    2. Blargely independent of programming language
    3. Cassumed to take constant time in RAM model
    4. Didentifiable in pseudocode
  7. 7Growth Rate of Running Time
    1. Achanges with hardware/software
    2. BAffects T(n) by constant factor
    3. CAlters the growth rate of T(n)
    4. DDoes not alter the growth rate of T(n)
  8. 8The growth rate of an algorithm is
    1. Anot affected by constant factors
    2. Bnot affected by lower order terms
    3. Cis affected by constant factors
  9. 9Big-Oh notation: given f(n) and g(n), f(n) is O(g(n)) if positive constants c and n(v 0) such that:
    f(n) <= cg(n) for n >= n(not)
    1. ARichtig
    2. BFalsch
  10. 10Big Oh notation
    1. Agive upper bound on growth rate of fun
    2. Bfunctions are ranked according to growth rate:

Informationen

Beschreibung
Quiz am D-Structures and Algorithms Midterm, erstellt von Upma Sharma am 11/01/2019.
Sprache
English
Aufrufe
2
Verlauf
Erstellt am 11 Jan 2019 · aktualisiert am 21 Jan 2019
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck