ITA - Week 4 Flashcards

1
Q

What is an algorithmic design strategy

A

A general approach to solving problems algorithmically that is applicable to a variety of problems from different areas of computing

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

What is the brute force algorithm strategy

A

A straightforward approach to solving a problem, usually based on the problem statement and definitons of the concepts involved

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

How to derive the time complexity of an algorithm

A

Find how many times it does basic operations

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

What is the bubble sort algorithm

A

Starting from the first element, if they are not in ascending order swap them

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

What is Exhaustive Search

A

To generate every possible element of the problem domain to find a desired element

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