Important JavaScript Questions & Answers Mcqs

JavaScript MCQs

In this article, we are providing the Most important JavaScript MCQs which are beneficial to all students to prepare for all exams. it’s very useful to prepare for interviews in IT departments.  In this part, we are focus on the javaScript Statements MCQs

1. Why we use a type of Operator in Javascript?
A. check datatype
B. check operator
C. both A and B
D. None

2. JavaScript data types are ………
A. Dynamic
B. Script type
C. none
D. Both A and B

3. How to use the Typeof operator in JS?
A. console.log(typeof age);
B. alert(typeof age);
C. Both A and B
D. None

4. Statement is also known as…..
A. Instructions
B. Operator
C. Variable
D. Data Types

5. Every instruction in JavaScript Execute as…..
A. Line by Line
B. As a Whole
C. Both A and B
D. None

6. Every statement in JavaScript Separated by…….
A. Semicolon (;)
B. Underscore(_)
C. Colons(:)
D. Dashes(-)

7. Is we used Multiple statements in a single line of code in JS?
A. Yes
B. NO
C. None

8. In this line of code we can use……… statements.
                var a= 10; var b= 20; var c= a+b;
A. 1 Statement
B. 2 Statement
C. 3 Statement
D. None of these

9. Why we use Alert in JavaScript?
A. Alert Box
B. Focus on the window
C. Both A and B
D. None

10. Is we execute statement in javascript without Semicolon(;)
A . True
B. False
C. None


Next

Leave a Comment

Your email address will not be published.