PHP

PHP

Assessment

Quiz

Computers

University

Medium

Created by

Shajeel Afzal

Used 13+ times

FREE Resource

Student preview

quiz-placeholder

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

PHP is a...

Markup language

Website

Home page

Server side programming language

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Can you run PHP on Linux?

Yes

No

In certain condition

None of above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is correct when using PHP with the script tag?

<script type="application/ecmascript">

<script type="text/javascript">

<script language="php">

All of these

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the most widely recommended way to use PHP tags?

<?

<php

<?php

None of these

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following characters indicates comments in PHP?

<!----

//

***

None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the correct syntax?

echo "(<p> Hello.</p>);

echo "<p> Hello.</p>";

echo (<p>' Hello.'</p>);

All are correct

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In the example, why did we get a PHP error?

The variable was not defined within the function

The PHP tag was not opened

A syntax error

None of above

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?