Algorithms Flashcards

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

What is Abstraction?

A

Abstraction is identifying what is important and leaving out the detail that is not needed.

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

What is Decomposition?

A

Breaking a complex problem or system into parts that are easier to conceive, understand, program and maintain.

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

What is Algorithmic thinking?

A

A way of getting to a solution through a clear definition of the steps needed.

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

What is a Binary search?

A

Search a sorted array by repeatedly dividing the search interval in half. Begin with an interval covering the whole array. If the value of the search key is less than the item in the middle of the interval, narrow the interval to the lower half.

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

What is a Linear search?

A

A process that checks every element in the list sequentially until the desired element is found.

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

What is a Bubble sort?

A

Bubble sort is a sorting algorithm that works by repeatedly stepping through lists that need to be sorted, comparing each pair of adjacent items and swapping them if they are in the wrong order. This passing procedure is repeated until no swaps are required, indicating that the list is sorted.

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