Top 350+ Solved Web Technology MCQ Questions Answer

From 166 to 180 of 417

Q. --------Is used to show the out put or give message

a. document.write():

b. printf

c. COUT

d. none of these

  • a. document.write():

Q. For debugging purposes, you can call the ----method in the browser to displaydata.

a. document.write():

b. CONSOLE.LOG()

c. COUT()

d. none of these

  • b. CONSOLE.LOG()

Q. ----this key word is used to declared the variable in java script.

a. document.write():

b. CONSOLE.LOG

c. var

d. none of these

  • c. var

Q. -----this key word is used to declared the constant in java script.

a. document.write():

b. CONST

c. var

d. none of these

  • b. CONST

Q. ------it is assignment operator is used to not equal value.

a. document.write():

b. CONST

c. =

d. !==

  • d. !==

Q. in java script------are written with quotes. You can use single or double quotes.

a. document.write():

b. STRING

c. =

d. !==

  • b. STRING

Q. in java script------items are separated by commas.

a. document.write():

b. STRING

c. array

d. !==

  • c. array

Q. Which type of JavaScript language is ___

a. Object-Oriented

b. Object-Based

c. Assembly-language

d. High-level

  • b. Object-Based

Q. Which one of the following also known as Conditional Expression:

a. Alternative to if-else

b. Switch statement

c. If-then-else statement

d. immediate if

  • c. If-then-else statement

Q. The "function" and " var" are known as

a. Keywords

b. Data types

c. Declaration statements

d. Prototypes

  • c. Declaration statements

Q. Which of the following variables takes precedence over the others if the namesare the same?

a. Global variable

b. The local element

c. The two of the above

d. None of the above

  • b. The local element

Q. Which one of the following is the correct way for calling the JavaScript code?

a. Preprocessor

b. Triggering Event

c. RMI

d. Function/Method

  • d. Function/Method

Q. Which of the following type of a variable is volatile?

a. Mutable variable

b. Dynamic variable

c. Volatile variable

d. Immutable variable

  • a. Mutable variable

Q. the JavaScript, which one of the following is not considered as an error:

a. Syntax error

b. Missing of semicolons

c. Division by zero

d. Missing of Bracket

  • c. Division by zero
Subscribe Now

Get All Updates & News