0% found this document useful (0 votes)
110 views

CSE WT Lab Questions

The document contains 18 programming problems related to HTML, JavaScript, JDBC, Servlets, and JSP. Problem 18 asks to write a program to demonstrate different cursor positions using CSS styles applied to anchor tags. The given code demonstrates this by applying different cursor styles like crosshair, help, pointer, etc. to anchor tags and displaying the text. Problem 19 asks to write a program to demonstrate layers using CSS positioning and z-index properties. The given code creates 4 div layers with different positions, colors, fonts and z-index to demonstrate layering.

Uploaded by

sunnykesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
110 views

CSE WT Lab Questions

The document contains 18 programming problems related to HTML, JavaScript, JDBC, Servlets, and JSP. Problem 18 asks to write a program to demonstrate different cursor positions using CSS styles applied to anchor tags. The given code demonstrates this by applying different cursor styles like crosshair, help, pointer, etc. to anchor tags and displaying the text. Problem 19 asks to write a program to demonstrate layers using CSS positioning and z-index properties. The given code creates 4 div layers with different positions, colors, fonts and z-index to demonstrate layering.

Uploaded by

sunnykesh
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

1) HOME PAGE: The static home page must contain three frames.

Top frame : Logo and the college name and links to Home page, Login page, Registration page, Catalogue page and Cart page (the description of these pages will be given below). Left frame : At least four links for navigation, which will display the catalogue of respective links. For e.g.: When you click the link CSE the catalogue for CSE Books should be displayed in the Right frame. Right frame: The pages to the links in the left frame must be loaded here. Initially this page contains description of the web site. 2. Write JavaScript to validate the following fields of the above registration page. Name (Name should contains alphabets and the length should not be less than 6 characters). 1. Password (Password should not be less than 6 characters length). 2. E-mail id (should not contain any invalid and must follow the standard pattern [email protected]) 3. Phone number (Phone number should contain 10 digits only). 3. Write a Program on Orderlist? 4. Write a Program on Nested list? 5. Write a Program to demonstrate Horizontal and vertical frames? 6. Write a Program to demonstrate External CSS? 7. Write a Program to demonstrate Marquee tag? 8. Write a Program to accept a single digit number and to print that in words? 9. Write a Program to demonstrate Multiplication table using Functions? 10. Write a Program to display the Output of the Current Date and Time as fallows 14 NOV, MON, 2011:18:58:51? 11. Develop a DTD for a Student information system with following details. A college has college name, college address and students. A students has one or more entries of students each student has name, class and address using External DTD 12. Write a Program to demonstrate Addition of two numbers using JavaScript? 13. Write a JDBC Program on Select command using Type1 or Type 2 driver? 14. Write a JDBC Program on Insert command using Type1 or Type 2 driver? 15. Write a JDBC Program on delete command using Type1 or Type 2 driver? 16. Write a Program to demonstrate Table using Cell Spacing and Cell Padding? 17. Write a Program to demonstrate Row Span? 18. Write a Program to demonstrate the Cursor positions? 19. Write a Program to demonstrate the Layers? 20. Write a Servlet Program on Addition of two numbers? 21. Write a Servlet Program that displays the Current date and time? 22. Write a java program on life cycle method of Servlet? 23. Write a Program on PostParametersServlet?

24. Write a validation program that contains Username and password using Servlets? 25. Write a program on Httpgetrequest using Servlets? 26. Write a program on SessionTracking using Servlet? 27. Write a java program to retrive the data from database using Servlets? 28. Write a java program on Cookies using servlet? 29. Write a JSP program on include directive? 30. Write a JSP program that displays the current date and time? 31. Write a JSP program to find the greatest of two numbers? 32. Write a JSP program to find the square of a number?

18. Write a Program to demonstrate the Cursor positions? <html> <head> <title>Cursor Styles</title> <style> a{font-family:"Times New Roman";font-size=21;color;olive} .xlink {cursor:crosshair} .hlink {cursor:help} .ptrlink {cursor:pointer} .tlink {coursor:progress} .plink {cursor:progress} .wlink {cursor:wait} .nszlink {cursor:n-resize} .eszlink {cursor:e-resize} .seszlink {cursor:se-resize} .neszlink {cursor:ne-resize} .mlink {cursor:move} </style> </head> <body>

<a class="xlink">crosshair</a><br> <a class="hlink">help</a><br> <a class="ptrlink">pointer</a><br> <a class="tlink">text</a><br> <a class="plink">progress</a><br> <a class="wlink">wait</a><br> <a class="nszlinklink">n/s-resize</a><br> <a class="eszlink">e/w-resize</a><br> <a class="neszlink">ne/sw-resize</a><br> <a class="seslink">se/nw-resize</a><br> <a class="mlink">move</a> </body> </html> 19. Write a Program to demonstrate the Layers? <html> <head> <title>layers</title> </head> <body> <div style={position:relative;font-size:50px;z-index:2}>LAYER1</div> <div style={position:relative;top:-50;left:5;color:red;fond-size:80px;zindex:1}>LAYER2</div> <div style={position:relative;font-size:50px;z-index:2}>LAYER1</div> <div style={position:relative;top:-50;left:5;color:red;fond-size:80px;zindex:1}>LAYER2</div> </div> </body> </html>

You might also like