Kapitel 5 Flashcards

1
Q

Bottom-up methodology

A

progresses from the specific to the general.

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

Primitive

A

A building block established by computer science from which algorithm representations can be constructed.

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

Big theta notation

A

a way to classify the effectiveness of algorithms. Big theta of n squared = slow. Big theta of log n = fast, good.

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

Sequential search

A

sequentially checking of each element of a list until a match is found.

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

Foot in the door

A

Att inse att man har kunskap som man kan använda för att lösa resten av problemet

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

Stepwise refinement

A

The technique of not trying to conquer an entire task (in all its detail) at once. Rather, stepwise refinement proposes that one first view the problem at hand in terms of steps, each of which is easier to solve than the entire original problem. In turn stepwise refinement proposes that these steps be decomposed into smaller steps and these smaller steps be broken into still smaller ones until the entire problem has been reduced to a collection of easily solved subproblems.

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

Iterative structures

A

a collection of instructions is repeated In a looping manner.

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

Recursive structures

A

Whereas a loop involves repeating a set of instructions in a manner in which the set is completed and then repeated, recursion involves repeating the set of instructions as a subtask of itself.

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

Binary search

A

To repeatedly divide a list for example into two smaller pieces in such a way that the remaining search can be restricted to only one of these pieces.A divide-by-two approach known as the binary search.

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

Top-down-methodology

A

progresses from the general to the specific.

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

Algorithm

A

AN algorithm is an ordered set of unambiguous, executable steps that defines a terminating process

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

Polyas four problem solving phases

A

– 1. Understand the problem. 2. Devise a plan for solving the problem. 3. Carry out the plan. 4. Evaluate the solution for accuracy and for its potential as a tool for solving other problems.

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