JavaScript

JavaScript,often abbreviated as JS, is a high-level, interpreted programming language. It is a language which is also characterized as dynamic, weakly typed, prototype-based and multi-paradigm.

Alongside HTML and CSS, JavaScript is one of the three core technologies of the World Wide Web. JavaScript enables interactive web pages and thus is an essential part of web applications. The vast majority of websites use it, and all major web browsers have a dedicated JavaScript engine to execute it.

As a multi-paradigm language, JavaScript supports event-driven, functional, and imperative (including object-oriented and prototype-based) programming styles. It has an API for working with text, arrays, dates, regular expressions, and basic manipulation of the DOM, but the language itself does not include any I/O, such as networking, storage, or graphics facilities, relying for these upon the host environment in which it is embedded.

  • Section 01: Introduction To Scripting

    1. To write simple JavaScript programs.
    2. To use input and output statements.
    3. Basic memory concepts.
    4. To use arithmetic operators.
    5. The precedence of arithmetic operators.
    6. To write decision-making statements.
    7. To use relational and equality operators.

  • Section 02: Control Statements I

    1. Basic problem-solving techniques.
    2. To develop algorithms through the process of top-down, stepwise refinement.
    3. To use the if and if…else selection statements to choose among alternative actions.
    4. To use the while repetition statement to execute statements in a script repeatedly.
    5. Counter-controlled repetition and sentinel-controlled repetition.
    6. To use the increment, decrement and assignment operators.

  • Section 03: Control Statements Part II

    1. The essentials of counter-controlled repetition
    2. To use the for and do…while repetition statements to execute statements in a program repeatedly.
    3. To perform multiple selection using the switch selection statement.
    4. To use the break and continue program-control statements

  • Section 04: Functions

    1. To construct programs modularly from small pieces called functions.
    2. To create new functions.
    3. How to pass information between functions.
    4. Simulation techniques that use random number generation.
    5. How the visibility of identifiers is limited to specific regions of programs.

  • Section 05: Arrays

    1. To use arrays to store lists and tables of values.
    2. To declare an array, initialize an array and refer to individual elements of an array.
    3. To pass arrays to functions.
    4. To search and sort an array.
    5. To declare and manipulate multidimensional arrays.

  • Section 06: Objects

    1. Object-based programming terminology and concepts.
    2. The concepts of encapsulation and data hiding.
    3. The value of object orientation.
    4. To use the JavaScript objects Math, String, Date, Boolean and Number.
    5. To use the browser’s document and window objects.
    6. To use cookies.
    7. To represent objects simply using JSON.

  • Section 07: Document Object Model (DOM): Objects And Collections

    1. How to use JavaScript and the W3C Document Object Model to create dynamic web pages.
    2. The concept of DOM nodes and DOM trees.
    3. How to traverse, edit and modify elements in an XHTML document.
    4. How to change CSS styles dynamically.
    5. To create JavaScript animations.

  • Section 08: Events

    1. The concepts of events, event handlers and event bubbling.
    2. To create and register event handlers that respond to mouse and keyboard events.
    3. To use the event object to get information about an event.
    4. To recognize and respond to many common events.