Chapter 11: Algorithms Flashcards

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

Algorithm

A

A sequence of steps that can be carried out to perform a task

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

Structured English

A

A subset of English that consists of command statements used to describe an algorithm

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

Pseudocode

A

A way of using keyboards and identifiers to describe an algorithm without gollowing the syntax of a particular programming language

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

Flowchart

A

Shapes linked together to represent the sequential steps of an algorithm

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

4 basic constructs

A
  • Assignment
  • Sequence
  • Selection
  • Iteration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Assignment

A
  • A value is given a name (identifier)

* The value given to an identifier is changed

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

Sequence

A

A number of steps are performed, one after the other

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

Selection

A

Under certain conditions some steps are performed.

Yes or No

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

Iteration

A

A sequence of steps is performed a number of times. Also known as looping.

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

Variables

A

A storage location for a data value that has an identifier

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

Identifier table

A

A table listing the variable identifiers required for the solution, with definitions.

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

Nested IF statements

A

An IF statement within an IF statement

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