unit 13-15 php

unit 13-15 php

University

31 Qs

quiz-placeholder

Similar activities

ИКТ Тест

ИКТ Тест

University

27 Qs

Understanding Applications

Understanding Applications

University

26 Qs

2nd grade

2nd grade

2nd Grade - University

30 Qs

Application Software

Application Software

University

26 Qs

BS IT Skills NUML 2nd Semester

BS IT Skills NUML 2nd Semester

University

30 Qs

MS Word

MS Word

12th Grade - Professional Development

36 Qs

Productivity Tools - MS Office

Productivity Tools - MS Office

6th Grade - Professional Development

30 Qs

Taxes Quiz

Taxes Quiz

University

33 Qs

unit 13-15 php

unit 13-15 php

Assessment

Quiz

Education

University

Medium

Created by

S.sakthi kumaran

Used 2+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?