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
51
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
Sozialpsychologie
jtefert
Architektur und Kunstgeschichte 1 Bilder
Elif Chiquet
Grundlagenwissen DaZ
p s
Unfallversicherung
Christine Zehnder
Korre - mögliche Fragen
Anna c.
Vetie Immunologie 168-196
verena be
Gesko Werb Fragen
Adrienne Tschaudi
AVO 2017
Schmolli Schmoll