
PHP
Authored by christy jebamalar
Computers
Professional Development
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tag is used for php
<?php
?>
<style>
<php ?>
<php
/php>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two types of array in php
Indexed, sequence
Associative, sequence
Indexed, associative
None
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
$a=array("Timmy","Jimmy");
Is an example of
Indexed array
Associative array
Sequence array
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
$a=array(10=>"Jimmy",20=>"mummy");
Is an example of
Sequence array
Indexed array
Associative array
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In php the keyword to be used before function name is
Function
Static
function
FUNCTION
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function add()
{
$a=10;
echo $a;}
This is an example for
Call by value
Call by reference
None
Both
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function add(&a)
{
$a=10;
echo $a;}
$a=33;
This is an example for
Call by value
Call by reference
Both of the above
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?