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
.jsc
B
.js
C
.javascript
D
.jvs
Question 3
Why JavaScript is called as Lightweight Programming Language ?
A
because JS is client side scripting
B
because JS can provide programming functionality inside but up to certain extend.
C
because JS is available free of cost.
D
because we can add programming functionality inside JS
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
Server Side Scripting Language
C
None of These
D
Browser Side Scripting Language
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
JS
B
HTML
C
CSS
D
Java
There are 5 questions to complete.