Search Header Logo

PHP Weekly Test

Authored by Devika Pachaimuthu

Computers

12th Grade

Used 1+ times

PHP Weekly Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following array represents an array with strings as index?

Numeric Array

Associative Array

Multidimensional Array

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP server scripts are surrounded by delimiters, which?

<% ... %>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the two types of array in PHP?

Associative, sequence

Indexed, associative

None

Indexed, sequence

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write "Hello World" in PHP?

echo "Hello World";

"Hello World";

Document.Write("Hello World");

print.console("Hello World");

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All variables in PHP start with which symbol?

&

$

!

@

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does PHP stand for?

Personal Hypertext Processor

Private Home Page

PHP: Hypertext Preprocessor

Page Handling Program

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

PHP is a ______ side scripting language.

browser

client

server

remote

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?