--------------------------------------------------------------------------------------------------------------------
17. Write a JavaScript program which compute, the average marks of the following students Then, this average is used to determine the corresponding grade.
Student Name | Marks |
David | 80 |
Vinoth | 77 |
Divya | 88 |
Ishitha | 95 |
Thomas | 68 |
The grades are computed as follows :
Range | Grade |
<60 | F |
<70 | D |
<80 | C |
<90 | B |
<100 | A |
18. Write a JavaScript function that generates all combinations of a string.
Example string : 'dog'
Expected Output : d,do,dog,o,og,g
19. Write a pattern that
matches e-mail addresses. The personal information part contains the following ASCII characters.
· Uppercase (A-Z) and
lowercase (a-z) English letters.
· Digits (0-9).
· Characters ! #
$ % & ' * + - / = ? ^ _ ` { | } ~
· Character. ( period,
dot or fullstop) provided that it is not the first or last character and it
will not come one after the other.
20. Write a JavaScript function that takes the
value in the text input and converts it from pound to kg and kg to pound .
The
conversion factor from pounds to kilograms is 0.45359237, and from kilograms to
pounds is 2.20462262.
Sample HTML Screen :
21. Write a JavaScript program to draw the
following rectangular shape.
Hint to Program: getContext, fillRect
22. Write a JavaScript program to draw a Triangle.
Hint to Program: beginPath(),moveTo
23. Write a JavaScript program to draw two
intersecting rectangles, one of which has alpha transparency.
Hint to Program: FillRect, FillStyle1.
24. Draw the Following
25. Write a Java Script
Program Using onchange event.
26. Write a Java Script Program using onblure event.
27. Write a Java Script Program using document.write .
28. Write a Java Script Program using document.writeln .
29. Write a Java Script Program using Radio button.
30. Write a Java Script Program for Checkbox object.
31. "Port Occupied" Error comes when oracle and glassfish server 3(NetBeans IDE during the installation) install on the same port, write the step how to remove the this error.
32. Write a servelet Program to say Hello World.
33. Create Table name as Student in Access Database with following columns
std_id, std_name, std_add insert data using JDBC Connectivity in the student tables servelet
1 Anil Jabalpur
2 Kumar Adhartal
3. Arvind Sadar
4. Narendra Ranji
5. Suresh Medical
34. In Student table has five record update the name Suresh to Anamika using JDBC connectivity procedure servelet.
35. Delete students from the student table whose id are 4 and 5 using JDBC connectivity servelet
.
36. Fetch and display (Extract) all the data from student table using JDBC connectivity servelet.
37.
Create Table name as Student in Oracle Database with following columns
std_id, std_name, std_add
insert data using
JDBC Connectivity in the student tables servelet
1 Anil
Jabalpur
2 Kumar Adhartal
3. Arvind Sadar
4. Narendra Ranji
5. Suresh Medical
38. In Student table has five record update
the name Suresh to Anamika using JDBC connectivity procedure servlet
using oracle database.
39. Delete
students from the student table whose id are 4 and 5 using JDBC connectivity
servelet using oracle database..
40. Fetch and
display (Extract) all the data from student table using JDBC connectivity
servelet using oracle database.
41. WAP to in Java Servlet to display
following information
1.
Cookies
information
2.
Name
of Method
3.
Query
String
4.
Request
URL details
5.
Name
of the protocol in tabular form.
42. WAP in JSP and Servlet. JSP Page
will accept values from the user, transfer these values as a parameter and
display to servlet page. Values are Name, Age, Address, Gender, MobileNo
43. WAP in JSP and Servlet. JSP Page will accept
values from the user, transfer these values as a parameter and display to
servlet page. Values are Name, Age, Address, Gender, MobileNo and insert into these
values in oracle database table name student_det.
44. WAP in Servlet to set the Cookies from the browser.
45. WAP in Servlet to get the Cookies from the browser.
46. WAP in Java to Create Remote Interface for RMI.
47. WAP in Java to Create and Run the server application.
48. WAP in Java to Create and Run the Client application.
49. Write a Program in JSP to Print Hello.
50. Write a Program in
Link: http://www.javatpoint.com/RMI
---------------------------------------------------------------------------------------------------------------------