PHP Test

PHP Test

KG

100 Qs

quiz-placeholder

Similar activities

Physical Education and Health 12 Prelim Exam

Physical Education and Health 12 Prelim Exam

12th Grade

100 Qs

CCHTM 1105 Midterm Exam

CCHTM 1105 Midterm Exam

University

100 Qs

CIDESCO: Misc Questions

CIDESCO: Misc Questions

University

100 Qs

Pārbaudi savu erudīciju!

Pārbaudi savu erudīciju!

6th Grade

100 Qs

AP 9 INVENTORY EXAM 2022-2023

AP 9 INVENTORY EXAM 2022-2023

9th Grade

105 Qs

General Knowledge Quiz Live

General Knowledge Quiz Live

1st - 10th Grade

100 Qs

QuiZ IPS ASEAN KELAS 6

QuiZ IPS ASEAN KELAS 6

12th Grade

100 Qs

AMT 17 REVIEWER

AMT 17 REVIEWER

1st Grade

100 Qs

PHP Test

PHP Test

Assessment

Quiz

Other

KG

Practice Problem

Hard

Created by

Programming House

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?