An event handler is
a procedure that is used to deal with events.
Operands are inputs of the operation.
True
Boolean values are:
True and False
If A = 5 and B = 10, what is A * B equal to?
50
What is the first step in assigning a variable value?
Giving it a name
A variable can be called or referenced before it has been defined.
False
How is the NOT logical operator used to evaluate code?
It makes an operand the reverse of its actual value.
What symbol is used when assigning value to a variable?
=
How is the OR logical operator used to evaluate code?
One of the operands in this equation must match the code to return a value of true.
The only way to assign a value to a variable is by the programmer.
False
How is the AND logical operator used to evaluate code?
Both operands in this equation must match the code to return a value of true.
Which of the following is NOT a logical operator?
If(?)
What can be stored in variables?
Numbers and charcters
Variables are used to store information that will be referenced and manipulated in a computer program.
True
Both operands in this equation must match the code to return a value of true.
Logical operators
Relational operators
Arithmetic operators
How are relational operators used?
To compare two operands
How are logical operators used?
To make decisions
An event is
an action that occurs as a result of a user's action or another source.
An operator is a symbol that tells the computer:
What task to perform
A = 250; B = 325. Which of the following statements is true?
A <=B