Search Header Logo

PHP - Quiz#1

Authored by Christian Aquino

Computers

12th Grade

Used 22+ times

PHP - Quiz#1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is a PHP statement that is used to output text and has a return value of 1 if executed successfully.

echo

println

print

cout

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In PHP, statements may be written in either upper or lowercase. Echo, echo, and ECHO are all the same.

True

False

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

PHP statements end with this symbol.

;

?>

)

Both A&B

None of the Above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

It is a PHP statement that is used to output text, can accept multiple arguments and has no return value if executed successfully.

echo

println

print

cout

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In PHP, white space or end of lines are noticeable. It does not not continue reading the statement if multiple white spaces are encountered.

True

False

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid comment in PHP?

/*

//

#

Both A&B

All of the Above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a prefix identifier of a PHP variable?

@

#

$

!

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?