JavaScript MCQ : JS Basics (Multiple Choice Questions)


Question 1
Cost for Using JavaScript in your HTML is _________ .
A
$5 / Year
B
$15 / Year
C
Its Free !!!
D
$10 / Year
Question 2
JavaScript Code is written inside file having extension __________.
A
.javascript
B
.js
C
.jsc
D
.jvs
Question 3
Why JavaScript is called as Lightweight Programming Language ?
A
because JS can provide programming functionality inside but up to certain extend.
B
because we can add programming functionality inside JS
C
because JS is available free of cost.
D
because JS is client side scripting
Question 3 Explanation: 
JS is called as "Lightweight Programming Language" because it can include programming functionality but does not perform stronger operations like Java and C++.
Question 4
Choose appropriate Option(s) : JavaScript is also called as _____________.
A
Client Side Scripting Language
B
Browser Side Scripting Language
C
Server Side Scripting Language
D
None of These
Question 4 Explanation: 
JS is called as Browser/Client Side Scripting Language.
Question 5
Local Browser used for validations on the Web Pages uses __________.
A
CSS
B
HTML
C
JS
D
Java
There are 5 questions to complete.