Fundamental Of Algorithm Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Algorithm

A

Series of instruction to complete a task

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

Computer program

A

Implementation of an algorithm

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

Decomposition

A

Breaking a problem into a number of sub-problems

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

Abstraction

A

Process of removing unnecessary detail from a problem

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

Trace tables

A

Used to follow how variables change

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

Algorithm Efficiency

A

Comparison of the time that two different algorithms that both perform the task will take to complete

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

Linear search

A

Logarithm that search through an array to find a value

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

Binary search

Explain

A

Ends
Middle
Divide

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

Bubble sort

Explain

A

4 5 1 7
4 1 5 7
1 4 5 7

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

Merge sort

Explain

A

2 3 5 1 9 8 7 3
23 15 89 37
1235 3789
12335789

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