Math (Pseudocode terms and etc) Flashcards

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

Syntax

A

Meaning

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

VARIABLE

A

Capitalized, variables store a number.

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

Display

A

Prints information to the screen.

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

Set

A

Sets a VARIABLE equal to a number.

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

Input

A

Input a number to be stored in a VARIABLE.

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

Calculate

A

Performs mathematical operations.

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

display 5

A

5

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

set NUMBER = 21

display NUMBER

A

21

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

set NUM = 12

calculate RESULT = NUM * 2

display RESULT

A

24

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

Create pseudocode that calculates the area of a rectangle:

1. The user inputs a length

2. The user inputs a width

3. Calculate the area of a rectangle

4. Output the area of the rectangle
A

input NUM1

input NUM2

calculate RESULT = NUM1 *NUM2

display RESULT

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