ALGORITHMS Flashcards

(8 cards)

1
Q

What is an algorithm?

A

A set of steps for solving a certain problem.

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

What are the characteristics of an algorithm?

A

Finite, Precise, Unambiguous, Proper flow, Terminated.

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

What are the 3 control structures in a flow of any program?

A

Sequence, Decision, Repetition.

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

What can algorithms be expressed in?

A

Natural Language, Flowcharts, and Pseudocode.

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

What is a flowchart?

A

A visual way to show steps involved in an algorithm

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

What is pseudocode?

A

An algorithm that uses English-like phrases which can easily be converted to code.

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

Pseudocode words for input?

A

Input, Read, Get, Obtain, Store.

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

Pseudocode words for output?

A

Output, Display, Show, Print, Write.

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