Fundamentals Of Algorithms Flashcards

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

What is an algorithm

A

An algorithm is a series of steps that can be followed to complete a task.

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

What is decomposition

A

Decomposition involves the breaking down of a problem into smaller, simpler steps or stages.

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

Why do we use decomposition

A

Becous when tasks are broken down it becomes much easier to solve a problem

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

What is abstraction

A

Abstraction involves removing unnecessary details from a problem in order to solve it.

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

What is this flowchart symble
_____
(_____)

A

This is used to start of end the flowchart

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

What is this flowchart simple
_____
|_____|

A

This is a process box

For example:
Count

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

What is this flowchart simble

A

_____
/_____/
This is an input/output box

For example:
Number

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

What is this flowchart simble

/\
\/

A

This is a decision box.

It can only accept “yes” or “No”

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

What are identifiers

A

Identifiers refer to variables within a algorithm

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

What is Pseudocode

A

Pseudocode is used to write an algorithm in programming-style construction but it is not in an actual programming language.

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

What are the three construction used to Wright algorithms in pseudocode and actual code.

A

Sequence
Selection
Iteration

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

What is a sequence

A

A sequence is when the program is written

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

What is Selection

A

In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event.

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