SCRIPTING LANGUAGES

Paper Code: 
BCA 404
Credits: 
04
Periods/week: 
02
Max. Marks: 
100.00
Objective: 

This module is designed to help students for creating dynamic web sites.

Unit I: 

Introduction 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, Operators (Arithmetic, Logical, Comparison, String and Assignment operator and special operators: delete, new and void) and Expressions in JavaScript.

 

Unit II: 

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).

 

Unit III: 

Built-in objects - Array, Date, Math and String. Document Object Model, Events, Properties and Methods, Event handling 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.

 

Unit IV: 

Setting Window Timeouts and Intervals. Document object, Forms used by a Website, Form Object’s Methods, Form Actions and Form Validation.

 

Unit V: 

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

 

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

 

REFERENCES: 
  1. James Jaworski,” Mastering JavaScript & JScsript”, BPB Publications.
  2. John Pollock, “JAVASCRIPT -A Beginner’s Guide”, Osborne/TMH
  3. Website: http://www.comp.leeds.ac.uk.
  4. Website: http://www.w3schools.com.

 

Academic Year: