Professional Documents
Culture Documents
KINGS
COLLEGE OF ENGINEERING
QUESTION BANK
PART B
1. Write a detailed note on standard generalized mark up language. (16)
2. Explain how the server browser communication is established in CGI. (16)
3. Write short notes on Internet standards. (16)
4. Write short notes on MIME. (16)
5. What is SGML and explain about it. (16)
6. Explain TCP and UDP protocols in detail (16)
7. What is meant by CGI Explain in detail about CGI environment variable? (16)
8. a)Write a PERL program to retrieve environmental variables of a server (8)
b)Write a PERL program to validate form details (8)
9. List the 5 layers used by the internet. For each layer you list, give the general (16)
purpose for each layer as well as current implementation
13. Explain Java networking using sockets with your own example. (16)
14. 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)
PART B
1. Write short notes on HTML forms with a example (16)
2. Write short notes on i) image mapping ii) Links iii) Lists iv) Tables (16)
KINGS COLLEGE OF ENGINEERING 4
CS1401 – Internet Programming
3. Design your own personal webpage using forms and get the values .Use all the form
elements and validate the same using script. (16)
4. Write a HTML code to create the feedback form. (16)
5. Write short notes on JavaScript control structures. (16)
6. Explain the objects of java script. (16)
7. (a)Write a JavaScript program to validate a form (8)
(b)Write a JavaScript program to display date and time (8)
8. (a)Write a JavaScript program to generate random number (8)
(b)Write a JavaScript program to illustrate events and window object (8)
9. Write a HTML program for the registration of new customer to the Online Banking
System(Customer data collected using a form, after submitting account number (16)
and type of account and user name, password is displayed as output)
10. Write a JavaScript program to print a mark list of 10 students in a HTML table (16)
11. Write a JavaScript program that inputs a telephone number as a string in the form
of(555)555-5555.The script should use string method split to extract the area code (16)
as token, the first three digits of the phone number as a token, the last 4 digits of
the phone number as token. Display the area code in one text filed and seven
digit phone numbers in another text filed.
12. Explain how you could use HTML frames to provide a website that includes an (16)
advertisement for your company along with the content from any other web page,
Show that HTML you would need to do this, assume that for your example the other
Web page is www.yahoo.com. Make sure how it explains
13. Write a JavaScript function named draw stripes that will draw a number of (16)
colored stripes by generating an HTML table in which each row has different color.
Your function must accept 3 parameters
a) Width, width of each strip
b) Height, height of each strip
c) 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 )
PART B
1. Explain the use of cascading sheets with an example. (16)
2. Explain the role of DOM with example. (16)
3. Explain the various filters and transitions used in web designing with examples. (16)
4. Write shorts notes on events in DHTML. (16)
5. (a)Write a program to illustrate any one of the object in DOM (8)
(b)Write a program to illustrate any one of the keyboard events in DOM (8)
6. Write a program to connect a database to webpage (16)
7. (a)Explain in detail about adding a multimedia data to a web page ( 8)
(b)Explain in detail about adding a ActiveX control to a web page (8)
8. Write a DHTML program to handle any three mouse events (16)
9. Apply DHTML chroma and filter filters and reveal Trans transition for an image
PART B
1. What is JDBC? Write down the steps in establishing JDBC, Write a JDBC program to
update or insert a record into a database using JDBC connection in java. (16)
2. Write a web program for online shopping. (16)
3. Write short notes on servlets and life cycle of servlets. (16)
4. Write notes on (4+4+4+4)
a) Servlet interface
b) ServletConfig interface
c) Servlet Context interface
d) HTTP Servlet interface
5. (a)Write a simple servlet program to display the welcome note (8)
(b)Write a servlet program to get the context in which running (8)
6. (a)Write a servlet program to get the servlets configuration information (8)
(b)Write a servlet program to validate form details (8)
7. What is session tracking? Explain in detail about the role of cookies with a example (16)
8. Create a HTML form to get the name of the book, author of the book and using a servlet (16)
check whether the book exists in the database and if it exists, display the price of the book.
9. Write a program for Banking application using JDBC(consider 5 customer create a/c (16)
number and type, set some minimum balance for credit and debit operation and print
consolidated report for month wise transaction)
10. Explain how servlet deals HTTP get and post requests with an example program (16)