Top 80+ Solved JavaScript MCQ Questions Answer

From 31 to 45 of 67

Q. Which one of the following is not considered as "statement" in the JavaScript?

a. use strict

b. debugger

c. if

d. with

  • a. use strict

Q. A collection of elements of the same data type which may either in order or not,is called _____.

a. String

b. Array

c. Serialized Object

d. Object

  • b. Array

Q. Is JavaScript a case-sensitive language?

a. true

b. false

c. can not say

d. none of these

  • a. true

Q. JavaScript is ______ Side scripting language.

a. Server

b. Client

c. ISP

d. Browser

  • d. Browser

Q. . The behaviour of the document elements can be defined by

a. Using document object

b. Registering appropriate event handlers

c. Using element object

d. All of the mentioned

  • b. Registering appropriate event handlers

Q. The service(s) that enables networking through scripted HTTP requests is

a. XMLHttpResponse

b. XMLRequest

c. XMLHttpRequest

d. All of the mentioned

  • c. XMLHttpRequest

Q. The HTML5 specification includes

a. Data storage

b. Graphics APIs

c. Other APIs for web apps

d. All of the mentioned

  • d. All of the mentioned

Q. Which of the following are not advanced services?

a. Data storage

b. Networking

c. XMLHttpRequest object

d. None of the mentioned

  • d. None of the mentioned

Q. JavaScript code between a pair of “script” tags are called

a. Non-inline

b. External

c. Referenced

d. Inline

  • d. Inline

Q. Client-side JavaScript code is embedded within HTML documents in

a. A URL that uses the special javascript:encoding

b. A URL that uses the special javascript:stack

c. A URL that uses the special javascript:protocol

d. A URL that uses the special javascript:code

  • c. A URL that uses the special javascript:protocol

Q. What is the programming philosophy that argues that content and behaviourshould as much as possible be kept separate?

a. Unobtrusive JavaScript

b. Obtrusive JavaScript

c. Inherited JavaScript

d. Modular JavaScript

  • a. Unobtrusive JavaScript

Q. Which of the following communicates with server-side CGI scripts through HTMLform submissions and can be written without the use of JavaScript?

a. Static Web Pages

b. Interactive Web Pages

c. Conditional Web Pages

d. None of the mentioned

  • b. Interactive Web Pages
Subscribe Now

Get All Updates & News