MCQ 1 JavaScript is designed for following purpose -

Correct Answer Choice A To add interactivity to HTML Pages.
See Answer

MCQ 2 Which of the following is not JavaScript Data Types?

Correct Answer Choice D float
See Answer

MCQ 3 Select all the correct option(s). State the correct place of JS Code inside HTML -

Correct Answer Choice D All of the above
See Answer

MCQ 4 Javascript is _________________ language.

Correct Answer Choice A Scripting
See Answer


MCQ 5 Select Appropriate Option(s) : JavaScript is can be written

Correct Answer Choice C not directly into HTML pages
See Answer

MCQ 6 What is the extension of javascript file

Correct Answer Choice D js
See Answer

MCQ 7 JavaScript is an _________________ language.

Correct Answer Choice B interpreted
See Answer

MCQ 8 JavaScript Code is written inside file having extension __________.

Correct Answer Choice C .js
See Answer


MCQ 9 Why JavaScript is called as Lightweight Programming Language ?

Correct Answer Choice A JS can provide programming functionality inside but up to certain extend.
See Answer

MCQ 10 Local Browser used for validations on the Web Pages uses _________________.

Correct Answer Choice B js
See Answer

MCQ 11 We can embed JS code inside HTML directly ?

Correct Answer Choice A Yes
See Answer

MCQ 12 Select all the correct option(s). State the correct place of JS Code inside HTML -

Correct Answer Choice D All of the above
See Answer


MCQ 13 Is this correct syntax to include JS Code inside HTML Page ?
<script type=\"text/javascript\">
. . . .
</script>

Correct Answer Choice A Yes
See Answer

MCQ 14 It is good programming procedure to include JS in a external sheet and make it available than writing inside HTML.

Correct Answer Choice A I Agree !!
See Answer

MCQ 15 JS code included inside head section is loaded before loading page.

Correct Answer Choice A Yes
See Answer

MCQ 16 The async attribute can be set in the following ways -

Correct Answer Choice D All of the above
See Answer


MCQ 17 _________________ attribute is used to specify the character encoding used in an external script file.

Correct Answer Choice B charset
See Answer

MCQ 18 Which of the following Attribute is used to include External JS code inside your HTML Document -

Correct Answer Choice D src
See Answer

MCQ 19 In order to Hide JS to be shown as its page content ,which Comment is Used ?

Correct Answer Choice D ----------------
---------------- //-- >
See Answer

MCQ 20 We use __________________ style comment to prevent showing Java Script as Content in the old browsers.

Correct Answer Choice D html
See Answer


MCQ 21 Which was the first browser to support JavaScript ?

Correct Answer Choice B Netscape
See Answer

MCQ 22 Which company developed JavaScript?

Correct Answer Choice A Netscape
See Answer

MCQ 23 Which of the following is true about variable naming conventions in JavaScript?

Correct Answer Choice C Both of the above
See Answer

MCQ 24 Which of the following function of String object returns the characters in a string beginning at the specified location through the specified number of characters?

Correct Answer Choice D substr()
See Answer


MCQ 25 Which of the following function of String object creates an HTML hypertext link that requests another URL?

Correct Answer Choice A link()
See Answer

MCQ 26 Which of the following is correct about features of JavaScript?

Correct Answer Choice B JavaScript is a object-based scripting language.
See Answer

MCQ 27 Choose the correct JavaScript syntax to change the content of the following HTML code.

Correct Answer Choice B document.getElementById ("knowledge").innerHTML = "knowledgeuniverseonline.com is an educational website";
See Answer

MCQ 28 What does the <noscript> tag do?

Correct Answer Choice D Enclose text to be displayed by non-JavaScript browsers.
See Answer


MCQ 29 ____________________ JavaScript statements embedded in an HTML page can respond to user events such as mouse-clicks, form input, and page navigation.

Correct Answer Choice A Client-side
See Answer

MCQ 30 What will be the output of the following JavaScript code?

int a=1; if(a!=null) return 1; else return 0;

Correct Answer Choice A 1
See Answer

NTSE, NEET, AIEEE, Olympiad & Other Competive Exams Preparation

Publish Your Article / Write for Us

Article Writing Guide/Help

Trending Questions


Advantages Of NCERT, CBSE & State Boards Solutions For All Subjects

  • All the NCERT Solutions have been prepared by academic experts having 10+ years of teaching experience.
  • They have prepared all the solutions in simple and easy language, so that each and every student can understand the concepts easily.
  • All the solutions have been explained step to step wise in details with better explainations.
  • Students can also use these question and answers for your assignments and in homework help.
  • All the solutions have been explained in detail and the answers have been compiled in a step-wise manner.
  • All the question and asnwers are commonly prepared according to the Latest Syllabus of Board Education and Guidelines.
  • Students can know about the various types of questions asked in the exams with the help of these solutions.

Top Course Categories