web13

web13

Professional Development

31 Qs

quiz-placeholder

Similar activities

Paratha Pizza

Paratha Pizza

Professional Development

29 Qs

election 2023

election 2023

Professional Development

30 Qs

Animal Facts

Animal Facts

KG - Professional Development

26 Qs

DE THI TOAN NANG CAO SO 01

DE THI TOAN NANG CAO SO 01

1st Grade - Professional Development

26 Qs

Minecraft

Minecraft

1st Grade - Professional Development

26 Qs

6PM GENSHIN QUIZ

6PM GENSHIN QUIZ

KG - Professional Development

30 Qs

DC Universe

DC Universe

3rd Grade - Professional Development

27 Qs

Leadership Communication 1

Leadership Communication 1

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()

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?