Search Header Logo

PHP Quiz#2

Authored by Maria Reyes

Education

11th Grade

Used 8+ times

PHP Quiz#2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A PHP script always starts and ends with _________.

<php> & </php>

<?php> & ?>

<?php & ?>

<script> & </script>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is an easy to install Apache distribution used to run HTML, PHP and MySQL files.

Edge

Sublime Text

Visual Studio Code

XAMPP

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to declare a variable in PHP?

Using var keyword then variable name

Using let keyword then variable name

Using const keyword then variable name

Using $ followed by the variable name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is a valid PHP variable name?

$_firstName

$1stname

$first name

$first-name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods displays the user's input from the form in the web browser's address bar?

GET

PASS

POST

SEND

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods has limits on the amount of information to send?

GET

PASS

POST

SEND

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

$_POST is same with $_post.

True

False

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?