Quiz PHP Core

Quiz PHP Core

Professional Development

19 Qs

quiz-placeholder

Similar activities

Giz Quiz 3

Giz Quiz 3

Professional Development

20 Qs

Let's Check!

Let's Check!

12th Grade - Professional Development

15 Qs

PHP Initial Evaluation

PHP Initial Evaluation

Professional Development

20 Qs

php-get,post,session ,cookie

php-get,post,session ,cookie

Professional Development

15 Qs

Introduction to Cloud Native Fundamentals Quiz

Introduction to Cloud Native Fundamentals Quiz

University - Professional Development

15 Qs

PAI

PAI

Professional Development

20 Qs

JavaScript

JavaScript

Professional Development

15 Qs

Giz Quiz 2

Giz Quiz 2

Professional Development

20 Qs

Quiz PHP Core

Quiz PHP Core

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Đặng Kim Thi

Used 11+ times

FREE Resource

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

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?