Module 2 Flashcards
Arithmetic operator?
A symbol used to carry out a computation.
What are the arithmetic operators?
+, = /, *, %
What are the comparative operators?
> =, ==, !=
What are the evaluation operators?
and, or, not.
Expression?
A combination of values that are computed by the computer.
Operand?
The number that is being dealt with in a methematical operation.
Ex: 5 + 6. 5 and 6 are the operand and = is the operator.
Data type?
The data type of a data says two things about it:
- The kind of information.
- The thing you can do with it.
Subscripts?
Text written below a line.
What subscripts can be used for?
To indicate the base number system.
What are the benefits of the hexadecimal number system?
- You can display large numbers with fewer characters.
- Easily translatable into binary.
For what hexadecimals are commonly used in computers?
To specify the name of a computer memory address.
Number system formula?
DIGIT * BASE ^ position.
State?
The condition of a person or thing.
Stateless program?
A program that don’t remenber prior events.
Ex: a longin page that don’t remember your username.
Stateful program?
It will have a mechanism for keeping track of events as the program is used.