FUNDAMENTAL PRINCIPLES AND CONCEPTS OF COMPUTING Flashcards

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.

A

O(1)

23
Q

Linear time, grows proportionally with input size.

A

O(n)

24
Q

Logarithmic time, increases slowly with input size.

A

O(log n)

25
Q

Quadratic time, common in simple sorting algorithms like bubble sort.

A

O(n^2)

26
Q

Helps in selecting the most efficient algorithm for the problem and dataset size.

A

EFFICIENCY

27
Q

Predicts how an algorithm performs as data scales.

A

SCALABILITY

28
Q

Breaking complex problems into simpler sub-problems.

A

DECOMPOSITION

29
Q

Focusing on the essential details while ignoring the irrelevant ones.

A

ABSTRACTION

30
Q

Identifying patterns to simplify complex problems.

A

PATTERN RECOGNITION

31
Q

Simulations, data analysis, and modeling complex systems.

A

SCIENCE AND ENGINEERING

32
Q

Data processing, forecasting, and optimizing operations.

A

BUSINESS AND FINANCE

33
Q

Analyzing medical data, supporting diagnostic tools, and improving patient care.

A

HEALTHCARE

34
Q

Game development, animation, and virtual reality.

A

ENTERTAINMENT