
PHP Basics
Authored by gowri d
Computers
University
Used 23+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does PHP stand for?
Personal Home Page
PHP Hypertext Preprocessor
Pretext Hypertext Processor
Preprocessor Home Page
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PHP is an example of ___________ scripting language.
Server-side
Client-side
Browser-side
In-side
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following php code
< ?php
$num = 1;
$num1 = 2;
echo $num . "+". $num1 ;
?>
3
1+2
1.+.2
Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following php code?
< ?php
$num = "1";
$num1 = "2";
echo $num+$num1 ;
?>
3
1+2
1.+.2
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Statements in PHP have to end with a special character, which one?
.
,
:
;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two types of array in php
Indexed, sequence
Associative, sequence
Indexed, associative
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
$a=array("Timmy","Jimmy");
Is an example of
Indexed array
Associative array
Sequence array
None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?