FUNDAMENTAL PRINCIPLES AND CONCEPTS OF COMPUTING Flashcards

(34 cards)

1
Q

Set of well-defined instructions for performing a task or solving a problem.

A

ALGORITHM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Each step is clearly defined.

A

PRECISION

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An algorithm must terminate after a finite number of steps.

A

FINITENESS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Algorithms take input and produce output.

A

INPUT AND OUTPUT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Each operation is basic enough to be carried out, in principle, by a human using only paper and pencil.

A

EFFECTIVENESS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Uses divide-and-conquer to sort elements by partitioning arrays.

A

QUICKSORT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Divides the list into halves, sorts them, and merges them.

A

MERGESORT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Efficiently finds an element in a sorted list by repeatedly dividing the search interval in half.

A

BINARY SEARCH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Checks each element in a list until the target is found.

A

LINEAR SEARCH

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Specialized formats for organizing, processing, retrieving, and storing data.

A

DATA STRUCTURES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Store elements of the same type in contiguous memory locations.

A

ARRAY—>FIXED SIZE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Each element points to the next.

A

LINKED LISTS—>SINGLY LINKED LIST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Each element has pointers to both the next and previous elements.

A

LINKED LISTS—>DOUBLY LINKED LIST

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Elements are added and removed from the same end.

A

STACKS—>LIFO (Last In, First Out)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Elements are added at one end and removed from the other.

A

QUEUES—>FIFO (First In, First Out)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Each node has at most two children.

A

TREES—>BINARY TREE

17
Q

A binary tree where the left child is less than the parent node and the right child is greater.

A

TREES—>BINARY SEARCH TREE

18
Q

Consist of nodes (vertices) and edges (links).

A

GRAPHS—>DIRECTED/UNDIRECTED

19
Q

Provide fast access to data.

A

HASH TABLES—>KAY-VALUE PAIRS

20
Q

The study of the amount of resources required by an algorithm to run, typically time and space.

A

COMPUTATIONAL COMPLEXITY

21
Q

Describes the upper bound of an algorithm’s running time.

A

BIG O NOTATION

22
Q

Constant time, regardless of input size.

23
Q

Linear time, grows proportionally with input size.

24
Q

Logarithmic time, increases slowly with input size.

25
Quadratic time, common in simple sorting algorithms like bubble sort.
O(n^2)
26
Helps in selecting the most efficient algorithm for the problem and dataset size.
EFFICIENCY
27
Predicts how an algorithm performs as data scales.
SCALABILITY
28
Breaking complex problems into simpler sub-problems.
DECOMPOSITION
29
Focusing on the essential details while ignoring the irrelevant ones.
ABSTRACTION
30
Identifying patterns to simplify complex problems.
PATTERN RECOGNITION
31
Simulations, data analysis, and modeling complex systems.
SCIENCE AND ENGINEERING
32
Data processing, forecasting, and optimizing operations.
BUSINESS AND FINANCE
33
Analyzing medical data, supporting diagnostic tools, and improving patient care.
HEALTHCARE
34
Game development, animation, and virtual reality.
ENTERTAINMENT