Which of the following is a format used for data exchange between web servers and clients, often used in AJAX? MCQ with Answer and Explanation

Which of the following is a format used for data exchange between web servers and clients, often used in AJAX?
A. XML
B. HTML
C. SQL
D. CSS
Answer: Option A
Solution (By JKSSB Mock Tests)
XML (eXtensible Markup Language) and JSON are commonly used for data interchange in AJAX. However, XML is the 'X' in AJAX, though JSON is now more prevalent.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which internet protocol layer is responsible for routing data packets across multiple networks from the source computer host to the destination host?
A. Network Layer
B. Physical Layer
C. Data Link Layer
D. Application Layer

Correct Answer: Option A


Explanation:
The Network Layer (or Internet layer in TCP/IP) manages packet routing, logical addressing, and path determination using protocols like IP.

This question belongs to: Computer Internet and Web Technologies
Question #2
What is the function of the 'autofocus' attribute in an HTML input field?
A. To validate the input automatically
B. To clear the input value
C. To automatically give focus to the input when the page loads
D. To set the input to read-only

Correct Answer: Option C


Explanation:
The autofocus attribute indicates that the input should automatically receive focus when the page loads, improving usability.

This question belongs to: Computer Internet and Web Technologies
Question #3
What is the function of the 'User-Agent' string sent inside an HTTP request header to a remote web server?
A. To transmit the user's encrypted master system password
B. To identify the specific browser application, version, and operating system of the client to the server
C. To specify the physical routing coordinates of the local ISP link
D. To check local hardware device temperature metrics

Correct Answer: Option B


Explanation:
The User-Agent header string acts as a technical badge, telling the web server what browser software and operating system the client is using so it can tailor content compatibility.

This question belongs to: Computer Internet and Web Technologies