Web Programming
Web Programming
Course Objectives
To study the concepts of web application development such as XHTML, XML, PHP, Java
web software, and Database access through JDBC and PHP.
Course Outcome
On successful completion of the course, the students will be able to attain below Course
Outcome (CO):
CL Linked PO Teaching
Course outcome
Hours
CO1 Discuss the fundamentals of web and concept 06
of XHTML. R,U,A 1,2,3,6,7,8,9,10
CO2
Describe different concepts of JavaScript and 12
XHTML documents and Construct dynamic U,A 1,2,3,6,7,8,9,10
documents with JavaScript.
CO3
Describe XML using the user defined tags, 08
DTD, Namespaces and Schemas with simple R,U,A 1,2,3,6,7,8,9,10
programs.
CO4 Discuss the concepts of PHP with associated 10
R,U,A 1,2,3,6,7,8,9,10
programs
CO5 Discuss different ways to access the database 06
U,A 1,2,3,6,7,8,9,10
through the web using examples.
CO6 Discuss various server based software using 10
U,A 1,2,3,6,7,8,9,10
different technologies.
Total 52
Fundamentals – A brief introduction to Internet, Origins, What the Internet Is, Internet
Protocol Addresses, Domain Names, The World Wide Web, Origins, Web or Internet, Web
browsers, Web servers, Web Server Operations, General Server Characteristics, Apache, IIS,
Uniform Resource Locators, URL Formats, URL Paths, Multipurpose Internet Mail
Extensions, Type Specification, Experimental Documental Types, Hypertext Transfer
Protocol, The Request Phase, The Response Phase, Security, The web Programmers Toolbox
Introduction to XHTML: Syntactic differences between HTML and XHTML
UNIT II: JavaScript and XHTML documents and Dynamic documents with JavaScript
12 Hrs
Introduction, The Syntax of XML, XML Document Structure, Document Type Definitions,
Declaring Elements, Declaring Attributes, Declaring Entities, A Sample DTD, Internal &
External DTDs, Namespaces, XML Schema, Schemas Fundamentals, Defining the Schema,
Defining the Schema Instances, An Overview of Data types, Simple Types, Complex Types,
Displaying Raw XML Documents, Displaying XML Documents with CSS.
Introduction to PHP: Origins and Uses of PHP, Overview of PHP, General Syntactic
Characteristics, Primitives, Operations and Expressions, Variables, Integer Type, Double
Type, String Type, Boolean Type, Arithmetic Operations & Expressions, String Operations,
Scalar Type conversions, Output, Control statements, Relational Operators, Boolean
Operators, Selection Statements, Loop statements, An Example, Arrays, Array Creation,
Accessing array Elements, Functions for Dealing with Arrays, Sequential Access to Array
Elements, Sorting Arrays, Functions, General Characteristics of Functions, Parameters, The
scope of Variables, The Lifetime of Variables, Pattern Matching, Form Handling, Files,
Opening and Closing Files, Reading from a File, Writing to a File, Locking Files, Cookies,
Introduction to Cookies, PHP Support for Cookies, Session Tracking.
Text books
1. Programming the World Wide Web, 7th edition, Robert W.Sebesta , Pearson
Education, ISBN- 9789332518827
References
1. http://www.tutorialspoint.com/
2. http://www.w3schools.com/
3. Web Programming – Building Internet Applications, 3rd edition, Chris Bates, Wiley
publisher
3
Note: the following activities or similar activities for assessing CIE (IA) for 5 marks (Any
one)
Student activity like mini-project, surveys, quizzes, etc. should be done in group of 3-5
students.
1. Each student should do any one of the following type activity or any other similar
activity related to the course and before conduction, get it approved from concerned course
coordinator and programme coordinator.
2. Each student should conduct different activity and no repeating should occur
Course Delivery
The course will be delivered through lectures and Power point presentations/ Video
20 Blue books
three tests will
Students
be computed)
Student 1 to 6
05 Report
activities
Total 25
SEE End End of the Answer scripts 1 to 6
100
Exam course at BTE
Course Survey Middle of the 1, 2, 3 Delivery
Indirect Assessment
Feedback forms
course of course
End of the 1 to 6
Students
course Effectiveness of
Delivery of
Questionnaires
instructions &
Assessment
Methods
Note: I.A. test shall be conducted for 20 marks. Average marks of three tests shall be rounded off
to the next higher digit.
Note to IA verifier: The following documents to be verified by CIE verifier at the end of
semester
1. Blue books (20 marks)
2. Student suggested activities report for 5 marks
3. Student feedback on course regarding Effectiveness of Delivery of instructions &
Assessment Methods.
Test/Date and
Semester/year Course/Course Code Max Marks
Time
Ex: I test/6 th week V SEM Web Programming
20
of sem 10-11 AM Year: 2017-18 Course code: 15CS52T
Name of Course coordinator :
Units:1,2 COs: 1,2
Note: Answer all questions
Question
Question CL CO PO
no
1 Explain the operation of web server. (5) U 1 1,2,3,6,7,8,9,10
OR
Explain MIME with its type specification. (5)
2 Explain how to handle the focus event with an example (5) A 2 1,2,3,6,7,8,9,10
OR
Illustrate Moving elements with simple example. (5)
3 Illustrate the HTTP protocol‘s request and response phases A 1 1,2,3,6,7,8,9,10
with an example for each. (10)
.
5
PART-B
Answer any SEVEN full questions each carries 10 marks. 10X7=70 Marks
1. Illustrate the HTTP protocol‘s request and response phases with an example for each.
2. Illustrate with an example for dynamic stacking of images
3. Explain declaring of elements, attributes and entities in DTD with an example.
4. Explain different XSD indicators.
5. Explain how to create indexed and associated array with an example.
6. Write a PHP script to illustrate sort, assort and ksort functions.
7. Write a PHP script to insert record into the table and retrieve records from the tabl.
Assume a table ―my_detail‖ is already created with fields name, city, phone_no and
mail_id.
8. Explain the steps involved in accessing mySQL database through JDBC.
9. Explain life cycle of a Servlet.
10. Explain steps in JDBC.
CO Question CL Marks
Define Web Browser, Web Server, Event, Event Handling and Internet R
Explain domain names with an example. U
Explain the operation of web server. U
Illustrate the general server characteristics. U
Explain the file structure of web server. U
Define MIME, Web security, URL R 05
Discuss URL format with its different paths. U
I Explain MIME with its type specification U
Illustrate the HTTP protocol‘s request and response phases U
Discuss web security issues. U
Mention the differences between html and xhtml. U
Explain the HTTP protocol‘s request and response phases with an A
example for each. 10
Explain the operation of Web Server with its file structure. U
10