6.5 Developing Algorithms Using Pseudocode Flashcards
Less tham
<=
Less rhan or equal to
>
Greater than
> =
Gretaer than or equal to
==
Equal to
=
Assignment
!=
Not equal to
*
Multiply
Exponent
+
Addition (with int or float)
Concatenation (with strings)
If
Else if
Else
Branching
Switch case default
Branch depending on case
input(;
Get user inout
print()
Output to the user
for
Repeat a process for a set number of times
while
Repeaet while a condition is true
do untill
Do a loop untill a condition is true
str()
Cast to string
int()
Cast to integer
INTEGER
Whole number
Eg: 1, 2, 3, 4
REAL or FLOAT or DOUBLE
A number with a decimal point
Eg: 1.1, 1.2, 1.3, 1.4
BOOLEAN
Either True or False
CHARACTER
A single alphabetic or numeric character
Eg: ‘A’, ‘@’
STRING
A sequence of one or more characters