Explore topic-wise MCQs in Javascript.

This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Javascript knowledge and support exam preparation. Choose a topic below to get started.

1.

WHICH_OF_THE_FOLLOWING_IS_A_FEATURE_OF_THE_HTTP_RESPONSE??$

A. Mandatory response body
B. Optional response body
C. URL being released
D. Optional set of response headers
Answer» B. Optional response body
2.

Which of the following are the features of an HTTP request?

A. URL being requested
B. Optional request body
C. Optional set of request headers
D. All of the mentioned
Answer» E.
3.

XMLHttpRequest is a ____________

A. Object
B. Class
C. Both Object and Class
D. Array
Answer» D. Array
4.

The other name for Comet is _____________

A. Server Push
B. Ajax Push
C. HTTP Streaming
D. All of the mentioned
Answer» E.
5.

Which of the below is a liberal reverse of Ajax?

A. HTTP
B. HTML
C. XML
D. Comet
Answer» E.
6.

Which of the following uses scripted HTTP?

A. XML
B. HTML
C. Ajax
D. CSS
Answer» D. CSS
7.

Which method is an alternative of the property location of a window object?

A. submit()
B. locate()
C. load()
D. write()
Answer» B. locate()
8.

Which property helps to initiate the HTTP requests?

A. request
B. location
C. send
D. write
Answer» C. send