




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





FALSE - ANSWERThe source code for PHP can be viewed in the client browser. FALSE - ANSWERBoth the echo and print statements return a value of 1 if successful and 0 if not successful. TRUE - ANSWERWhen you assign a NULL value to a variable, you ensure that the variable does not contain any data. FALSE - ANSWERA function must contain a parameter. TRUE - ANSWERA return statement is a statement that returns a value to the statement that called the function. FALSE - ANSWERAll text strings must begin and end with double quotation marks TRUE - ANSWERPlacing a backslash in front of an apostrophe tells the PHP scripting engine that the apostrophe is to be treated as a regular keyboard character. TRUE - ANSWERThe strchr() function or strrchr() function return a substring from the specified characters to the end of the string
TRUE - ANSWERThe explode() function splits a string into an indexed array at a specified separator FALSE - ANSWERThe escape sequence \ inserts a comment.
RANGE INDICATOR - ANSWERTo include a literal hyphen (-) in a character before the closing bracket or it will interpreted as a ___. \W - ANSWERPCRE includes special character types, such as the _____ expression to allow any alphanumeric characters and the underscore character. OR - ANSWERTo allow a string to contain an alternate set of substrings, you separate the strings in a regular expression pattern with the pipe (|) metacharacter, which is similar to the _____ operator. TRUE - ANSWERAll Web pages containing PHP code must have an extension of .php. TRUE - ANSWERWhen using multiple arguments in a function, you must separate the arguments with a comma. TRUE - ANSWERData types that can be assigned only a single value are called primitive types. FALSE - ANSWERFunctions are placed within parentheses that follow a parameter name. FALSE - ANSWERLike variables, function names are case sensitive. FALSE - ANSWERYou will not receive an error if you attempt to use a foreach statement with any variable types other than arrays.
TRUE - ANSWERThe concatenation assignment operator (.=) combines two text strings. TRUE - ANSWERThe syntax for the strtok() function is $variable=strtok(string, separators); TRUE - ANSWERWhen using the variable name as an index for the $GLOBALS array, you omit the leading dollar sign from the name. TRUE - ANSWERThe value of the method attribute will be either post or get. FALSE - ANSWERWhen the form data is submitted using the get method, the form data is appended to the URL specified in the form's method attribute. STRTOUPPER() - ANSWERThe ____ function converts all of the letters in a string to capital letters. INITIALIZING - ANSWER___ a variable is the processing of assigning a first value to a variable. CASTING - ANSWEROne way to ensure that a variable is of the correct data type is through type ____. ERROR MESSAGE - ANSWERWhat will be returned if you use a local variable outside the function in which it is declared?
STRIPSLASHES() - ANSWERThe ____ function is used to reverse the changes made by magic quotes or the addslashes() function. INTERNET MESSAGE FORMAT - ANSWERThe additional_headers argument needs to be formatted to conform to the syntax of headers in the ____ documentation. $_REQUEST - ANSWERThe ____ autoglobal can be used to access the result from form data sent with both the get and post methods. DECLARING - ANSWERThe process of specifying and creating a variable name is called ____________________ the variable. BOOLEAN - ANSWER____________________ operands are limited to the values TRUE or FALSE FUNCTIONS - ANSWERGroups of statements you can execute as a single unit are called ____________________. DEFINITION - ANSWERThe function ____________________ is the lines of code that make up a function WHILE - ANSWERA ____________________ statement keeps repeating until its conditional expression evaluates to FALSE. FIRST - ANSWERThe ucfirst() function and the lcfirst() function only change the ____________________ character of a string.
ONE WAY - ANSWERA()n) ____________________ hash is a fixed length string based on the entered text from which it is almost impossible to determine the original text. TOKENS - ANSWERThe strtok() function is used to break a string into smaller strings, called ____________________. 0 - 255 - ANSWERASCII values range from ____________________. NUMBER - ANSWERThe strncmp() function and the strncasecmp() function contain a third argument specifying the ____________________ of characters to compare in the string. AUTOGLOBALS - ANSWER____________________ or superglobals are predefined global arrays that contain client, server, and environment information that you can use in your scripts. ACTION - ANSWERThe ____________________ attribute in the opening tag identifies the program on the Web server that will process the form data when the form is submitted.