PHP Basics

PHP Basics

University

15 Qs

quiz-placeholder

Similar activities

PHP Basics

PHP Basics

University

10 Qs

PHP with MySQL quiz

PHP with MySQL quiz

University

15 Qs

CHAPTER 7 - PHP

CHAPTER 7 - PHP

University

10 Qs

Array+String

Array+String

10th Grade - University

16 Qs

quizz démarrage PHP SIO2 SLAM

quizz démarrage PHP SIO2 SLAM

University

10 Qs

Trắc nghiệm php

Trắc nghiệm php

University

20 Qs

PTS DMI

PTS DMI

12th Grade - University

10 Qs

PHP Assessment 1

PHP Assessment 1

University

14 Qs

PHP Basics

PHP Basics

Assessment

Quiz

Computers

University

Hard

Created by

Jill Sabando

Used 4+ times

FREE Resource

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

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?