Флашкарти: Fundamentals of Algorithms and Data Structures — 24 карти

Всички карти

1Въпрос

Algorithm — definition?

Отговор

Finite sequence of elementary operations solving a problem.

2Въпрос

Algorithm expression — language?

Отговор

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

3Въпрос

Program — concept?

Отговор

Sequence of instructions executed by hardware to perform tasks.

4Въпрос

Complexity — focus?

Отговор

Measures time or resources needed, based on input size.

5Въпрос

Search algorithms — example?

Отговор

Binary search, sequential search, etc.

6Въпрос

Sorting algorithms — goal?

Отговор

Arrange data in a specific order based on keys.

7Въпрос

Data structures — purpose?

Отговор

Organize and store data efficiently for algorithms.

8Въпрос

Stack — principle?

Отговор

LIFO: Last-In-First-Out.

9Въпрос

Queue — principle?

Отговор

FIFO: First-In-First-Out.

10Въпрос

Linked list — structure?

Отговор

Nodes with data and pointer to next node.

11Въпрос

Binary tree — max children?

Отговор

At most two children per node.

12Въпрос

Graph — representation?

Отговор

Adjacency matrix or adjacency list.

13Въпрос

Hash function — role?

Отговор

Maps keys to table indices for quick access.

14Въпрос

Collision — meaning?

Отговор

Two keys hash to the same index.

15Въпрос

Chaining — collision resolution?

Отговор

Store colliding elements in linked lists at each slot.

16Въпрос

Open addressing — collision resolution?

Отговор

Find alternative slot via probing methods.

17Въпрос

Double hashing — method?

Отговор

Uses two hash functions for probe sequences.

18Въпрос

Algorithm complexity — notation?

Отговор

Big O notation describes growth rate.

19Въпрос

Worst-case complexity — meaning?

Отговор

Maximum time for any input of size n.

20Въпрос

Sequential search — complexity?

Отговор

O(n): linear in number of elements.

21Въпрос

Bubble sort — property?

Отговор

Elementary, stable, in-place, quadratic time.

22Въпрос

Data key — in records?

Отговор

Unique attribute used for identification or sorting.

23Въпрос

Satellite data — in records?

Отговор

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

24Въпрос

Array — characteristic?

Отговор

Contiguous memory, fast access, fixed size.

Тествайте се с теста

Тествайте знанията си с 12 въпроса по 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?

Вземете теста →

Прочетете листа за преговор

Прегледайте пълния курс в листа за преговор за Fundamentals of Algorithms and Data Structures.

Вижте листа за преговор →

Similar courses

Създайте свои собствени флашкарти

Импортирайте курса си и AI генерира флашкарти за 30 секунди.

Генератор на флашкарти