algorithm most important Flashcards

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

What is an algorithm?

A

An algorithm is a set of step-by-step instructions to resolve a problem.

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

What are algorithms used for?

A

Algorithms are used to plan out the solution to a problem.

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

How can an algorithm be represented?

A

An algorithm can be represented both as a flowchart and pseudocode.

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

What is a flowchart?

A

A flowchart is a diagram that represents a set of instructions.

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

What is the correct symbol for a process instruction in a flowchart?

A

A rectangle is how a process is represented in a flowchart.

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

What is the correct symbol for an input in a flowchart?A parallelogram is used to show both an input and an output in a flowchart.

A

A parallelogram is used to show both an input and an output in a flowchart.

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

What is the correct symbol for an output in a flowchart?

A

A parallelogram is used to show both an input and an output in a flowchart.

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

What links each instruction in a flowchart?

A

Each instruction is linked together with an arrow, to show the direction of flow.

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

What is the correct symbol for a decision in a flowchart?

A

A diamond is used to show a decision in a flowchart.

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

What is pseudocode?

A

Pseudocode is a way of describing a set of instructions that doesn’t use specific syntax.

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