Fundamentals of Algorithms Flashcards

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

What is an algorithm?

A

A reusable set of instructions to solve a given problem

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

What is an advantage of decomposition?

A

It allows large teams to take apart a problem and work on it

or

It allows seemingly impossible problems to be solved by splitting them into simple tasks

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

Why is decomposition useful?

A

Because then each smaller problem can be solved individually (which is easier) before being combined

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

What is decomposition?

A

A process by which a problem is broken down into smaller sub-problems

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

What is abstraction?

A

A process that removes any unnecessary details

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