web13

web13

Professional Development

31 Qs

quiz-placeholder

Similar activities

Quiz Mix

Quiz Mix

1st Grade - Professional Development

26 Qs

RANDOM TOPICS THE LITEERAL 7!!

RANDOM TOPICS THE LITEERAL 7!!

KG - Professional Development

26 Qs

Ngovi ELITS DJB

Ngovi ELITS DJB

Professional Development

27 Qs

SAVAGE!

SAVAGE!

Professional Development

27 Qs

candy

candy

KG - Professional Development

27 Qs

Christmas

Christmas

KG - Professional Development

27 Qs

Random

Random

8th Grade - Professional Development

27 Qs

Anime game challenge

Anime game challenge

Professional Development

27 Qs

web13

web13

Assessment

Quiz

Other

Professional Development

Practice Problem

Medium

Created by

Karthika J

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

Already have an account?