Search Header Logo

PHP Basics

Authored by Jill Sabando

Computers

University

Used 4+ times

PHP Basics
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

30 sec • 1 pt

What does X mean in XAMPP?

Cross Form Operating System

Cross Combination of PHP and MySQL

Cross Platform Operating System

Cross Programming Languange used

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the standard format for declaring variables in PHP?

Variable names must start with a dollar sign followed by a character and a letter and must not contain spaces

Declaring a variable must start with a dollar sign, the variable name must start with a letter followed by other characters, and must not contain any spaces.

Declaring a variable must start with a dollar sign, and the variable name must start with a letter followed by other characters and contain any spaces.

Declaring a variable must start with a dollar sign, the variable name must start with followed by a character and a leter and it must contain any spaces.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What statement is used in to perform different actions and outputs based on the given inputs?

Require statement

Conditional statement

Loop statement

Include statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of array used a numeric index to access the value of the element?

Indexed Array

for each array

Associative array

Multi-dimensional Array

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What conditional statement that is composed of only one branch or block of condition?

PHP if() Statement

PHP if-else() statement

PHP if-else-if() statement

Switch Case statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What conditional statement that is used to perform different actions based on different conditions and to avoid long block of if-else-if else conditional statement?

PHP if() Statement

PHP if-else() statement

PHP if-else-if() statement

Switch Case statement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What conditional statement that is compised of two or more branch of condition but, only one branch of condition will be activated?

PHP if() Statement

PHP if-else() statement

PHP if-else-if() statement

Switch Case statement

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?

Discover more resources for Computers