Multiple Choice Questions and Answers pdf for
beginners experienced
Multiple Choice Questions and Answers pdf for beginners and experienced.
Home MCQS List
M o n d a y, 5 A u g u s t 2 0 1 3 Blog archive
► 2016 (44)
►
60 Top JavaScript Multiple Choice Questions and
▼ 2013 (8)
▼
Answers ▼ August (8)
▼
...
60 Top Dreamweaver Multiple Choice
Questions and A...
Below are the list of top 60 JavaScript multiple choice questions and answers for freshers
70 Top J2ME Multiple Choice Questions
beginners and experienced PDF.
and Answers
60 Top JavaScript Multiple Choice
JavaScript Multiple Choice Questions and Answers
Questions and An...
1. Why so JavaScript and Java have similar name? 100 Top XML Multiple Choice Questions
and Answers
A. JavaScript is a stripped-down version of Java
B. JavaScript's syntax is loosely based on Java's 100 Top Load Runner Multiple Choice
Questions and ...
C. They both originated on the island of Java
D. None of the above 80 Top Oracle DBA Multiple Choice
Questions and An...
Ans: B
106 Top Manual Testing Multiple Choice
Questions a...
2. When a user views a page containing a JavaScript program, which machine actually
executes the script? 100 Top QTP Multiple Choice Questions
A. The User's machine running a Web browser and Answers
B. The Web server
C. A central machine deep within Netscape's corporate offices
D. None of the above
Ans: A
3. ______ JavaScript is also called client-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native
Ans: B
4. __________ JavaScript is also called server-side JavaScript.
A. Microsoft
B. Navigator
C. LiveWire
D. Native
Ans: C
5. What are variables used for in JavaScript Programs?
A. Storing numbers, dates, or other values
B. Varying randomly
C. Causing high-school algebra flashbacks
D. None of the above
Ans: A
6. _____ 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
This study
D.source
Nativewas downloaded by 100000882696727 from CourseHero.com on 03-16-2024 19:43:02 GMT -05:00
mcqspdfs.blogspot.com/2013/08/60-top-javascript-multiple-choice.html 1/8
https://www.coursehero.com/file/89552040/60-Top-JavaScript-Multiple-Choice-Questions-and-Answers-Multiple-Choice-Questions-and-Answers-pdf/
, 4/21/2021 60 Top JavaScript Multiple Choice Questions and Answers | Multiple Choice Questions and Answers pdf for beginners experienced
Ans: A
7. What should appear at the very end of your JavaScript?
The <script LANGUAGE="JavaScript">tag
A. The </script>
B. The <script>
C. The END statement
D. None of the above
Ans: A
8. Which of the following can't be done with client-side JavaScript?
A. Validating a form
B. Sending a form's contents by email
C. Storing the form's contents to a database file on the server
D. None of the above
Ans: C
9. Which of the following are capabilities of functions in JavaScript?
A. Return a value
B. Accept parameters and Return a value
C. Accept parameters
D. None of the above
Ans: C
10. Which of the following is not a valid JavaScript variable name?
A. 2names
B. _first_and_last_names
C. FirstAndLast
D. None of the above
Ans: A
11. ______ tag is an extension to HTML that can enclose any number of JavaScript
statements.
A. <SCRIPT>
B. <BODY>
C. <HEAD>
D. <TITLE>
Ans: A
12. How does JavaScript store dates in a date object?
A. The number of milliseconds since January 1st, 1970
B. The number of days since January 1st, 1900
C. The number of seconds since Netscape's public stock offering.
D. None of the above
Ans: A
13. Which of the following attribute can hold the JavaScript version?
A. LANGUAGE
B. SCRIPT
C. VERSION
D. None of the above
Ans: A
14. What is the correct JavaScript syntax to write "Hello World"?
A. System.out.println("Hello World")
B. println ("Hello World")
C. document.write("Hello World")
D. response.write("Hello World")
Ans: C
15. Which of the following way can be used to indicate the LANGUAGE attribute?
A. <LANGUAGE="JavaScriptVersion">
B. <SCRIPT LANGUAGE="JavaScriptVersion">
C. <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements…</SCRIPT>
D. <SCRIPT LANGUAGE="JavaScriptVersion"!> JavaScript statements…</SCRIPT>
Ans: C
16. Inside which HTML element do we put the JavaScript?
A. <js>
B. source
This study <scripting>
was downloaded by 100000882696727 from CourseHero.com on 03-16-2024 19:43:02 GMT -05:00
mcqspdfs.blogspot.com/2013/08/60-top-javascript-multiple-choice.html 2/8
https://www.coursehero.com/file/89552040/60-Top-JavaScript-Multiple-Choice-Questions-and-Answers-Multiple-Choice-Questions-and-Answers-pdf/