CCS0043 Fa2
CCS0043 Fa2
25. if(expression) {
statement…
} else {
statement
}
How many condition/s
Script tag
Group of answer choices
</scr>
<scrpt>
</sct>
</script>
Extension name for php files
Group of answer choices
.p
.hp
.ph
.php
PHP created 1994/1995 t know how many visitors were reading his online resume based
on
Group of answer choices
CSS page
HTML page
PERL/CGI script
JavaScript page
Who develops PHP?
Rasmus Lefdor
Rasmus Lerdorf
Ramus Lerdorf
Ramus Lerdof
$ inside “ and “ are interpreted as variables thus it will display the value rather than the
string that starts with $.
Group of answer choices
False
True
break statement is placed within the code of a loop to cause the program to break out of
the loop statement.
$m=3;
switch($m){
case 1: echo “May”; break;
case 2: echo “June”; break;
case 3: echo “July”; break;
default: echo “invalid”; break;
}
What is the output if $m is one?
$x=15;
Echo --$x;
What is the output?
Group of answer choices
13
14
15
16
Symbol for modulus
Group of answer choices
M
$
^
%
What is OS?
Group of answer choices
Outgoing System
Operating System
Out System
Operation System
PHP 5 vastly improved
Group of answer choices
Object Oriented capabilities
Designing
Scripting
Coding
$x=10;
Echo ++$x;
What is the output?
Group of answer choices
13
14
12
11
$s=90;
if($s==80 && $s<90) {
echo “Rank B”;
} else if($s>90){
echo “Rank A”;
}else{
Echo “Rank C”;
}
What is the output if $s=50?