Fundamental Principles and Concepts of Computing Flashcards

1
Q

a 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

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

A. Algorithm
B. QuickSort
C. Binary Search
D. MergeSort

A

B. QuickSort

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

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

A. Algorithm
B. QuickSort
C. Binary Search
D. MergeSort

A

D. MergeSort

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

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

A. Algorithm
B. Linear Search
C. Binary Search
D. MergeSort

A

C. Binary Search

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

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

A. Algorithm
B. Linear Search
C. Binary Search
D. MergeSort

A

B. Linear Search

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

Store elements of the same type & used Ideally for indexing and iterating over elements

A. Stacks
B. Arrays
C. Linked Lists
D. Queues

A

B. Arrays

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

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

A

Data Structure

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

Efficient for insertions and deletions.

A. Stacks
B. Arrays
C. Linked Lists
D. Queues

A

C. Linked Lists

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

Elements are added and removed from the same end & used for undo mechanisms in applications, parsing expressions.

A. Stacks
B. Arrays
C. Linked Lists
D. Queues

A

A. Stacks

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

Elements are added at one end and removed from the other & task scheduling, managing requests.

A. Stacks
B. Arrays
C. Linked Lists
D. Queues

A

D. Queues

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

Hierarchical data representation, search operations.

A. Queues
B. Trees
C. Graphs
D. Hash Tables

A

B. Trees

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

Consist of nodes (vertices) and edges (links) & represents networks, relationships, and dependencies.

A. Queues
B. Trees
C. Graphs
D. Hash Tables

A

C. Graphs

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

fast access to data

A. Queues
B. Trees
C. Graphs
D. Hash Tables

A

D. Hash Tables

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

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

A

Computational Complexity

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

Describes the upper bound of an algorithm’s running time or space requirements in terms of input size, helping to classify algorithms by their efficiency.

A

Big O Notation

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

Type of Big O Notation: regardless of input size.

A. Constant time [O(1)]
B. Linear time [O(n)]
C. Logarithmic time [O(log n)]
D. Quadratic time [O(n^2)]

A

A. Constant time [O(1)]

16
Q

Type of Big O Notation:
grows proportionally with input size.

A. Constant time
B. Linear time
C. Logarithmic time
D. Quadratic time

A

B. Linear time

17
Q

Type of Big O Notation: increases slowly with
input size.

A. Constant time
B. Linear time
C. Logarithmic time
D. Quadratic time

A

C. Logarithmic time

18
Q

Type of Big O Notation:
common in simple sorting
algorithms like bubble sort.

A. Constant time
B. Linear time
C. Logarithmic time
D. Quadratic time

A

D. Quadratic time

19
Q

Breaks the Main Task into a smaller task

A. Abstraction
B. Pattern Recognition
C. Decomposition

A

C. Decomposition

20
Q

Focusing on the essential details while ignoring the irrelevant ones.

A. Abstraction
B. Pattern Recognition
C. Decomposition

A

A. Abstraction

21
Q

Identifying patterns to simplify complex problems.

A. Abstraction
B. Pattern Recognition
C. Decomposition

A

B. Pattern Recognition