October 29, 2011

CS1401 Internet Programming question papers Nov/Dec 2007 Previous Year Anna university question papers Download


Seventh semester
Computer Science and Engineering

CS 1401 - Internet Programming
(Regulation 2004)

Time: 3 hours                                                                Maximum marks: 100
Answer ALL questions

PART A (10 x 2 =20 marks)

1.What is the primary function of an HTTP server?

2.What is the difference between an absolute pathname and a realative pathname?

3. For each of the following, write down the value that will be stored in result
double result;
int num1=5,num2=12,num3=2;
double val1=5.0,val2=12.0,val3=2.0;



4.What is an important difference between writing a Java application and a Java Applet?

5. What is the benefit of using Java script code in an HTML document?

6. For the following form, write down the Javascript code to swap the contents of the two text boxes

7. Which function can be used to create an alert popup dialog box? Write an example to create an Alert popup box.

8. State the commands in cascading style sheet used for grouping of elements.

9. What is servlet? How do you compare servlet and traditional CGI programs?

10. How can you create JDBC statement?

PART B (5 x 16 = 80)

11.(a) List the five layers used by the Internet. For each layer you list, give the general purpose of each layer as well as a current implementation (16)


(b) Explain the concept of TCP data transmission (16)


12.(a) Write a program in Java that determines and prints the number of odd, even and zero digits in an integer value read from the keyboard (16)


(b) What is the use of the applet? Explain its lifecycle with an example (16)


13.(a) Write a java script function named draw stripes that will draw a number of colored stripes generating an HTML table in which each row has a (possibly) different color. Your function must accept three parameters

    * width, the width of each stripe

    * height, the height of each stripe

    * colors, an array in which each element is the name of a color. Each color name is a valid HTML, color (can be used as the value of a BGCOLOR attribute or CSS color property). (16)


(b)Explain how you could use HTML frames to provide a website that includes an advertisement for your company along with the content from any other webpage. Show that HTML you would need to do this, as you that for your example the “other webpage” is WWW.yahoo.com. Make sure that you explain how this work.

14(a) Write a program using Cascading Style Sheet (CSS) to display the background image repeatedly in a file. (16)


(b) Describe the use of data binding and data control in DHTML (16)

15. (a).Explain Java servlet life cycle and interfaces in detail (16)


(b).Describe the operation of retrieval of a webpage with its associated messages using HTTP. (16)



Post a Comment

Get Syllabus in your Mail





Anna university Engineering Syllabus

Earn Money From Online

Government jobs in india

Admission Notification

Total Pageviews


Privacy Policy