Karteikarten: Fundamentals of Algorithms and Data Structures — 24 Karten

Alle Karten

1Frage

Algorithm — definition?

Antwort

Finite sequence of elementary operations solving a problem.

2Frage

Algorithm expression — language?

Antwort

Language-independent; describes *what* to do, not *how*.

3Frage

Program — concept?

Antwort

Sequence of instructions executed by hardware to perform tasks.

4Frage

Complexity — focus?

Antwort

Measures time or resources needed, based on input size.

5Frage

Search algorithms — example?

Antwort

Binary search, sequential search, etc.

6Frage

Sorting algorithms — goal?

Antwort

Arrange data in a specific order based on keys.

7Frage

Data structures — purpose?

Antwort

Organize and store data efficiently for algorithms.

8Frage

Stack — principle?

Antwort

LIFO: Last-In-First-Out.

9Frage

Queue — principle?

Antwort

FIFO: First-In-First-Out.

10Frage

Linked list — structure?

Antwort

Nodes with data and pointer to next node.

11Frage

Binary tree — max children?

Antwort

At most two children per node.

12Frage

Graph — representation?

Antwort

Adjacency matrix or adjacency list.

13Frage

Hash function — role?

Antwort

Maps keys to table indices for quick access.

14Frage

Collision — meaning?

Antwort

Two keys hash to the same index.

15Frage

Chaining — collision resolution?

Antwort

Store colliding elements in linked lists at each slot.

16Frage

Open addressing — collision resolution?

Antwort

Find alternative slot via probing methods.

17Frage

Double hashing — method?

Antwort

Uses two hash functions for probe sequences.

18Frage

Algorithm complexity — notation?

Antwort

Big O notation describes growth rate.

19Frage

Worst-case complexity — meaning?

Antwort

Maximum time for any input of size n.

20Frage

Sequential search — complexity?

Antwort

O(n): linear in number of elements.

21Frage

Bubble sort — property?

Antwort

Elementary, stable, in-place, quadratic time.

22Frage

Data key — in records?

Antwort

Unique attribute used for identification or sorting.

23Frage

Satellite data — in records?

Antwort

Additional info linked to the key, not used for sorting.

24Frage

Array — characteristic?

Antwort

Contiguous memory, fast access, fixed size.

Teste dich mit dem Quiz

Teste dein Wissen mit 12 Fragen zu Fundamentals of Algorithms and Data Structures.

1. What is an algorithm primarily characterized as?

2. Who is the historical figure from whom the term 'algorithm' is derived?

Quiz machen →

Lernzettel lesen

Überprüfe den vollständigen Kurs im Lernzettel zu Fundamentals of Algorithms and Data Structures.

Lernzettel ansehen →

Similar courses

Erstelle deine eigenen Karteikarten

Importiere deinen Kurs und die KI erstellt in 30 Sekunden Karteikarten.

Karteikarten-Generator