Quiz PHP Core

Quiz PHP Core

Professional Development

19 Qs

quiz-placeholder

Similar activities

STIN (EM24) - Cadena de valor (T8)

STIN (EM24) - Cadena de valor (T8)

University - Professional Development

20 Qs

Video games

Video games

3rd Grade - Professional Development

20 Qs

Office 365 & Services

Office 365 & Services

Professional Development

20 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

Javascript basics

Javascript basics

Professional Development

15 Qs

Keyboard Types

Keyboard Types

Professional Development

16 Qs

4.6.4 Logic Gates

4.6.4 Logic Gates

10th Grade - Professional Development

15 Qs

Quiz PHP Core

Quiz PHP Core

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Đặng Kim Thi

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

30 sec • 5 pts

Which of the following is correct about determine the "truth" of any value not already of the Boolean type?

If the value is a number, it is false if exactly equal to zero and true otherwise.

If the value is a string, it is false if the string is empty (has zero characters) or is the string "0", and is true otherwise.

Values of type NULL are always false.

All of the above.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is correct about NULL?

NULL is a special type that only has one value: NULL.

The special constant NULL is capitalized by convention, but actually it is case insensitive.

Both of the above.

None of the above.

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following magic constant of PHP returns class name?

LINE

FILE

FUNCTION

CLASS

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following function is used to get environment variables in PHP?

search()

environment()

env()

getenv()

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

If there is any problem in loading a file then the require() function generates a warning but the script will continue execution.

true

false

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is used to access session variables in PHP?

session_start() function

$_SESSION[]

isset() function

session_destroy() function

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?