JavaScript Multiple Choice Questions
1. What is JavaScript? a) JavaScript is a scripting language used to make the website interactive b) JavaScript is an assembly language used to make the website interactive c) JavaScript is a compiled language used to make the website interactive d) None of the mentioned View Answer Answer: a Explanation: JavaScript is a scripting language used along with HTML and CSS to make the website interactive along. It is used both on the client-side and server-side. 2. Which of the following is correct about JavaScript? a) JavaScript is an Object-Based language b) JavaScript is Assembly-language c) JavaScript is an Object-Oriented language d) JavaScript is a High-level language View Answer Answer: a Explanation: Although JavaScript is not an OOP (Object-Oriented Programming) language like Java or PHP, it is an object-oriented language. The standard threesome of polymorphism, encapsulation, and inheritance are the criteria for object orientation, and JavaScript fails to meet them. 3...