PHP Quiz

PHP Quiz

University

35 Qs

quiz-placeholder

Similar activities

Python

Python

KG - Professional Development

35 Qs

Cloud Computing

Cloud Computing

University

35 Qs

IOT_SARS

IOT_SARS

University

40 Qs

Boolean Algebra

Boolean Algebra

University

39 Qs

data mining

data mining

University

30 Qs

Database Management Systems - Final Examination

Database Management Systems - Final Examination

University

30 Qs

QUIZ 1 - HTML & Javascript

QUIZ 1 - HTML & Javascript

University

30 Qs

Machine Learning Fundamentals Unit - 1

Machine Learning Fundamentals Unit - 1

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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?