PHP Quiz

PHP Quiz

University

35 Qs

quiz-placeholder

Similar activities

Photoshop Terms and Controls

Photoshop Terms and Controls

9th Grade - University

38 Qs

Thinking in HTML

Thinking in HTML

University

30 Qs

Engineering Eye

Engineering Eye

University

30 Qs

Decision and Case Control Statements in C

Decision and Case Control Statements in C

University

35 Qs

Midterm Exam - Discrete Math

Midterm Exam - Discrete Math

University

35 Qs

Introduction to Computer

Introduction to Computer

University

40 Qs

TIK kelas 7, Penilaian Tengah semester

TIK kelas 7, Penilaian Tengah semester

7th Grade - University

40 Qs

C++ Internal Assessment

C++ Internal Assessment

University

40 Qs

PHP Quiz

PHP Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Niel Neri

Used 46+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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?