Aitt MCQ Javascript
Aitt MCQ Javascript
2) When a user views a page containing a JavaScript program, which machine actually
executes the script?
A ) The User's machine running a Web browser
B ) The Web server
C ) A central machine deep within Netscape's corporate offices
D ) None of these
7) . ………….. tag is an extension to HTML that can enclose any number of JavaScript
statements.
A ) <SCRIPT> B) <BODY>
C ) <HEAD> D) <TITLE>
12. What is the correct syntax for referring to an external script called "abc.js"?
A ) <script href= "abc.js"> B ) <script name..." abc.js">
C ) <script src= "abc.js"> D ) None of these
15) Which tag is used to insert a Java script into an HTML page?
A <script= 'java'>
B <Java script>
C <Script>
D <js>
17) Which loop will execute the code block once before checking the condition?
A For loop
B For / in loop
C While loop
D Do while loop
24) Which operator in Java script is used to test whether the two expressions are not equal?
25) In Java script, the loop which loops through the properties of an object is
A for loop
B for /in' loop
C 'while' loop
D 'do/ while' loop
31) Now does Java script store dates in objects of data type?
A No. of days since January 151, 1900
B No. of seconds since January lse, 1970
C No. of milli second since January 15`, 1970
D No. of pico second since January 15t, 1970
32). When a user Views a page containing a JavaScript program, which machine actually
Executes the script?
A) The User’s machine running a Web browser
B) The Web server
C) A central machine beep within Netscape’s corporate offices
D) None of these
33) . ------ JavaScript statements embedded in an HTML page can respond to user events
Such as mouse-clicks, form input, and page navigation.
A) Client-side B) Server – side C) Local D) Native
34 . ------- tag is an extension to HTML that can enclose any number of JavaScript
Statements.
A)<SCRIPT> B)<BODY> C)<HEAD> D)<TITLE>
36 .What is the correct syntax for referring to an external script called “abc .is “?
A) <script href=” abc. js”> B)<script name=”abc. js ‘’>
C) <script scr =”abc. js”> D)Nome of the m above