Scripting Languages-I

Paper Code: 
24WDT231
Credits: 
02
Periods/week: 
01
Max. Marks: 
100.00
Objective: 

This course will enable students to:

  1. Incorporate event handling in the web pages
  2. Familiarize with the functionality of jquery
  3. Create dynamic websites

 

Course Outcomes: 

Course

Learning outcome

 (at course level)

Learning and teaching strategies

Assessment Strategies

Course Code

Course

title

 

24WDT231

 

Scripting Languages-I (Theory)

CO1. Demonstrate knowledge of programming concepts by creating flowcharts

CO2. Create effective scripts using Javascript and Document Object Model that create dynamicity in HTML webpages.

CO3. Create dynamic webpages using Browser Object Model.

CO4. Apply the principles of regular expression in form validation

CO5. Apply JQuery to enhance interactivity and streamline the development of web applications.

CO6. Contribute effectively in course-specific interaction.

Approach in teaching:

Interactive Lectures, Discussion, reading assignments, Demonstrations, Group activities, Teaching using advanced IT audio-video tools 

Learning activities for the students:

Self-learning assignments, Effective questions, Seminar presentation, Giving tasks.

Assessment Strategies

Class test, Semester end examinations, Quiz, Solving problems in tutorials, Assignments, Presentation

 

 

6.00
Unit I: 
Flowchart:

Flowchart based on simple computations, iterations. Execution Trace.Introduction to client-server technologies, comparison between client-side and server-side scripting, JavaScript: Introduction, Advantages of using JavaScript, Writing JavaScript in HTML, Basic Programming Techniques: Data Types and Literals, Creating variables

 

6.00
Unit II: 
JavaScript:

JavaScript Operators (Arithmetic, Logical, Comparison, String and Assignment operator and special operators: delete, new and void) and Expressions in JavaScript. Creating one and two-dimensional arrays.

JavaScript Programming Constructs: Conditional checking (if-then-else statement), Loops (for loop and While loop)

Functions Basics: parameter-passing basics return statements, global and local variables.

Dialog Boxes (Alert, Prompt and Confirm Dialog Box), Built-in objects - Array, Date, Math and String, Document Object Model, Events, Properties and Methods, Event handling.

 

6.00
Unit III: 
Window:

Opening and closing windows, window features, controlling windows- moving, resizing and scrolling, setting window location, accessing Window’s History, Controlling window’s status bar, Setting Window Timeouts and Intervals. Document object, Forms used by a Website, Form Object’s Methods, Form Actions and Form Validation.

 

6.00
Unit IV: 
Regular expressions:

The concepts of Regular expressions, Creating patterns, RegExp object- its properties and methods, String methods for Regular Expressions.

 

6.00
Unit V: 
Introduction to jQuery:

Adding the jQuery Library to web Pages, Syntax, Selectors, jquery events: on (), blur (), change (), dblclick(), die(), error(), hover(), ready(), resize(), scroll(), select(), submit(), toggle(), trigger(), triggerhandler(), off(), unload(), jquery Effects, jquery Callback function, jquery HTML manipulation, jquery CSS methods.

 

ESSENTIAL READINGS: 

Essential Readings:

  1. Ivan Bayross, “HTML, Javascript, DHTML, and PHP”, BPB Publications.
  2. Thomas Powell, Fritz Schneider “JavaScript-The Complete Reference”, Tata McGraw Hill, Third Edition, 2012

 

REFERENCES: 
Academic Year: