WorksheetsIntroduction to JavaScript
Total questions: 10
Worksheet time: 5mins
Which of the following statements distinguishes a programming language from a scripting language?
Programming languages are object-based, whereas scripting languages are object-oriented
Programming languages are developed by private organizations, whereas scripting languages are open-source
Programming languages are compiled, whereas scripting languages are interpreted
Programming languages are subsets of scripting languages and are interpreted
Which of the following technologies enables server-side scripting using Java Script
React
Java
Node JS
C++
Which of the following is not a feature for Java Script
Case-sensitive
Compiled Language
Object-Oriented
Platform Independent
Why should comments be included within JavaScript code blocks?
Because comments are required for each Java Script code block
Because comments deactivate all JavaScript code during debugging
Because comments provide accessibility in browsers for the visually impaired.
Because comments provide a way to indicate the intent of the code
Java Script is defined under which category of languages?
Object-Oriented (Prototype-based)
Object-Driven
Object- Independent
Object-Oriented (Class-based)
Which of the following BEST describes an Object-Oriented program?
A network of objects logically connected to one another that perform a series of tasks.
A sequence of statements that collectively performs an specific task
A collection of individual objects that perform different functions
A collection of objects that perform specific functions in a sequential order
Which of the following is used to add multiline comments in JS?
::
<!-->
//
/* */
Which of the following terms identifies the attributes that define the characteristic of an object?
Property
Method
Value
Function
Which of the following terms can perform an action by an object?
Value
Object
Method
Property
Which of the following terms specifies the quality of a property?
Value
Property
Object
Prototype
