• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
What actual underlying values are represented by TRUE and FALSE?
In PHP, TRUE represents the value 1 and FALSE represents NULL, which can be thought
of as “nothing” and is output as the empty string.
What are the simplest two forms of expressions?
The simplest forms of expressions are literals (such as numbers and strings) and
variables, which simply evaluate to themselves.
What is the difference between unary, binary, and ternary operators?
The difference between unary, binary, and ternary operators is the number of
operands each requires (one, two, and three, respectively).
What is the best way to force your own operator precedence?
The best way to force your own operator precedence is to place parentheses around
subexpressions to which you wish to give high precedence.
What is meant by operator associativity?
Operator associativity refers to the direction of processing (left to right or right to
left).
When would you use the === (identity) operator?
You use the identity operator when you wish to bypass PHP’s automatic operand
type changing (also called type casting).
Name the three conditional statement types.
The three conditional statement types are if, switch, and the ? operator.
What command can you use to skip the current iteration of a loop and move on
to the next one?
To skip the current iteration of a loop and move on to the next one, use a con
tinue statement.
Why is a for loop more powerful than a while loop?
Loops using for statements are more powerful than while loops because they support
two additional parameters to control the loop handling.
How do if and while statements interpret conditional expressions of different data
types?
Most conditional expressions in if and while statements are literal (or Boolean)
and therefore trigger execution when they evaluate to TRUE. Numeric expressions
trigger execution when they evaluate to a nonzero value. String expressions trigger execution when they evaluate to a nonempty string. A NULL value is evaluated as
false and therefore does not trigger execution.