Programming in PHP - UNIT V

Programming in PHP - UNIT V

University

10 Qs

quiz-placeholder

Similar activities

PHP Module 1 Unit Test

PHP Module 1 Unit Test

University

15 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

Module 5 & Module 6

Module 5 & Module 6

University - Professional Development

10 Qs

SGBDs NoSQL orientado a documentos

SGBDs NoSQL orientado a documentos

University

12 Qs

PHP with MySQL quiz

PHP with MySQL quiz

University

15 Qs

Introduction Of Laravel

Introduction Of Laravel

KG - University

15 Qs

Post-Test AJAX - PHP

Post-Test AJAX - PHP

University

15 Qs

kuis2

kuis2

University - Professional Development

10 Qs

Programming in PHP - UNIT V

Programming in PHP - UNIT V

Assessment

Quiz

Computers

University

Hard

Created by

MS.SHYAMALADEVI C

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does AJAX stand for?

Asynchronous Java and XML

Asynchronous JavaScript and XML

Automated Java and XML

Asynchronous JSON and XML

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript object is used to send an AJAX request?

XMLHttpRequest

AjaxRequest

HttpRequest

JSRequest

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to send a GET request using XMLHttpRequest?

xhr.open("POST", "data.php", true);

xhr.send("GET", "data.php", true);

xhr.open("GET", "data.php", true);

xhr.fetch("GET", "data.php", true);

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT an advantage of AJAX?

Reduces server load

Improves user experience

Requires page refresh for every request

Allows asynchronous data retrieval

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to handle responses in modern AJAX requests?

xhr.onload

xhr.sendResponse()

xhr.execute()

xhr.runResponse()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the readyState property in an AJAX request?

Specifies the HTTP method to use

Defines the request headers

Tracks the state of the request

Sends the request to the server

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which JavaScript method is commonly used with AJAX for sending JSON data?

JSON.parse()

JSON.stringify()

JSON.encode()

JSON.convert()

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?