Lesson 5 Introduction to JavaScript
Exam Question & Answers ( Latest
2025)
JavaScript is a scripting language for adding dynamic
interactivity to Web pages. You can use JavaScript to: -
CORRECT ANSWERS ✔✔interpret the script and
return the appropriate responses on the client side or on
the server side.
What type of language is HTML? - CORRECT ANSWERS
✔✔Markup language
Which of the following best describes an object-oriented
program? - CORRECT ANSWERS ✔✔A collection of
individual objects that perform different functions
The development of HTML5 APIs is expected to intensify
as mobile devices continue to multiply. Which technology
provides the advanced interactivity required for APIs? -
CORRECT ANSWERS ✔✔JavaScript
Which of the following is a characteristic of event-driven
programming? - CORRECT ANSWERS ✔✔Events can
trigger functions.
, Lesson 5 Introduction to JavaScript
Exam Question & Answers ( Latest
2025)
Why should you test your JavaScript code in multiple
browsers? - CORRECT ANSWERS ✔✔Because
JavaScript programs tend to be implemented differently in
different browsers
What step should you take to ensure that your JavaScript
code runs as expected? - CORRECT ANSWERS
✔✔Test your code in various browsers.
What is the main characteristic of a programming
language that distinguishes it from a scripting language?
- CORRECT ANSWERS ✔✔Programming languages
are traditionally compiled, whereas scripting languages
are traditionally interpreted.
Why is JavaScript relatively easy to learn? - CORRECT
ANSWERS ✔✔Because JavaScript does not have all of
the complex rules associated with full object-oriented
languages
Which of the following best describes the relationship
between JavaScript and Java? - CORRECT ANSWERS
✔✔JavaScript and Java are different languages and have
no relationship
Exam Question & Answers ( Latest
2025)
JavaScript is a scripting language for adding dynamic
interactivity to Web pages. You can use JavaScript to: -
CORRECT ANSWERS ✔✔interpret the script and
return the appropriate responses on the client side or on
the server side.
What type of language is HTML? - CORRECT ANSWERS
✔✔Markup language
Which of the following best describes an object-oriented
program? - CORRECT ANSWERS ✔✔A collection of
individual objects that perform different functions
The development of HTML5 APIs is expected to intensify
as mobile devices continue to multiply. Which technology
provides the advanced interactivity required for APIs? -
CORRECT ANSWERS ✔✔JavaScript
Which of the following is a characteristic of event-driven
programming? - CORRECT ANSWERS ✔✔Events can
trigger functions.
, Lesson 5 Introduction to JavaScript
Exam Question & Answers ( Latest
2025)
Why should you test your JavaScript code in multiple
browsers? - CORRECT ANSWERS ✔✔Because
JavaScript programs tend to be implemented differently in
different browsers
What step should you take to ensure that your JavaScript
code runs as expected? - CORRECT ANSWERS
✔✔Test your code in various browsers.
What is the main characteristic of a programming
language that distinguishes it from a scripting language?
- CORRECT ANSWERS ✔✔Programming languages
are traditionally compiled, whereas scripting languages
are traditionally interpreted.
Why is JavaScript relatively easy to learn? - CORRECT
ANSWERS ✔✔Because JavaScript does not have all of
the complex rules associated with full object-oriented
languages
Which of the following best describes the relationship
between JavaScript and Java? - CORRECT ANSWERS
✔✔JavaScript and Java are different languages and have
no relationship