Deck 19: Php

ملء الشاشة (f)
exit full mode
سؤال
The relational operators can be used to compare ________.

A) integers only
B) integers and strings only
C) integers and floating point numbers only
D) integers, strings and floating point numbers
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which of the following are PHP data types

A) integers, strings and text
B) integers, floating point numbers and text
C) integers, floating point numbers and strings
D) integers, strings and text
سؤال
Arrays must be indexed with which of the following data types

A) integers only
B) either an integer or a string
C) an integer, string, or floating point number
D) either an integer or a floating point number
سؤال
Which is not a character class in PHP

A) alpha
B) digit
C) numeric
D) lower
سؤال
The regular expression a+ matches

A) the string a+
B) a string of one or more a's
C) a string of zero or more a's
D) a string with a + at the beginning
سؤال
Unlike settype, ________ does not change a variable's content-it creates a temporary copy of a variable's value in memory.

A) gettype
B) concatenation
C) caching
D) casting
سؤال
Type conversions can be performed using function ________.

A) settype
B) print
C) gettype
D) define
سؤال
GET and POST data sent to a PHP script are accessible using the ________ and ________ superglobal arrays.

A) $GET, $POST
B) $GETDATA, $POSTDATA
C) $CLIENT, $SERVER
D) $_GET, $_POST
سؤال
Function preg_match uses regular expressions to search a string for a ________.

A) character
B) digit
C) specified pattern
D) space character
سؤال
The statement $$inputName is ________.

A) referencing a variable whose name is equal to the value of $inputName
B) defining an array named $inputName
C) shorthand for typing $inputName twice
D) a syntax error
سؤال
Which of the following can be used to compare strings

A) ==
B) !=
C) < =
D) All of the above.
سؤال
Validating user input data ensures that ________.

A) data input by the user is in the correct format
B) data entered into the database is in the correct format
C) data input into the database is verified by information found on the client computer
D) All of the above.
سؤال
Which of the following is not a pre-defined function for interacting with MySQL databases

A) mysql_error
B) mysql_connect
C) mysql_fetch_record
D) mysql_fetch_row
سؤال
A cookie that lasts only until the browser is closed is called a ________ cookie.

A) session
B) persistent
C) temporary
D) timed
سؤال
The setcookie function can be called ________.

A) anytime during script execution
B) during the first statement of the script only
C) before any other output
D) None of the above.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/15
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 19: Php
1
The relational operators can be used to compare ________.

A) integers only
B) integers and strings only
C) integers and floating point numbers only
D) integers, strings and floating point numbers
D
2
Which of the following are PHP data types

A) integers, strings and text
B) integers, floating point numbers and text
C) integers, floating point numbers and strings
D) integers, strings and text
C
3
Arrays must be indexed with which of the following data types

A) integers only
B) either an integer or a string
C) an integer, string, or floating point number
D) either an integer or a floating point number
B
4
Which is not a character class in PHP

A) alpha
B) digit
C) numeric
D) lower
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
5
The regular expression a+ matches

A) the string a+
B) a string of one or more a's
C) a string of zero or more a's
D) a string with a + at the beginning
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
6
Unlike settype, ________ does not change a variable's content-it creates a temporary copy of a variable's value in memory.

A) gettype
B) concatenation
C) caching
D) casting
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
7
Type conversions can be performed using function ________.

A) settype
B) print
C) gettype
D) define
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
8
GET and POST data sent to a PHP script are accessible using the ________ and ________ superglobal arrays.

A) $GET, $POST
B) $GETDATA, $POSTDATA
C) $CLIENT, $SERVER
D) $_GET, $_POST
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
9
Function preg_match uses regular expressions to search a string for a ________.

A) character
B) digit
C) specified pattern
D) space character
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
10
The statement $$inputName is ________.

A) referencing a variable whose name is equal to the value of $inputName
B) defining an array named $inputName
C) shorthand for typing $inputName twice
D) a syntax error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which of the following can be used to compare strings

A) ==
B) !=
C) < =
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
12
Validating user input data ensures that ________.

A) data input by the user is in the correct format
B) data entered into the database is in the correct format
C) data input into the database is verified by information found on the client computer
D) All of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following is not a pre-defined function for interacting with MySQL databases

A) mysql_error
B) mysql_connect
C) mysql_fetch_record
D) mysql_fetch_row
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
14
A cookie that lasts only until the browser is closed is called a ________ cookie.

A) session
B) persistent
C) temporary
D) timed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
15
The setcookie function can be called ________.

A) anytime during script execution
B) during the first statement of the script only
C) before any other output
D) None of the above.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 15 في هذه المجموعة.