Theory Question Paper

Practical Question Paper

Sample paper 1

 

1.Write a java program using AWT to present a set of choices for a user to select Stationary products and Display the price of Product after Selection from the list.

20

2.Create a JSF application to demonstrate the use of built – in validation.

20

3.Viva

5

4.Journal

5

Sample paper 2

1.

Write a java program using Swing to demonstrate typical Editable Table, describing employee details for a software company.

20

2.

Develop a JSP application to allow the user to modify the registration details after the valid authentication.

20

3.

Viva

5

4.

Journal

5

Sample paper 3

1.

Write a Java Program using Swing to dynamically add Components in the List.

20

2.

Write a simple JSP application to demonstrate the use of implicit object (at least 3 methods of 4 objects).

20

3.

Viva

5

4.

Journal

5

Sample paper 4

1.

Write a Java Program using Swing to demonstrate various Features using SimpleAttributeSet Class.

20

2.

Develop simple application to demonstrate accessing Session Bean using EJB.

20

3.

Viva

5

4.

Journal

5

Sample paper 5

1.

Write a Java Program using Swing to demonstrate creation of File and Edit Menu with appropriate submenus.

20

2.

Developing a hibernate application to store feedback of website visitor.

20

3.

Viva

5

4.

Journal

5

Sample paper 6

1.

Write a Java Program using Swing to authenticate user’s username and password.

20

2.

Create the Email validator example using struts.

20

3.

Viva

5

4.

Journal

5

Sample paper 7

1.

Implement a swing program to demonstrate use JTree with at least 3 Tree Nodes and sub nodes.

20

2.

Develop a JSP application to authenticate user login with database.

20

3.

Viva

5

4.

Journal

5

Sample paper 8

1.

Implement a swing program to demonstrate use of JList with changeable choices.

20

2.

Develop servlet application to demonstrate basic calculator.

20

3.

Viva

5

4.

Journal

5

Sample paper 9

1.

Display the software loading process by using of Progress Bar.

20

2.

Develop servlet application for accepting user registration details and displaying it on another page (At least 6 Values).

20

3.

Viva

5

4.

Journal

5

Sample paper 10

1.

Implement a swing program to demonstrate use of JColorChooser.

20

2.

Developing a hibernate application to store feedback of website visitor.

20

3.

Viva

5

4.

Journal

5

Sample paper 11

1.

Write a java program using Swing to demonstrate typical Editable Table, describing employee details for a software company.

20

2.

Develop simple application to demonstrate accessing Session Bean using EJB.

20

3.

Viva

5

4.

Journal

5

Sample paper 12

1.

Write a Java Program using Swing to dynamically add Components in the List.

20

2.

Develop a JSP application to allow the user to modify the registration details after the valid authentication.

20

3.

Viva

5

4.

Journal

5

Sample paper 13

1.

Write a Java Program using Swing to demonstrate various Features using SimpleAttributeSet Class.

20

2.

Create Simple Email Validator using Struts.

20

3.

Viva

5

4.

Journal

5

Sample paper 14

1.

Write a Java Program using Swing to demonstrate creation and use of Popup Menu.

20

2.

Develop Servlet Application of Basic Calculator (+,-,*, /, %) using ServletInputStream and ServletOutputStream.

20

3.

Viva

5

4.

Journal

5

Sample paper 15

1.

Write a java program using Split pane to demonstrate a screen divided in two parts, one part contains the names of Planets and another Displays the image of planet.

When user selects the planet name form Left screen, appropriate image of planet displayed in right screen.

20

2.

Create a JSF application to demonstrate the use of build – in validation.

20

3.

Viva

5

4.

Journal

5

Sample paper 16

1.Implement a swing program to demonstrate use JTree with at least 3 Tree Nodes and sub nodes.

20

2.Create a JSF application to demonstrate the use of build – in validation.

20

3.Viva

5

4.Journal

5

Sample paper 17

1.Write a java program using Swing to demonstrate typical Editable Table, describing employee details for a software company.

20

2.Develop servlet application to demonstrate basic calculator.

20

3.Viva

5

4.Journal

5

Sample paper 18

1.Write a Java Program using Swing to demonstrate various Features using SimpleAttributeSet Class.

20

2.Write a simple JSP application to demonstrate the use of implicit object (at least 3 methods of 4 objects).

20

3.Viva

5

4.Journal

5

Sample paper 19

1.Implement a swing program to demonstrate use of menu. Create at least 2 menus and submenus.

20

2.Create Simple Email Validator using Struts.

20

3.Viva

5

4.Journal

5

Sample paper 20

1.Write a java program to demonstrate typical Editable Table, describing employee details for a software company.

20

2.Developing a hibernate application to store feedback of website visitor.

20

3.Viva

5

4.Journal

5

Sample paper 21

1.Implement a swing program to demonstrate use JTree with at least 3 Tree Nodes and sub nodes.

20

2.Develop servlet application for accepting user registration details and displaying it on another page (At least 6 Values).

20

3.Viva

5

4.Journal

5

Sample paper 22

1.Implement a swing program to demonstrate use of Progress Bar.

20

2.Develop servlet application for accepting user registration details and displaying it on another page (At least 6 Values).

20

3.Viva

5

4.Journal

5

Sample paper 23

1.Write a Java Program using Swing to demonstrate creation and use of Popup Menu.

20

2.Develop servlet application of basic calculator.

20

3.Viva

5

4.Journal

5

Sample paper 24

1.Implement a swing program to demonstrate use of JColorChooser.

20

2.Develop a JSP application to authenticate user login with database.

20

3.Viva

5

4.Journal

5

Sample paper 25

1.Develop a web application to allow the user to enter two numbers and select an operation [ +,-,*,/ ] in an HTML file. When the user clicks “Calculate” button, call a servlet to compute the answer and display it to the user.

20

2.Develop a GUI application using Java Swing API to divide the screen horizontally, on one side display a list of planets. When the user clicks on a planet display the image of the planet in the other region

20

3.Viva

5

4.Journal

5

1.Develop a web application using JSP to allow the user to login by entering the user id and the password, when the user clicks on “Login” button, call a JSP page to authenticate the login, if successful take the user to “welcome.html”, otherwise display “Login Failed”, and allow the user to re-login. [Login(userid: varchar, password:varchar)]

20

2.Develop a GUI application using Java Swing API to divide the screen vertically, on one side display a list of planets. When the user clicks on a planet display the image of the planet in the other region.

20

3.Viva

5

4.Journal

5

Sample paper 26

1.Develop a web application to allow the user to enter inventory details [Product name, Product Price and Quantity]. When the user clicks on button “Store”, call a bean to add the inventory details into the database using JDBC API. Display the appropriate message.

20

2.Develop a Java GUI application using Java Swing API to display employee details [First Name, Last Name, DOB, Position, Qualification, Experience] in a tabular format.

20

3.Viva

5

4.Journal

5

Sample paper 27

1.Use RequestDispatcher in the following example.

Design a form to accept username and password from user. If password is equal to ‘admin’ then the control should go to Welcome Servlet which displays ‘Hello’ with the username entered. If password is not equal to ‘admin’ then control should go to Error Servlet which displays ‘Error in Login’.

20

2.Create a ‘Click’ button. When clicked on this button a color dialog box should be displayed to choose colors from it. Whichever color is selected by user it should get applied as the background color of the panel.

20

3.Viva

5

4.Journal

5


Sample paper 28

1.Create 3 tabs. First tab should be for ‘Soups and Starters’ which displays the soup name, starter name and order button. Second tab should be for ‘Main Course’ which shows the main course for the day and quantity to be entered by user with an order button. Third tab should be for ‘Desserts’ which consists of a combo box displaying flavors of ice cream in combo box.

Add a button onto frame which removes the tab you want to remove. When clicked on ‘Remove’ button input dialog should be displayed asking the tab number you want to remove.

20

2.Write a JSP to accept eno, ename and salary. Insert these records in emp. (Create the emp table with these three fields)

20

3.Viva

5

4.Journal

5

Sample paper 29

1.Write a JSP that takes login details from the user and forward the request to ‘login.jsp’ for ‘Successful login’ message if username and password is equal to admin otherwise display an error message ‘Access Denied’.

20

2.Write EJB that calculates simple interest and compound interest for principal, number of years and rate of interest.

20

3.Viva

5

4.Journal

5

Sample paper 30

1.Create a button ‘Start’ and a progress bar to show the progress percentage. When clicked on ‘Start’ button the progress bar should start progressing and the user shouldn’t be able to click on ‘Start’ button when progress bar is in progress. The string ‘Downloading is in process…’ should be displayed when progress bar is progressing. After progress is completed a string should be displayed ‘Download Completed’.

20

2.Develop servlet application of basic calculator.

20

3.Viva

5

4.Journal

5

Sample paper 31

1.Create a simple menu by using swing components.

Create a simple menu by using swing components.
When Exit is selected then confirm dialog should be displayed with confirmation message ‘Are you sure to close’. If clicked on ‘Yes’ button then window should get closed.

40
2.Viva

5

3.Journal

5

Sample paper 32

1.Write a program to create an Applet that displays “Mouse Clicked” when the ‘MouseClicked’ event occurs and “Mouse Dragged” when the ‘MouseDragged’ event occurs. The program must also demonstrate the use of Adapter classes and InnerClasses.

20

2.Write a JSP to accept eno, ename and salary. Insert these records in emp.

(Create the emp table with these three fields)

20

3.Viva

5

4.Journal

5

Sample paper 33

1.Write a program to create an Applet that displays “Mouse Clicked” when the ‘MouseClicked’ event occurs and “Mouse Dragged” when the ‘MouseDragged’ event occurs. The program must also demonstrate the use of Adapter classes and InnerClasses.

20

2.Develop servlet application of basic calculator.

20

3.Viva

5

4.Journal

5

Sample paper 34

1.Write a program to create an Applet that displays “Mouse Clicked” when the ‘MouseClicked’ event occurs and “Mouse Dragged” when the ‘MouseDragged’ event occurs. The program must also demonstrate the use of Adapter classes and InnerClasses.

20

2.Develop servlet application of basic calculator.

20

3.Viva

5

4.Journal

5

Sample paper 35

1.1. Develop a web application to add items in the inventory using Java Server Faces.

[Inventory (ItemName: varchar, Price: int, Quantity: int)]

40
2.Viva

5

3.Journal

5

Sample paper 36

1.Develop a web application using Java Servlets, to provide a set of question [5
Questions minimum] to the user. Each question should have four options, from
which the user should be able to selection only one. When the user clicks on
button “Done”, call a servlet to compute and display the score of the user [number
of correct and incorrect answers.]

20

2.Develop a GUI application using Java Swing API to present a set of stationary
items (combo box) to the user. When the user clicks on a particular stationary
item, display the price of the item.

Develop a GUI application using Java Swing API to present a set of stationary

20

3.Viva

5

4.Journal

5

Sample paper 37

1.Develop a web application using JSP to allow the user to register via an HTML
page. When the user clicks on button “Register” call a JSP page to add the entered
details to the database using JDBC API. [Registration(fname:varchar,
lname:varchar, email:varchar, userid: varchar, password:varchar)]

20

2.Develop a GUI application using Java Swing API to present a set of stationary
items (list) to the user. When the user clicks on a particular stationary item,
display the price of the item.

Develop a GUI application using Java Swing API to present a set of stationary

20

3.Viva

5

4.Journal

5

Next Page > Linux Administration papers

Comment down below if you have any questions and don’t forget share with your classmates.