PHP Quiz

PHP Quiz

University

35 Qs

quiz-placeholder

Similar activities

OOP-Code

OOP-Code

University

34 Qs

PHP Quiz

PHP Quiz

University

31 Qs

PHP

PHP

University

31 Qs

NSIC Technical Services Centre

NSIC Technical Services Centre

University

40 Qs

Cyber Quiz

Cyber Quiz

University

30 Qs

APP DEV (Short Quiz # 2)

APP DEV (Short Quiz # 2)

University

30 Qs

IM1_Integrative Programming_LQ2

IM1_Integrative Programming_LQ2

University

37 Qs

Coding Club_SNSCE Quiz (28-04-2023)

Coding Club_SNSCE Quiz (28-04-2023)

University

30 Qs

PHP Quiz

PHP Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Niel Neri

Used 46+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Media Image

Which of the following is correct about PHP?

PHP is a recursive acronym for "PHP: Hypertext Preprocessor".

PHP is a server side scripting language that is embedded in HTML.

It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.

All of the above.

2.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Which of the following is correct about PHP?

PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them.

PHP can handle forms, i.e. gather data from files, save data to a file, thru email you can send data, return data to the user.

You add, delete, modify elements within your database thru PHP.

All of the above.

3.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Is PHP whitespace sensitive?

true

false

4.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Media Image

What is the output of this code?

The number is incorrect.

False

True

The number is 1

5.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Which of the following is true about php variables?

All variables in PHP are denoted with a leading dollar sign ($).

The value of a variable is the value of its most recent assignment.

Variables are assigned with the = operator, with the variable on the left-hand side and the expression to be evaluated on the right.

All of the above.

6.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Which of the following type of variables are whole numbers, without a decimal point, like 4195?

Integers

Double

Boolean

Strings

7.

MULTIPLE CHOICE QUESTION

10 sec • 20 pts

Which of the following type of variables are floating-point numbers, like 3.14159 or 49.1?

Integers

Double

Boolean

Strings

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?