www.brightbrains.in

About Us/Home              Tests On Offer              Sample Questions              FAQ              Contact US

PHP
Level:-Basic
Q(1) How do you get information from a form that is submitted using the get method?
A  $_GET[];
B   Request.Form;
C   Request.QueryString;
D   $_POST[];
Q(2) PHP allows you to send emails directly from a script.
A   True
B   False
Level:-Intermediate
Q(1) PHP code is embedded directly into _____ document.
A   XHTML
B   HTML
C   DHTML
D   HTM
Q(2) Regular expressions in PHP is _____.
A   regular expressions use Perl-like conventions
B   use the POSIX standard
C   Both A and B
D   PHP supports two different types of regular expressions: POSIX and PCRE.
Level:-Expert
Q(1)
What will be the output of the following code?
function fn (&$var)
{
$var = $var - ($var/10*5);
return $var;
}
echo fn(100);
A   100
B   50
C   98
D   Error message
Q(2) In PHP the error control operator is _______.
A   .
B   *
C   @
D   &
BACK      REGISTER NOW
About Us/Home   Terms & Conditions   Cookies Policy   Privacy Policy   FAQ   Contact Us  
   © Copyright 2017 BrightBrains