Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering. Fifth Semester. Subject: Web Programming

Similar documents
Programming the World Wide Web by Robert W. Sebesta

World Wide Web PROGRAMMING THE PEARSON EIGHTH EDITION. University of Colorado at Colorado Springs

AIM. 10 September

Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering. Fifth Semester

Advanced Web Programming (17MCA42)

Alpha College of Engineering and Technology. Question Bank

VTU Question Bank. UNIT 1 Introduction to WWW, XHTML

IT6503 WEB PROGRAMMING. Unit-I

Government of Karnataka Department of Technical Education Bengaluru. Course Title: Web Programming Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78

1 PCA151C Data Structures Using C PCA152C Operating Systems PCA153C Introduction to Web Technologies

Shankersinh Vaghela Bapu Institue of Technology

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

WEB PROGRAMMING LAB. Course Code: 15CT1123 L T P C. (Common to CSE&IT)

MCA IV SEMESTER SYLLABUS

CERTIFICATE IN WEB PROGRAMMING

DATA STRUCTURES USING C

Web Engineering (CC 552)

Developing Web Applications

Standard 1 The student will author web pages using the HyperText Markup Language (HTML)

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Introduction to JavaScript p. 1 JavaScript Myths p. 2 Versions of JavaScript p. 2 Client-Side JavaScript p. 3 JavaScript in Other Contexts p.

TUTORIAL QUESTION BANK

Varargs Training & Software Development Centre Private Limited, Module: HTML5, CSS3 & JavaScript

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 11 Introduction to PHP

JavaScript Programming

An Introduction to JavaScript & Bootstrap Basic concept used in responsive website development Form Validation Creating templates

This course is designed for web developers that want to learn HTML5, CSS3, JavaScript and jquery.

Delivery Options: Attend face-to-face in the classroom or remote-live attendance.

hrs. Designing Fundamentals 2 Paper-II: Data base hrs. management Systems Semester IV 3 Paper-I: Web

JAVASCRIPT FOR PROGRAMMERS

Delivery Options: Attend face-to-face in the classroom or via remote-live attendance.

Prasad V. Potluri Siddhartha Institute of Technology, Kanuru, Vijayawada. Semester end examination: 50 marks

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Web Site Development with HTML/JavaScrip

Sections and Articles

PHP & My SQL Duration-4-6 Months

Cleveland State University Department of Electrical and Computer Engineering. CIS 408: Internet Computing

Type of Classes Nested Classes Inner Classes Local and Anonymous Inner Classes

UNIT -I PART-A Q.No Question Competence BTL

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

XML. Jonathan Geisler. April 18, 2008

FACULTY OF INFORMATION STUDIES UNIVERSITI TEKNOLOGI MARA CAWANGAN KELANTAN SCHEME OF WORK (RANCANGAN KULIAH)

Setting Up a Development Server What Is a WAMP, MAMP, or LAMP? Installing a WAMP on Windows Testing the InstallationAlternative WAMPs Installing a

Time: 3 hours. Full Marks: 70. The figures in the margin indicate full marks. Answer from all the Groups as directed. Group A.

JavaScript: The Definitive Guide

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

PHP / MYSQL DURATION: 2 MONTHS

1.1 A Brief Intro to the Internet

Semester: I Credits: 5. Category: MC No.of hrs/week: 5 CA PROGRAMMING IN C

Programming the Web 06CS73 INTRODUCTION AND OVERVIEW. Dr. Kavi Mahesh, PESIT, Bangalore. Textbook: Programming the World Wide Web

Web Programming Paper Solution (Chapter wise)

XML: Introduction. !important Declaration... 9:11 #FIXED... 7:5 #IMPLIED... 7:5 #REQUIRED... Directive... 9:11

BCS Higher Education Qualifications. Level 6 Web Engineering Syllabus

Contact Hours / week: 4 Total hours: 64. Table of Contents Architecture 3 Data Modeling Using the Entity-


PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Inf 202 Introduction to Data and Databases (Spring 2010)

Chapter 11 Program Development and Programming Languages

Chapter 9. Web Applications The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill

Full Stack Web Developer

B. V. Patel Institute of Business Management, Computer and Information Technology, UTU. B. C. A (3 rd Semester) Teaching Schedule

Acceptance Test. Smart Scheduling. Empire Unlimited. Requested by:

M. PHIL. COMPUTER SCIENCE (FT / PT) PROGRAMME (For the candidates to be admitted from the academic year onwards)

KINGS COLLEGE OF ENGINEERING 1

Hands-On Perl Scripting and CGI Programming

PHP Online Training. PHP Online TrainingCourse Duration - 45 Days. Call us: HTML

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Ministry of Higher Education and Scientific Research

Silver Oak College of Engineering and Technology Information Technology Department Mid Semester 2 Syllabus 6 th IT

Swami Ramanand Teerth Marathwada University, Nanded

Fundamentals of Web Development. Web Development. Fundamentals of. Global edition. Global edition. Randy Connolly Ricardo Hoar

Web Computing. Revision Notes

PHP & PHP++ Curriculum

Full Stack Web Developer

EXAM Web Development Fundamentals. Buy Full Product.

JavaScript Specialist v2.0 Exam 1D0-735

Chapter 1 Introduction to Computers and the Internet

Web Development. with Bootstrap, PHP & WordPress

CS6501 IP Unit IV Page 1

AG & SG SIDDHARTHA COLLEGE OF ARTS AND SCIENCES - VUYYURU.

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

Creating Web Pages with HTML-Level III Tutorials HTML 6.01

Exam : 9A Title : Adobe GoLive CS2 ACE Exam. Version : DEMO

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science Sixth Semester. Contact Hrs / week: 4 Total hrs: 64

Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering. Sixth Semester

UNIT -II. Language-History and Versions Introduction JavaScript in Perspective-

DC71 INTERNET APPLICATIONS DEC 2014

BRA BIHAR UNIVERSITY, MUZAFFARPUR DIRECTORATE OF DISTANCE EDUCATION

CS WEB TECHNOLOGY

IT2353 Web Technology Important Questions 2 Marks and 16 Marks Unit 1 Part A 1. Differentiate Internet with Intranet. 2. What are HTML tags? 3.

1.1 A Brief Intro to the Internet

A network is a group of two or more computers that are connected to share resources and information.

Internet Application Developer

Professional Course in Web Designing & Development 5-6 Months

The XML Metalanguage

COMP9321 Web Application Engineering

Notes General. IS 651: Distributed Systems 1

Index. C CakePHP framework, 232 Cascading Style Sheets (CSS)

CSE 336. Introduction to Programming. for Electronic Commerce. Why You Need CSE336

Transcription:

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering Fifth Semester Subject: Web Programming Contact Hrs / week: 4 Total hrs: 64 Table of Contents SN Content Hours Marks 1 Fundamentals 04 10 2 JavaScript & XHTML Documents 04 10 3 Dynamic Documents with JavaScript 06 15 4 Introduction to XML 10 25 5 Introduction to PHP 12 30 SECTION III 6 Database Access through the Web 12 30 7 Introduction to Ruby 08 15 Seminars, Guest Lectures and other 05 innovation interactions Tests 03 Total 64 145

Detailed Contents 1 Fundamentals 1.1 A Brief Introduction to Internet 1.1.1 Origins 1.1.2 What the Internet Is 1.1.3 Internet Protocal Addresses 1.1.4 Domain Names 1.2 The World Wide Web 1.2.1 Origins 1.2.2 Web or Internet 1.3 Web Browsers 1.4 Web Servers 1.4.1 Web Server Operations 1.4.2 General Server Characterstics 1.4.3 Apache 1.4.4 IIS 1.5 Uniform Resource Locators 1.5.1 URL Formats 1.5.2 URL Paths 1.6 Multipurpose Internet Mail Extensions 1.6.1 Type Specification 1.6.2 Experimental Documental Types 1.7 The Hypertext Transfer Protocal 1.7.1 The Request Phase 1.7.2 The Response Phase 1.8 Security 1.9 The Web Programmer s ToolBox 1.9.1 Overview of XML 1.9.2 Tools for creating XHTML Documents 1.9.3 Plug-Ins and Filters 1.9.4 Overview of XML 1.9.5 Overview of JavaScript 1.9.6 Overview of Java 1.9.7 Overview of Perl 1.9.8 Overview of PHP 1.9.9 Overview of Ruby 1.9.10 Overview of Rails 1.9.11 Overview of Ajax 2 JavaScript & XML Documents 2.1 The JavaScript Execution Environment 2.2 The Document Object Model

2.3 Element Access in JavaScript 2.4 Events & Event Handling 2.4.1 Basic Concepts of Event handling 2.4.2 Events, Attributes & Tags 2.5 Handling Events from Body Elements 2.6 Handling Events from Button Elements 2.7 Handling Events from Textbox & password Elements 2.7.1 The Focus Event 2.7.2 Validating from Input 2.8 The DOM 2 Event Model 2.8.1 Event Propagation 2.8.2 Event handler registration 2.8.3 An Example of the DOM 2 Event Model 2.9 The Navigator Object 2.10 DOM Tree Traversal and Modification 2.10.1 DOM Tree Traversal 2.10.2 DOM Tree Modification 3 Dynamic Documents with JavaScript 3.1 Introduction 3.2 Positioning Elements 3.2.1 Absolute Positioning 3.2.2 Relative Positioning 3.2.3 Static Positioning 3.3 Moving Elements 3.4 Element Visibility 3.5 Changing Colors & Fonts 3.5.1 Changing Colors 3.5.2 Changing Fonts 3.6 Dynamic Contents 3.7 Stacking Elements 3.8 Locating the Mouse Cursor 3.9 Reacting to the Mouse Click 3.10 Slow Movement of Elements 3.11 Dragging & Dropping Elements 4 Introduction to XML 4.1 Introduction 4.2 The Syntax of XML 4.3 XML Document Structure 4.4 Document Type Definitions 4.4.1 Declaring Elements 4.4.2 Declaring Attributes 4.4.3 Declaring Entities 4.4.4 A Sample DTD

4.4.5 Internal & External DTDs 4.5 Namespaces 4.6 XML Schemas 4.6.1 Schemas Fundamentals 4.6.2 Defining the Schema 4.6.3 Defining the Schema Instances 4.6.4 An Overview od Data types 4.6.5 Simple Types 4.6.6 Complex Types 4.7 Displaying Raw XML Documents 4.8 Displaying XML Documents with CSS 5 Introduction to PHP 5.1 Origins and Uses of PHP 5.2 Overview of PHP 5.3 General Syntactic Characteristics 5.4 Primitives, Operations and Expressions 5.4.1 Variables 5.4.2 Integer Type 5.4.3 Double Type 5.4.4 String Type 5.4.5 Boolean Type 5.4.6 Arithmetic Operations & Expressions 5.4.7 String Operations 5.4.8 Scalar Type conversions 5.5 Output 5.6 Control statements 5.6.1 Relational Operators 5.6.2 Boolean Operators 5.6.3 Selection Statements 5.6.4 Loop statements 5.6.5 An Example 5.7 Arrays 5.7.1 Array Creation 5.7.2 Accessing array Elements 5.7.3 Functions for Dealing with Arrays 5.7.4 Sequential Access to Array Elements 5.7.5 Sorting Arrays 5.8 Functions 5.8.1 General Characteristics of Functions 5.8.2 Parameters 5.8.3 The scope of Variables 5.8.4 The Lifetime of Variables 5.9 Pattern Matching 5.10 Form Handling

5.11 Files 5.11.1 Opening and Closing Files 5.11.2 Reading from a File 5.11.3 Writing to a File 5.11.4 Locking Files 5.12 Cookies 5.12.1 Introduction to Cookies 5.12.2 PHP Support for Cookies 5.13 Session Tracking 6 Database Access through the Web 6.1 Database Access with PHP & MySQL 6.1.1 Potential Problems with Special Characters 6.1.2 Connecting to MySQL & Selecting the Database 6.1.3 Requesting MySQL Operations 6.1.4 A PHP/ MySQL Examples 6.2 Database Access with JDBC & MySQL 6.2.1 JDBC & MySQL 6.2.2 Metadata 6.2.3 Examples 7 Introduction to Ruby 7.1 Origins and Uses of Ruby 7.2 Scalar Types & their Operations 7.2.1 Numeric & String Literals 7.2.2 Variables and Assignment Statements 7.2.3 Numeric Operators 7.2.4 String Methods 7.3 Simple Input & Output 7.3.1 Screen Output 7.3.2 Keyboard Input 7.4 Control Statements 7.4.1 Control Expressions 7.4.2 Selection & Looping Statements 7.5 Fundamentals of Arrays 7.5.1 The For in Statement 7.5.2 Built-in Methods for arrays and Lists 7.5.3 Examples 7.6 Hashes 7.7 Methods 7.7.1 Fundamentals 7.7.2 Local variables 7.7.3 Parameters 7.8 Classes 7.8.1 The basics of Classes

7.8.2 Access Control 7.8.3 Inheritance 7.9 Code blocks & Iterators 7.10 Pattern matching 7.10.1 Basics of Pattern Matching 7.10.2 Remembering matches 7.10.3 Substitutions Text book: 1. Programming the World Wide Web, 4 th edition, Robert W.Sebesta, Pearson Education, ISBN- 9788131724170 2. Web Programming By Niranjan A, Sapna Publications. Reference Books: 1. Web Programming Building Internet Applications, 3 rd edition, Chris Bates, Wiley publisher 2. Web Technologies HTML,JavaScript,PHP,java,JSP,ASP.Net,XML & Ajax Black Book, Wiley, ISBN : 978-81-7722-997-4 3. PHP A Begineer s Guide --- Vikram Vaswami, TMH publishers. ISBN: 13:978-0-07-014069-1 General Objectives: 1. Understand the concepts of Internet, WWW, Web Browsers, Web Servers, URL s,http, Multipurpose Internet Mail Extensions & Security. 2. Comprehend the concepts of JavaScript & XHTML Documents 3. Appreciate the concepts of Dynamic Documents with JavaScript 4. Understand the concepts of XML 5. Understand the concepts of PHP 6. Understand the concepts Database Access through the Web 7. Comprehend the concepts of Ruby & their applications. Specific Objectives: 1 Fundamentals A Brief Introduction to Internet Origins What the Internet Is

Internet Protocal Addresses Domain Names The World Wide Web Origins Web or Internet Web Browsers Web Servers Web Server Operations General Server Characterstics Apache IIS Uniform Resource Locators URL Formats URL Paths Multipurpose Internet Mail Extensions Type Specification Experimental Documental Types The Hypertext Transfer Protocal The Request Phase The Response Phase Security The Web Programmer s ToolBox Overview of XML Tools for creating XHTML Documents Plug-Ins and Filters Overview of XML Overview of JavaScript Overview of Java Overview of Perl Overview of PHP Overview of Ruby Overview of Rails Overview of Ajax 2 JavaScript & XML Documents Learn the JavaScript Execution Environment, DOM & Element Access Using XHTML. Learn the Basic Concepts of Event Handling, Events, Attributes & Tags. Know about Handling Events from Body Elements, Button Elements,Textbox & password Elements like Focus Event, blur Event, Change Event & Select Event Learn the DOM 2 Event Model,Event Propagation & Event handler registration with an Example. Know the Concept of The Navigator Object, DOM Tree Traversal and Modification 3 Dynamic Documents with JavaScript

Introduction to Dynamic Documents with JavaScript Lear about Positioning Elements & their possible values like Absolute, Relative & Static Positioning. Learn the concepts of Moving Elements, Element Visibility, Changing Colors & Fonts, Dynamic Contents, Stacking Elements, Locating the Mouse Cursor, Reacting to the Mouse Click, Slow Movement of Elements & Dragging & Dropping Elements. 4 Introduction to XML Learn the Concepts of XML, the Syntax of XML & XML Document Structure Know about how to Declare Elements, Declaring Attributes & Declaring Entities in Document Type Definitions Learn about A Sample DTD, Internal & External DTDs & Namespaces Learn the Concepts of XML Schemas: Definition, Fundamentals,, Defining the Schema Instances, Data types,simple Types, Complex types & Validating the Instances of Schemas. Learn to Display raw XML Documents & also to display XML Documents with CSS. 5 Introduction to PHP Know about the Origins and Uses of PHP, General Syntactic Characteristics, Primitives, Operations and Expressions, Output from an PHP Script. Learn the Concepts of Control statements, Arrays, Functions, Pattern Matching, Form Handling, Learn about file Handling like Open, close, read, write and locking files. A study of Cookies: Introduction to cookies, Support of PHP & also Session tracking in PHP. 6 Database Access through the Web Learn to Access the Database with PHP & MySQL: Potential Problems with Special Characters, Connecting to MySQL & Selecting the Database, Requesting MySQL Operations, A PHP/ MySQL Examples Learn to Access the Database with JDBC & MySQL, Metadata, with an Examples. 7 Introduction to Ruby Know about the Origins and Uses of Ruby. Understand the Concepts of Scalar Types & their Operations: Numeric & String Literals, Variables and Assignment Statements, Numeric Operators, String Methods. Learn about the Simple Input & Output like Screen Output & Keyboard Input Learn the concepts of Control Statements, Control Expressions, Selection & Looping Statements, Understand the Fundamentals of Arrays, Hashes, Methods, Classes, Code blocks & Iterators & Pattern matching

Govt. of Karnataka, Department of Technical Education Diploma in Computer Science & Engineering Fifth Semester Max. Marks: 100 Subject: Web Programming Model Question Paper Max. Time: 3 Hours Note: 1. Section I is compulsory. 3. Answer any TWO questions from each remaining Sections. Section I Marks 1. a) Fill in the blanks with appropriate word/s 5x1=5 i. ii. iii iv. v. b) Write a note on XHTML document 5 Section II 2. a) Explain the phases of HTML 10 b) What are the advantages of assigning event handlers to event properties 05 3. a) Explain the Document Object Model 5 b) Explain the three possible values of the positioning property 10

4. a) Discribe the parameters and action of the settimeout function 5 b) Explain the structure of the XML structure 5 c) Define schema & schema instance with an example 5 Section III 5. a) Describe the roles of web services 5 b) How does an XSLT processor use an XSLT style sheet with an XML document? Explain 10 6. a) Explain the various string functions used in PHP 10 b) Write a PHP script to compute the sum & average of N numbers 5 7. a) Explain array_keys & array_values function 5 b) Create a form containing information sl.no, title of the book, publishers, quantity, price, read the data from the form & write onto a file using PHP script 10 Section IV 8. a) Explain the three-tier architecture of web site supported by a data base 8 b) Define metadata 2 c) Explain the two ways of using JDBC 5 9. a) Write a PHP script to create a new database table with 4 fields of your choice perform the following database operations 10 i) insert a record ii) update a record iii) delete a record b) Write a note on DBI module 5

10. a) Explain how multiple selection constructs are implemented in Ruby 8 b) Write a ruby program that inputs a list of numbers from the keyboard and finds the second smallest number in the list, along with its position in the list 7