JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

CS802OE: SCRIPTING LANGUAGES

B.Tech IV Year II Semester (R18)

Prerequisites:

  • 1. A course on “Computer Programming and Data Structures”
  • 2. A course on “Object Oriented Programming Concepts”

Course Objectives:

  • This course introduces the script programming paradigm
  • Introduces scripting languages such as Perl, Ruby and TCL.
  • Learning TCL

Course Outcomes:

  • Comprehend the differences between typical scripting languages and typical system and application programming languages.
  • Gain knowledge of the strengths and weakness of Perl, TCL and Ruby; and select an appropriate language for solving a given problem.
  • Acquire programming skills in scripting language

UNIT - I

Introduction: Ruby, Rails, The structure and Excution of Ruby Programs, Package Management with RUBYGEMS, Ruby and web: Writing CGI scripts, cookies, Choice of Webservers, SOAP and webservices. RubyTk – Simple Tk Application, widgets, Binding events, Canvas, scrolling

UNIT - II

Extending Ruby: Ruby Objects in C, the Jukebox extension, Memory allocation, Ruby Type System, Embedding Ruby to Other Languages, Embedding a Ruby Interperter

UNIT - III

Introduction to PERL and Scripting Scripts and Programs, Origin of Scripting, Scripting Today, Characteristics of Scripting Languages, Uses for Scripting Languages, Web Scripting, and the universe of Scripting Languages. PERL- Names and Values, Variables, Scalar Expressions, Control Structures, arrays, list, hashes, strings, pattern and regular expressions, subroutines.

UNIT - IV

Advanced PERL Finer points of looping, pack and unpack, filesystem, eval, data structures, packages, modules, objects, interfacing to the operating system, Creating Internet ware applications, Dirty Hands Internet Programming, security Issues.

UNIT - V

TCL: TCL Structure, syntax, Variables and Data in TCL, Control Flow, Data Structures, input/output, procedures, strings, patterns, files, Advance TCL- eval, source, exec and uplevel commands, Name spaces, trapping errors, event driven programs, making applications internet aware, Nuts and Bolts Internet Programming, Security Issues, C Interface. Tk: Tk-Visual Tool Kits, Fundamental Concepts of Tk, Tk by example, Events and Binding, Perl-Tk.

TEXT BOOKS:

  • 1. The World of Scripting Languages, David Barron, Wiley Publications.
  • 2. Ruby Programming language by David Flanagan and Yukihiro Matsumoto O’Reilly
  • 3. “Programming Ruby” The Pramatic Programmers guide by Dabve Thomas Second edition

REFERENCE BOOKS:

  • 1. Open Source Web Development with LAMP using Linux Apache, MySQL, Perl and PHP, J.Lee and B. Ware (Addison Wesley) Pearson Education.
  • 2. Perl by Example, E. Quigley, Pearson Education.
  • 3. Programming Perl, Larry Wall, T. Christiansen and J. Orwant, O’Reilly, SPD.
  • 4. Tcl and the Tk Tool kit, Ousterhout, Pearson Education.
  • 5. Perl Power, J.P. Flynt, Cengage Learning.

Loading Question Papers

Fetching data from database...