Programming in PHP - UNIT V

Programming in PHP - UNIT V

University

10 Qs

quiz-placeholder

Similar activities

HTTP - P5

HTTP - P5

University - Professional Development

9 Qs

PHP Module 1 Unit Test

PHP Module 1 Unit Test

University

15 Qs

WWW

WWW

University

10 Qs

Desarrollo de Aplicaciones Web II - Test 3

Desarrollo de Aplicaciones Web II - Test 3

University

5 Qs

Quiz PAW 03

Quiz PAW 03

University

12 Qs

IWP Digital Assignment 3

IWP Digital Assignment 3

University

15 Qs

Post-Test AJAX - PHP

Post-Test AJAX - PHP

University

15 Qs

Internet Basics

Internet Basics

University

15 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?