JavaScript MCQs with answers Page - 64

Here, you will find a collection of MCQ questions on JavaScript. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833K Points
Coach

Q. JavaScript is invented by _______

  • (A) Helsinki, Linus
  • (B) W3 Group
  • (C) Brendan Eich
  • (D) James Gosling

A

Admin • 833K Points
Coach

Q. Integer Variable is declared using following syntax in JavaScript.

  • (A) int num;
  • (B) Integer num;
  • (C) integer num;
  • (D) var num;

A

Admin • 833K Points
Coach

Q. We can declare ___________ at a time. Select most appropriate option.

  • (A) One or more Variables
  • (B) More than One Variables
  • (C) One Variable Only
  • (D) None of these

A

Admin • 833K Points
Coach

Q. Spaces,Punctuation marks are called as __________ Symbols in JavaScript.

  • (A) Punctual
  • (B) Mandetory
  • (C) Special
  • (D) None of these

A

Admin • 833K Points
Coach

Q. Java Script Variable should be Case ___________.

  • (A) Non Sensitive
  • (B) Sensitive
  • (C) ---
  • (D) ---

A

Admin • 833K Points
Coach

Q. Initialization of variable can be done by writing _____ operator in between variable name and operand value.

  • (A) EQUALS
  • (B) =
  • (C) VALUE
  • (D) ==

A

Admin • 833K Points
Coach

Q. Multiple Declarations of variables are separated by ___________ symbol.

  • (A) Comma
  • (B) Semicolon
  • (C) Asterisk
  • (D) Colon

A

Admin • 833K Points
Coach

Q. Underscore can be used as first letter while declaring variable in JavaScript.

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---

A

Admin • 833K Points
Coach

Q. Variable declared inside JavaScript Function will be called as ____________.

  • (A) Local Variables
  • (B) Global Variables
  • (C) ---
  • (D) ---

A

Admin • 833K Points
Coach

Q. Local Variables are destroyed after execution of function.

  • (A) True
  • (B) False
  • (C) ---
  • (D) ---