T4Tutorials .PK

NSCT – JavaScript Fundamentals MCQs

1. . JavaScript is:

(A) A scripting language used to create dynamic and interactive web content


(B) A markup language like HTML


(C) A styling language like CSS


(D) A database query language




2. . JavaScript code is usually executed in:

(A) The web browser (client-side)


(B) Only the server


(C) CPU only


(D) Memory allocation




3. . Which symbol is used to write a single-line comment in JavaScript?

(A)