PHP & Ajax

PHP & Ajax

Professional Development

15 Qs

quiz-placeholder

Similar activities

PHP & MySQL - parte 1

PHP & MySQL - parte 1

9th Grade - Professional Development

20 Qs

Pre Test Data Center dan Password Management

Pre Test Data Center dan Password Management

Professional Development

10 Qs

Digital Marketing ||  Quiz

Digital Marketing || Quiz

Professional Development

10 Qs

Phrasal Verbs in Informatics Quiz

Phrasal Verbs in Informatics Quiz

Professional Development

15 Qs

Web application security

Web application security

Professional Development

10 Qs

UAS Android

UAS Android

Professional Development

20 Qs

Computer basics

Computer basics

KG - Professional Development

19 Qs

UJIAN SEMESTER II :  KKPI (TAHUN 2019-2020)

UJIAN SEMESTER II : KKPI (TAHUN 2019-2020)

Professional Development

20 Qs

PHP & Ajax

PHP & Ajax

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Hmidouche Amine

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the purpose of the namespace keyword in PHP ?

  • To define a new class

  • To declare a constant

  • To avoid naming conflicts between classes, functions, and variables

  • To include external files

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to check if a file exists in PHP ?

file_exists

is_file

check_file

validate_file

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a constant in PHP ?

define_constant

const

constant_define

create_constant

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is commonly used to send data in an AJAX request ?

GET

POST

PUT

DATA

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How does AJAX enable asynchronous communication with the server ?

By using synchronous requests

By refreshing the entire page

By disabling client-side scripting

By using asynchronous requests

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the $_GET superglobal variable in PHP do ?

Retrieves data sent in the request body

Retrieves data sent in the URL

Sends data to another server

Stores session data

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the include function do in PHP ?

Initiates a loop

Declares a constant

Prints text to the screen

Includes an external file in the script

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?