You are on page 1of 8

CS6501 - INTERNET PROGRAMMING

L
3

T
1

P
0

C
4

Objectives:
The student should be made to:
Learn Java Programming.
Understand different Internet Technologies.
Be exposed to java specific web services architecture.
UNIT I
JAVA PROGRAMMING
9
An overview of Java Data Types Variables and Arrays Operators Control Statements Classes Objects
Methods Inheritance - Packages Abstract classes Interfaces and Inner classes Exception handling Introduction to Threads Multithreading String handling Streams and I/O Applets.
UNIT II
WEBSITES BASICS, HTML 5, CSS 3, WEB 2.0
8
Web 2.0: Basics-RIA Rich Internet Applications - Collaborations tools - Understanding websites and web
servers: Understanding Internet Difference between websites and web server- Internet technologies Overview
Understanding the difference between internet and intranet; HTML and CSS: HTML 5.0 , XHTML, CSS 3.
UNIT II I
CLIENT SIDE AND SERVER SIDE PROGRAMMING
11
Java Script: An introduction to JavaScriptJavaScript DOM Model-Date and Objects,-Regular ExpressionsException Handling-Validation-Built-in objects-Event Handling- DHTML with JavaScript. Servlets: Java
Servlet Architecture- Servlet Life Cycle- Form GET and POST actions- Session Handling- Understanding
Cookies- Installing and Configuring Apache Tomcat Web Server;- DATABASE CONNECTIVITY: JDBC
perspectives, JDBC program example - JSP: Understanding Java Server Pages-JSP Standard Tag Library
(JSTL)-Creating HTML forms by embedding JSP code.
UNIT IV
PHP and XML
8
An introduction to PHP: PHP- Using PHP- Variables- Program control- Built-in functions-Connecting to
Database Using Cookies-Regular Expressions; XML: Basic XML- Document Type Definition- XML Schema
DOM and Presenting XML, XML Parsers and Validation, XSL and XSLT Transformation, News Feed (RSS and
ATOM).
UNIT V
INTRODUCTION TO AJAX and WEB SERVICES
9
AJAX: Ajax Client Server Architecture-XML Http Request Object-Call Back Methods; Web Services:
Introduction- Java web services Basics Creating, Publishing ,Testing and Describing a Web services (WSDL)Consuming a web service, Database Driven web service from an application SOAP.
Total (L:45 + T:15): 60 Periods
Outcomes:
At the end of the course, the student should be able to:
Implement Java programs.
Create a basic website using HTML and Cascading Style Sheets.
Design and implement dynamic web page with validation using JavaScript objects and by applying
different event handling mechanisms.
Design rich client presentation using AJAX.
Design and implement simple web page in PHP, and to present data in XML format.
Design and implement server side programs using Servlets and JSP.
Text books:
1. Deitel and Deitel and Nieto, Internet and World Wide Web - How to Program, Prentice Hall, 5th Edition,
2011.
2. Herbert Schildt, Java-The Complete Reference, Eighth Edition, Mc Graw Hill Professional, 2011.
References:
1. Stephen Wynkoop and John Burke Running a Perfect Website, QUE, 2nd Edition,1999.
2. Chris Bates, Web Programming Building Intranet Applications, 3rd Edition, Wiley Publications, 2009.
3. Jeffrey C and Jackson, Web Technologies A Computer Science Perspective, Pearson Education, 2011.
4. Gopalan N.P. and Akilandeswari J., Web Technology, Prentice Hall of India, 2011.
5. Paul Dietel and Harvey Deitel, Java How to Program, , 8th Edition Prentice Hall of India.
6. Mahesh P. Matha, Core Java A Comprehensive Study, Prentice Hall of India, 2011.
7. Uttam K.Roy, Web Technologies, Oxford University Press, 2011.

B.BHUVANESWARAN / AP (SS) / CSE / REC - 2

Reg No.
Question Paper Code : 27171
B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER / DECEMBER 2015
Fifth Semester
Computer Science and Engineering
CS6501 INTERNET PROGRAMMING
(Regulations 2013)
Time : Three hours

Maximum : 100 Marks


Answer ALL questions
PART A (10 x 2 = 20 Marks)

1.

Define abstract class. Give example.

2.

Expand DOM, AJAX, AWT, JDBC.

3.

List the unique features of Java.

4.

Differentiate internet and intranet.

5.

What are cookies? Give its uses.

6.

Define event programming. Name any 2 of its techniques.

7.

What is XML parse tree?

8.

Name any four built-in functions in PHP.

9.

What is a web service? Give any four examples.

10. List any four merits for usage of AJAX in web services.
PART B (5 x 16 = 80 Marks)
11. (a)

(i)

Write a Java program to draw smiley using applet.

(ii)

Compare overloading and overriding.

(10)
(6)

Or
(b) Describe the following:

12. (a)

(i)

Multithreading in Java.

(8)

(ii)

Exception handling in Java.

(8)

Discuss on
(ii)

Web Servers,

(8)

(ii)

XHTML,

(8)
Or

B.BHUVANESWARAN / AP (SS) / CSE / REC - 3

(b) Elaborate with example the usage of CSS in HTML.

13. (a)

Using HTML and JSP, design a scientific calculator.

(16)

(16)

Or
(b) Explain

14. (a)

(i)

DOM model,

(8)

(ii)

Database connectivity.

(8)

Write a PHP program to do string manipulation.

(16)

Or
(b) Explain in detail about

15. (a)

(i)

XML schema,

(8)

(ii)

XML parsers and validation.

(8)

Discuss AJAX client server architecture in detail.

(16)

Or
(b) Write short notes on:
(i)

SOAP.

(8)

(ii)

WSDL.

(8)

B.BHUVANESWARAN / AP (SS) / CSE / REC - 4

Reg No.
Question Paper Code : 57252
B.E./B.Tech. DEGREE EXAMINATION, MAY / JUNE 2016
Fifth Semester
Computer Science and Engineering
CS6501 INTERNET PROGRAMMING
(Regulations 2013)
Time : Three hours

Maximum : 100 Marks


Answer ALL questions
PART A (10 x 2 = 20 Marks)

1.

Give at least 3 differences between overriding and overloading of methods in Java.

2.

Give an example for a chained exception in Java.

3.

How does a Rich Internet Application (RIA) differ from a traditional web application?

4.

Write appropriate inline CSS to show a section of the HTML document with a font size
of 20.

5.

Write appropriate JavaScript code to remove an element (current element) from a DOM.

6.

Write a code segment to store current server time in session using Java Servlet API.

7.

Why is XSLT an important tool in development of web applications?

8.

When should the super global arrays in PHP be used? Which super global array in PHP
would contain a HTML forms POST data?

9.

Draw the structure of a SOAP message.

10. What is the role of a callback function in performing a partial page update in an AJAX
application?
PART B (5 x 16 = 80 Marks)
11. (a)

Consider a scenario where one thread (producer) is producing integer data (16)
starting from 0 and another thread (consumer) consuming it. In addition,
assume that the producer has to wait until the consumer is finished
consuming before it generates more data. Using Javas interprocess
communication mechanism, implement the above producer and consumer.
Or

B.BHUVANESWARAN / AP (SS) / CSE / REC - 5

(b) Write a Java program to find the sum of the digits of a given number. Create
a Swing GUI to get an input number and show the sum of its digits as shown
below. In case the sum cannot be found due to incorrect input, the applet
should print Not able to find sum. Check input.

(16)

12. (a)

Write a brief note on each one of the following RIA technologies:

AJAX

lex

Silverlight

JavaFX

(16)
Or

(b) Write a HTML5 code for creating a feedback form as shown below. Include
comments in code to highlight the markup elements and their purpose. The
HTML form should use POST for submitting the form to a program
ProcessContactForm.php.

(16)

B.BHUVANESWARAN / AP (SS) / CSE / REC - 6

13. (a)

Use a JavaScript and HTML to create a page with two panes. The first pane
(on the left) should have a text area where HTML code can be typed by the
user. The pane on the right side should display the preview of the HTML
code typed by the user, as it would be seen on the browser.

(16)

Or
(b) Assume that a database has a table Employee with two columns EmployeeId
and Name. Assume that the administrator user id and password to access the
database table are, scott and tiger. Write a JDBC program that can query and
print all the entries in the table Employee. Make a database connection using
a type2 driver database.driver and connection string jdbc:db:oci.

14. (a)

(16)

Create a Webserver based chat application using PHP. The application


should provide the following functions:

Login

send message (to one or more contacts)

Receive messages (from one or more contacts)

Add / delete / modify contact list of the user

Discuss the applications user interface and use comments in PHP to explain
the code clearly.

(16)
Or

(b) (i)
(ii)

List the essential features of XML parsers.

(8)

List at least five significant differences between DTD and XML


schema for defining XML document structures with appropriate
examples.

15. (a)

(8)

Compare and contrast the traditional web application architecture and AJAX
based web application architecture.

(16)
Or

(b) Describe the structure of a WSDL document, its elements and their purposes
with appropriate examples.

B.BHUVANESWARAN / AP (SS) / CSE / REC - 7

(16)

B.BHUVANESWARAN / AP (SS) / CSE / REC - 8

You might also like