Docsity

JavaScript Quiz: Test Your Knowledge, Exams of Advanced Education

Toggle sidebar
bg1
INTRODUCTION TO JAVASCRIPT
(QUIZ)
What term is usually used in programming to refer to attributes and values? - Correct
Answers -Properties
Which of the following is a feature of JavaScript? - Correct Answers -Checks object
references at run time ("dynamic binding")
What is Microsoft's implementation of JavaScript called? - Correct Answers -JScript
Which of the following best describes the relationship between JavaScript and Java? -
Correct Answers -JavaScript and Java are different languages and have no relationship.
What was the original implementation of Server-Side JavaScript (SSJS) called? -
Correct Answers -LiveWire
Which client-side scripting language is supported only by the Microsoft Internet Explorer
browser?JScript - Correct Answers -JScript
JavaScript fits best under which category of languages? - Correct Answers -Object-
based
Which code block demonstrates correct syntax for a multiple-line comment in
JavaScript? - Correct Answers -<script type="text/javascript">
/*This is a multiple-line comment. The JavaScript interpreter will ignore this
text.*/</script>
Which of the following is true about server-side JavaScript technologies? - Correct
Answers -Implementations of server-side JavaScript include LiveWire and work with
back-end server processes.
Which line of code demonstrates the correct way to link an external JavaScript file to an
X/HTML document? - Correct Answers -<script type="text/javascript"
src="myJavaScriptCode.js">
Which organization approved JavaScript as an international standard in 1997? - Correct
Answers -European Computer Manufacturer's Association (ECMA)
pf3

Partial preview of the text

Download JavaScript Quiz: Test Your Knowledge and more Exams Advanced Education in PDF only on Docsity!

INTRODUCTION TO JAVASCRIPT

(QUIZ)

What term is usually used in programming to refer to attributes and values? - Correct Answers -Properties Which of the following is a feature of JavaScript? - Correct Answers -Checks object references at run time ("dynamic binding") What is Microsoft's implementation of JavaScript called? - Correct Answers -JScript Which of the following best describes the relationship between JavaScript and Java? - Correct Answers -JavaScript and Java are different languages and have no relationship. What was the original implementation of Server-Side JavaScript (SSJS) called? - Correct Answers -LiveWire Which client-side scripting language is supported only by the Microsoft Internet Explorer browser?JScript - Correct Answers -JScript JavaScript fits best under which category of languages? - Correct Answers -Object- based Which code block demonstrates correct syntax for a multiple-line comment in JavaScript? - Correct Answers - Which of the following is true about server-side JavaScript technologies? - Correct Answers -Implementations of server-side JavaScript include LiveWire and work with back-end server processes. Which line of code demonstrates the correct way to link an external JavaScript file to an X/HTML document? - Correct Answers - Which of the following is a good reason to use external .js files? - Correct Answers -To facilitate frequent revisions Using JavaScript best practices, which X/HTML tag correctly targets a block of JavaScript code for browsers that support JavaScript version 1.5? - Correct Answers -

What is the purpose of the X/HTML tag? - Correct Answers -To display alternate content for browsers that do not support JavaScript Which task is an example of a server-side JavaScript application? - Correct Answers - Parsing and disseminating user-submitted information The JavaScript language was originally developed by which of the following? - Correct Answers -Netscape Corporation Which of the following is the most similar to JavaScript in purpose and implementation?

  • Correct Answers -VBScript Which of the following best describes an object-oriented program? - Correct Answers -A collection of individual objects that perform different functions JavaScript is an example of which language model? - Correct Answers -Event-driven Which of the following accurately describes a difference between JavaScript and Java?
  • Correct Answers -JavaScript is interpreted whereas Java is compiled.