Exam Tiger
APTITUDE TESTS - MENTAL ABILITY - SOLVED OBJECTIVE MCQ SETS - QUESTION ANSWER - PDF STUDY MATERIALS - SHORTCUT TIPS

PHP Programming → Page 2

PHP Programming solved MCQ sets : PHP MCQ Online Questions and Answers : PHP is the popular server-side scripting language. Knowledge of PHP language is now essential for dynamic web page development. Go through the selected list of important mcq questions on PHP with answer. ...READ MORE


INSTRUCTION: CLICK ON THE OPTION (A, B, C, D) TO MARK YOUR ANSWER.


Q.

Which of the following variables is not a predefined variable?

A.
$get
B.
$ask

C.
$request
D.
$post


Show Answer
Q.

When you need to obtain the ASCII value of a character which of the following function you apply in PHP?

A.
chr( );
B.
asc( );

C.
ord( );
D.
val( );


Show Answer
Q.

Which of the following method sends input to a script via a URL?

A.
Get
B.
Post

C.
Both
D.
None


Show Answer
Q.

Which of the following function returns a text in title case from a variable?

A.
ucwords($var)
B.
upper($var)

C.
toupper($var)
D.
ucword($var)


Show Answer
Q.

Which of the following function returns the number of characters in a string variable?

A.
count($variable)
B.
len($variable)

C.
strcount($variable)
D.
strlen($variable)


Show Answer



Advertisement


eXTReMe Tracker