java end sem
java end sem
Question bank
Sr.
Question Text Marks
No.
1 Explain TCP/IP Client Socket and its methods. 3
2 Explain TCP/IP Server Socket and its methods. 3
3 What is a Datagram socket? Explain it with Example. 8
Write a TCP or UDP client and server program to do the following:
Client>LocalHost/IP Port<enter>
4 Enter text:WelcomeSOU<enter> 8
Response from server:
uos EMOCLEw
5 Explain Inet Address in detail. 4
6 Describe the URL and URLConnection class in detail. 4
7 Explain RMI Architecture. 4
8 Explain RMI components 3
Write a TCP or UDP client and server program to do the following:
Client>LocalHost/IP Port<enter>
9 Enter text:WELCOME SOU<enter> 8
Response from server:
welcome sou
10 Write a Short note on JDBC Architecture. 4
11 What is JDBC Connection? Explain Steps to get Database Connection. 4
12 Which package is used to perform almost all JDBC operations? 3
13 List JDBC API components. Explain in brief. 4
14 List JDBC driver. Explain JDBC – TO-ODBC bridge driver (Type-1). 4
15 List JDBC driver .explain JDBC .NET pure java driver (Type -3) 4
What is a JDBC connection? Explain steps to get database connection using
16 8
java program.
17 Give the use of the following class: 1.driver managers 2. Connection. 4
18 Develop a JDBC application that uses any JDBC drivers to display all records. 8
19 Develop a JDBC application that uses any JDBC drivers to delete a record. 4
20 Develop a JDBC application that uses any JDBC drivers to insert a record. 4
21 Write the steps to develop a JDBC application with proper examples. 8
22 List advantages and disadvantages of using JDBC API 4
23 Explain JDBC prepared statements. 4
24 Write a short note on JDBC architecture. 4
25 Write a brief note on three tier database design. 3
26 What is the difference between doGet () method and doPost () method? 4
27 What is Servlet?Explain the life cycle of Servlet. 8
28 Write a Servlet to read and display parameters using the doGet method. 4
29 Create a web form which processes servlets and demonstrates use of cookies? 8
30 Write a short note on Reading initialization parameters in servlet? 4
31 What is http/servlet Technology? 3
32 List the Methods of cookie class 3
33 Explain session tracking with examples. 3
34 Explain the advantages of Servlet. 3
35 Describe HTTPServlet class with its methods with syntax. 3
36 Explain JAVA servlet development kit 4
37 Difference between JSP and Servlet. 4
38 Develop JSP code to retrieve data from MySQL database. 8
39 Explain the architecture of JSP with a neat diagram. 4
40 Explain JSP Expressions 3
41 Explain the life cycle of JSP. 4
42 Write a JSP program of user login form with static data 4
43 Explain relation of applets and servlet with JSP 3
44 Explain JSP scripting elements. 8
45 Write a simple JSP program to print “HELLO”. 4
46 Explain <scriptlet> tag with syntax 4
Develop a JSP program to display the grade of a student by accepting the
47 marks of five subjects 8
48 Develop a JSP application to insert records in MySQL database. 4
49 What is JSF explain in detail 3
Explain JSF request processing Life
50 4
cycle.
51 Explain JSF Facelets Tag. 4
52 Explain JSF Validation Tag 4