Math (Pseudocode terms and etc) Flashcards
1
Q
Syntax
A
Meaning
2
Q
VARIABLE
A
Capitalized, variables store a number.
3
Q
Display
A
Prints information to the screen.
4
Q
Set
A
Sets a VARIABLE equal to a number.
5
Q
Input
A
Input a number to be stored in a VARIABLE.
6
Q
Calculate
A
Performs mathematical operations.
7
Q
display 5
A
5
8
Q
set NUMBER = 21
display NUMBER
A
21
9
Q
set NUM = 12
calculate RESULT = NUM * 2
display RESULT
A
24
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
11
Q
A