1D0-720 · Question #51
Which of the following are characteristics of JavaScript?
The correct answer is A. Interpreted language C. Object-oriented D. Client-side execution. JavaScript is an interpreted language (A) - browsers parse and execute it line-by-line at runtime without a separate compilation step. It is object-oriented (C) - everything in JS, including functions and arrays, is an object, and it supports prototypal inheritance and OOP…
Question
Which of the following are characteristics of JavaScript?
Options
- AInterpreted language
- BStrongly typed
- CObject-oriented
- DClient-side execution
How the community answered
(42 responses)- A90% (38)
- B10% (4)
Explanation
JavaScript is an interpreted language (A) - browsers parse and execute it line-by-line at runtime without a separate compilation step. It is object-oriented (C) - everything in JS, including functions and arrays, is an object, and it supports prototypal inheritance and OOP patterns. It runs primarily on the client side (D) in the browser, executing on the user's machine rather than the server.
Why B is wrong: JavaScript is loosely (dynamically) typed - variables can hold any type and types are coerced automatically (e.g., "5" + 1 === "51"). Strongly typed languages like TypeScript or Java enforce strict type rules at compile time.
Memory tip: Think of the acronym I-OC - Interpreted, Object-oriented, Client-side - the three traits that define vanilla JS in the browser. "Strong typing" belongs to TypeScript (the typed superset of JS), so if you see "strongly typed" on an exam, that's the TS distractor, not JS.
Topics
Community Discussion
No community discussion yet for this question.