1.
In PHP, the switch statement is used as an alternative for the ___________________________________.
2.
In PHP, which of the following keywords is used to handle the cases that are not defined with the case keyword?
3.
What is the output of the following PHP code:
<?php
$mo = "December";
switch ($mo) {
    case "July":
        echo "Summer";
        break;
    case "January":
    case "February":
        echo "Winter";
}

?>
4.
What is the output of the following PHP code:
<?php
$x = 0;
while ($x <= 7) {
    $x++;
}
echo $x;

?>
5.
What is the output of the following PHP code:
<?php
$x = 6;
if ($x == 10) {
    echo "A";
}
elseif($x > 7 && $x < 10) {
    echo "B";
}
elseif($x == 20) {
    echo "C";
} else {
    echo "D";
}

?>
6.
Which of the following HTML elements is used to collect user input from a web page?
7.
In PHP, which of the following form attributes indicates the page to which the form is submitted?
8.
What is the output of the following PHP code:
<?php
if (-100)
print "hi";
else
print "where are you";
?>
9.
Which of the following about the PHP is correct?
10.
In PHP, which of the following functions returns a string?