Filters
Question type

Study Flashcards

A unary operator requires an operand before or after the operator.

A) True
B) False

Correct Answer

verifed

verified

The PHP Group officially recommends that you use the ____________________ PHP script delimiters to write PHP code declaration blocks.

Correct Answer

verifed

verified

Constant names, like variable names, must begin with a $.

A) True
B) False

Correct Answer

verifed

verified

All Web pages containing PHP code must have an extension of .php.

A) True
B) False

Correct Answer

verifed

verified

When you assign a NULL value to a variable, you ensure that the variable does not contain any data.

A) True
B) False

Correct Answer

verifed

verified

The ____ symbol is used to suppress any errors that might be generated by an expression to which it is prepended.


A) #
B) =>
C) @

D) B) and C)
E) A) and C)

Correct Answer

verifed

verified

When you pass a variable name to the echo statement, you must enclose the variable name in double quotation marks.

A) True
B) False

Correct Answer

verifed

verified

____ are symbols, such as the (+) symbol that are used in expressions to manipulate operands.


A) Literals
B) Operators
C) Expressions

D) All of the above
E) A) and B)

Correct Answer

verifed

verified

____________________ comments allow multiple lines of text to be added.

Correct Answer

verifed

verified

____ assignment operators perform mathematical calculations on variables and literal values in an expression and then assign a new value to the left operand.


A) Compound
B) Complex
C) Binary

D) A) and B)
E) A) and C)

Correct Answer

verifed

verified

The ____________________ PHP script delimiters omit the word PHP from the opening delimiter.

Correct Answer

verifed

verified

When using multiple arguments in a function, you must separate the arguments with a comma.

A) True
B) False

Correct Answer

verifed

verified

____________________ operands are limited to the values TRUE or FALSE.

Correct Answer

verifed

verified

The modulus operator returns the remainder left from the division of two integers.

A) True
B) False

Correct Answer

verifed

verified

The ____ function is used to create a constant.


A) create()
B) define()
C) describe()

D) All of the above
E) None of the above

Correct Answer

verifed

verified

A postfix operator is placed ____________________ a variable.

Correct Answer

verifed

verified

Constant names are always case sensitive.

A) True
B) False

Correct Answer

verifed

verified

The name you assign to a variable is called a(n) ____________________.

Correct Answer

verifed

verified

The equal sign (=)is an example of a(n) ____________________ operator.

Correct Answer

verifed

verified

Both the echo and print statements return a value of 1 if successful and 0 if not successful.

A) True
B) False

Correct Answer

verifed

verified

Showing 61 - 80 of 83

Related Exams

Show Answer