Define the following terms Object Event Handler Local Variable-02229

Online Quiz This subjective question is related to the book/course vu mth101 Calculus And Analytical Geometry. It can also be found in vu mth101 Mid Term Solved Past Paper No. 1.

Question 1: Define the following terms.
  1. Object
  2. Event Handler
  3. Local Variable
  4. Scope of Variable
  5. Array
Answer:

Object

A named collection of properties(data, state) & methods (instructions, behavior)

Event Handler

An event handler is acommand which calls a function when an event happens, such as the user click in ga button

Local Variable

Declaring variables (using the var keyword) within a function, makes them localoThey are available only within the function and hold no meaning outside of it

Scope of Variable

Defining the space in which a variable is effective is known as
defining the scope of a variable. A variable can be either local or global in scope

Array

An indexed list of elements

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background