PHP

PHP

University

10 Qs

quiz-placeholder

Similar activities

DAA quiz2

DAA quiz2

University

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

MS Excel - Day 04

MS Excel - Day 04

University

10 Qs

Excel_Test_bài 1

Excel_Test_bài 1

University

15 Qs

Introduction to NumPy (easy)

Introduction to NumPy (easy)

University

10 Qs

Lourdes Amaranta Ayala Gracia

Lourdes Amaranta Ayala Gracia

8th Grade - University

10 Qs

Servlets & JSP

Servlets & JSP

University

10 Qs

cp06-01-1D-Array

cp06-01-1D-Array

University

10 Qs

PHP

PHP

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Deepan Prabu

Used 785+ times

FREE Resource

AI

Enhance your content in a minute

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

10 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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?