adplus-dvertising

Welcome to the Javascript MCQs Page

Dive deep into the fascinating world of Javascript with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of Javascript, a crucial aspect of Web Technologies. In this section, you will encounter a diverse range of MCQs that cover various aspects of Javascript, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Web Technologies.

frame-decoration

Check out the MCQs below to embark on an enriching journey through Javascript. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Web Technologies.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of Javascript. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

Javascript MCQs | Page 8 of 11

Explore more Topics under Web Technologies

Q71.
We can declare all type of variables in JavaScript with the keyword _____________.
Discuss
Answer: (a).var
Q72.
var num;
Above Statement is called as __________ Statement.
Discuss
Answer: (c).Declaration
Q73.
Variable name contain following type of characters -

1. Alphabet
2. Digits
3. Underscore
4. Special Characters

Select the correct option.
Discuss
Answer: (d).1 2 3
Q74.
Spaces,Punctuation marks are called as __________ Symbols in JavaScript.
Discuss
Answer: (a).Special
Q75.
Which JavaScript variable cannot be used as First character but can be use after first character ?
Discuss
Answer: (d).Digit
Q76.
Initialization of variable can be done by writing _____ operator in between variable name and operand value.
Discuss
Answer: (d).=
Q77.
Multiple Declarations of variables are separated by ___________ symbol.
Discuss
Answer: (c).Comma
Q78.
var var1 = "Pritesh";
Above variable can store value of type -
Discuss
Answer: (b).String
Q79.
Guess output of the following code.
<!DOCTYPE html>
<html>
    
    <body>
        <script>
            var x = 5;
            var y = 6;
            var z = 5 + 6;

            document.write(x + "<br>");
            document.write(y + "<br>");
            document.write(z + "<br>");
        </script>
    </body>

</html>
Discuss
Answer: (a).5 6 11
Q80.
Guess output of the following code.
<!DOCTYPE html>
<html>
    <body>
        <script>
            var x = "5";
            var y = 6;
            var z = x + y;
            document.write(x + "<br>");
            document.write(y + "<br>");
            document.write(z + "<br>");
        </script>
    </body>
</html>
Discuss
Answer: (c).5 6 56

Suggested Topics

Are you eager to expand your knowledge beyond Web Technologies? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!