PHP & Ajax

PHP & Ajax

Professional Development

15 Qs

quiz-placeholder

Similar activities

How are you doing?

How are you doing?

Professional Development

10 Qs

Révision HTML, CSS et JavaScript

Révision HTML, CSS et JavaScript

Professional Development

20 Qs

BCA - IV SEM DBMS

BCA - IV SEM DBMS

Professional Development

20 Qs

Azure Cloud computing

Azure Cloud computing

Professional Development

10 Qs

everisCodeFest 2

everisCodeFest 2

Professional Development

10 Qs

CORSO G_SUITE parte seconda

CORSO G_SUITE parte seconda

Professional Development

10 Qs

UJIAN SEMESTER II :  KKPI (TAHUN 2019-2020)

UJIAN SEMESTER II : KKPI (TAHUN 2019-2020)

Professional Development

20 Qs

HTML

HTML

Professional Development

15 Qs

PHP & Ajax

PHP & Ajax

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Hmidouche Amine

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?