Top 350+ Solved Web Technology MCQ Questions Answer
Q. --------Is used to show the out put or give message
a. document.write():
b. printf
c. COUT
d. none of these
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
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
Q. -----this key word is used to declared the constant in java script.
a. document.write():
b. CONST
c. var
d. none of these
Q. -------it is assignment operator is used to assign value from right hand side to lefthand side .
a. document.write():
b. CONST
c. =
d. none of these
Q. ------it is assignment operator is used to not equal value.
a. document.write():
b. CONST
c. =
d. !==
Q. in java script------are written with quotes. You can use single or double quotes.
a. document.write():
b. STRING
c. =
d. !==
Q. in java script------items are separated by commas.
a. document.write():
b. STRING
c. array
d. !==
Q. Which type of JavaScript language is ___
a. Object-Oriented
b. Object-Based
c. Assembly-language
d. High-level
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
Q. The "function" and " var" are known as
a. Keywords
b. Data types
c. Declaration statements
d. Prototypes
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
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
Q. Which of the following type of a variable is volatile?
a. Mutable variable
b. Dynamic variable
c. Volatile variable
d. Immutable 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