Explore topic-wise MCQs in Javascript.

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

51.

What will happen if you set the private flag as 1??

A. Test will be run only by the administrator
B. Test will not be run
C. Test is public
D. Test is not displayed in public
Answer» E.
52.

Which is the function used to add the vectors??

A. c()
B. add(vectors)
C. c(vectors)
D. vectors.add
Answer» B. add(vectors)
53.

Which of the following are methods used to save charts??

A. pdf()
B. jpeg()
C. bmp()
D. all of the mentioned
Answer» E.
54.

What is the need for bubble charts??

A. Represent 2D data
B. Represent 3D data
C. Represent 2D and 3D data
D. None of the mentioned
Answer» C. Represent 2D and 3D data
55.

What does the value 2 of the WebSocket attribute Socket.readyState indicate??

A. Closed connection
B. Handshake connection
C. Unestablished connection
D. Established connection and communication is possible
Answer» C. Unestablished connection
56.

How can we check the subprotocol being used by the client?

A. subprotocol property
B. protocol property
C. clientprotocol property
D. none of the mentioned
Answer» C. clientprotocol property
57.

What is the usage of the keyword ? in R?

A. Help window
B. Extensive search
C. Error correction
D. Error detection
Answer» B. Extensive search
58.

What is the purpose of getting the parameter block?

A. Permission to block
B. Space separated block list
C. Comma separated block list
D. All of the mentioned
Answer» D. All of the mentioned
59.

What is the limit to matrices in R?

A. One dimensional
B. Two dimensional
C. Three dimensional
D. No limit
Answer» C. Three dimensional
60.

How many parameters does the method plot() accept?

A. 6
B. 7
C. 8
D. 9
Answer» E.
61.

What does the pushState() method do?

A. Removes the state
B. Adds new state
C. Replaces the state
D. None of the mentioned
Answer» C. Replaces the state
62.

Which type of comment is not supported in R?

A. Single-line comments
B. Multi-line comments
C. Both Single-line & Multi-line comments
D. Both Single-line & Multi-line comments
Answer» C. Both Single-line & Multi-line comments