unit 13-15 php

unit 13-15 php

University

31 Qs

quiz-placeholder

Similar activities

EC8451 EMF - UNIT - II  (ELECTROSTATICS)

EC8451 EMF - UNIT - II (ELECTROSTATICS)

University

30 Qs

EC8451 EMF - UNIT - V (PLANE ELECTROMAGNETIC WAVES)

EC8451 EMF - UNIT - V (PLANE ELECTROMAGNETIC WAVES)

University

30 Qs

AC vs DC and Single Phase vs Three-phase

AC vs DC and Single Phase vs Three-phase

University

35 Qs

Jeep 4 long quiz

Jeep 4 long quiz

University

26 Qs

Economics

Economics

10th Grade - University

27 Qs

Social Work Fin ComArts

Social Work Fin ComArts

University

27 Qs

Direct Method-Book5-M3

Direct Method-Book5-M3

4th Grade - Professional Development

28 Qs

CTET/TET

CTET/TET

University

30 Qs

unit 13-15 php

unit 13-15 php

Assessment

Quiz

Education

University

Practice Problem

Medium

Created by

S.sakthi kumaran

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All PHP code, must be contained within ________  tags

<?php ... php?>

<?php ... ?>

<php ... >

<%php ... %>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP _________ is a statement that returns a value to the statement that called the function.

get statement

return statement

value statement

request statement

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following PHP code?

<?php

function a()

{

function b()

{

echo “I am b”;

}

echo “I am a”;

}

b();

a();

?>

 I am b

I am bI am a

Error

 I am a

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Global data can be accessed from inside a function using _______ keyword in PHP.

local

public

global

protected

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The _________ functions also known as closures in PHP.

Anonymous

global

self

defined

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When a function returns FALSE in PHP, _______function is used to print error message.

die()

error()

unset()

clear()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function opens a file in PHP?

fopen()

open()

fop()

file_open()

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?