Exam 1: Getting Started With Php

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

In PHP programming, you can only use TRUE or FALSE to indicate Boolean values.

(True/False)
4.7/5
(41)

Logical operators are used for comparing two ____ operands for equality.

(Multiple Choice)
4.9/5
(45)

A(n) ____________________ is a set of data represented by a single variable name.

(Short Answer)
4.7/5
(39)

The ____ function tests whether a variable contains a numeric data type.

(Multiple Choice)
4.8/5
(35)

A comparison operator returns a Boolean value of TRUE or FALSE after two operands have been compared.

(True/False)
4.9/5
(44)

Array names are often referred to with the array operators [ and ] at the end of the name to clearly define them as arrays.

(True/False)
4.8/5
(34)

$_ABC1 is a valid variable identifier.

(True/False)
4.9/5
(30)

One way to ensure that a variable is of the correct data type is through type ____.

(Multiple Choice)
4.8/5
(40)

In PHP, you are limited to ten (10) code blocks in a single page.

(True/False)
4.8/5
(32)

Data types that can be assigned only a single value are called ____ types.

(Multiple Choice)
4.7/5
(31)

____ are positive and negative numbers and 0 with no decimal places.

(Multiple Choice)
4.9/5
(36)

The ____ operator uses the % symbol to find the remainder of integer division.

(Multiple Choice)
4.8/5
(33)

A(n) ____________________ is a static value such as a string or a number.

(Short Answer)
4.9/5
(35)

A(n) ____________________ string is text that is contained within double or single quotation marks.

(Short Answer)
4.9/5
(36)

It is a good practice to name all Web files with a .php extension even if they contain no PHP code.

(True/False)
4.8/5
(34)

A text string can be contained in either double or single quotation marks.

(True/False)
4.9/5
(35)

A(n) ____ is an element's numeric position within an array.

(Multiple Choice)
4.8/5
(39)

____ are lines you place in your code that do not get executed but provide helpful information such as the name of the script, your name and the date your created the program.

(Multiple Choice)
4.9/5
(40)

You can use parentheses with expressions to change the associativity in which individual operations in an expression are evaluated.

(True/False)
4.8/5
(36)

____________________ operators are used to determine how one operand compares to another.

(Short Answer)
4.8/5
(42)
Showing 21 - 40 of 83
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)