Sorting Algorithms

Beschreibung

A challenging quiz to drill into your head the proper attributes for each sort as covered in COP 4531.
Talor Gannaway
Quiz von Talor Gannaway, aktualisiert more than 1 year ago
Talor Gannaway
Erstellt von Talor Gannaway vor mehr als 9 Jahre
48
0

Zusammenfassung der Ressource

Frage 1

Frage
Describe Selection Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 2

Frage
Describe Insertion Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 3

Frage
Describe Heap Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 4

Frage
Describe Quick Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 5

Frage
Describe Merge Sort for arrays
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 6

Frage
Describe Merge Sort for lists
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 7

Frage
Describe Counting Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 8

Frage
Describe Radix Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 9

Frage
Describe Bit Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort

Frage 10

Frage
Describe Byte Sort
Antworten
  • WCRT Θ(n^2)
  • WCRT Θ(n log n)
  • WCRT Θ(n)
  • ACRT Θ(n log n)
  • Best possible WCRT
  • In Place
  • Run space +Θ(n)
  • Stable
  • Not Stable
  • Comparison Sort
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Data Structures and Algorithm analysis
Bart Allen
Computer Science - Algorithms
Max Cutten
Alle Länder der Welt und ihre Hauptstädte
JohannesK
Phyikum (Biologie/ Biochemie)
anna.grillborzer0656
Fragenkatalog Wirtschaftspolitik
Isaak Roscher
Purchase -to -Pay Geschäftsprozess
zok42.com
Evolutionsfaktoren
Xenia W.
Pädagogik: Lernvokabeln zu Jean Piaget
Lena S.
WERB Uni Wien 2017/18
Denise Schmid
EC- Entwicklungspsychologie 1
Michael B
GESKO A WERB WS 2018/19
Caroline Hannah