COMPUTER SCIENCE Flashcards
What is an algorithm?
set of rules / instructions to be followed by a computer system
What is a pseudocode?
Language similar to english used to plan algorithms
what is a string
a sequence of characters used to represent text
what is a float/ real
a decimal number
what is an integer
a whole number
what is a boolean
a value that is either true or false
what does ‘==’ mean
equal to
what does ‘!=’ mean
not equal to
what does ‘>’ mean
greater than
what does ‘<’ mean
less than
what does ‘>=’ meqn
greater than/equal to
what does ‘<=’ mean
less than/equal to
+
addition
-
subtraction
*
multiplication
/
division
what is a variable
a value that can change during a program
constant
a value that stays the same throughout the program
syntax error
spelling/grammar errors in the code
code
instructions that a program uses