Friday, May 7, 2021

Adv. Java

Slip 1 

Q1. Write a java program to display IP Address and Name of client machine.        [15]

Q2. Write a JSP script to accept username, store it into the session, compare it with password in another jsp file, if username matches with password then display appropriate message in html file. [25]   

Slip 2

Q1. Write a multithreading programin java to display all the vowels from a given String.(Use Thread Class)                                                                                                                                       [15]

 Q2. Write a SERVLET program which counts how many times a user has visited a web page. If user is visiting the page for the first time, display a welcome message. If the user is revisiting the page, display the number of times visited. (Use Cookie)                                                                            [25]                           

Slip 3

Q1. Write a JDBC program to displays the details of employees (eno, ename, department, sal) whose department is “Computer Science”.                                                                                          [15]

 Q2. Write a java program to simulate traffic signal using multithreading.                             [25]

Guideline:

                 Q2. Allow the students to use either Applet or AWT for writing an application.

Slip 4

Q1. Write a java program to display“Hello Java” message n times on the screen. (Use Runnable Interface).                                                                                                                                 [15]

 Q2. Write a JSP program to create an online shopping mall. User must be allowed to do purchase from two pages. Each page should have a page total. The third page should display a bill, which consists of a page total of whatever the purchase has been done and print the total.          (Use Session)

                                                                                                                                                [25]

No comments:

Post a Comment

Slip 10. Write a jQuery code to make first word of each statement to bold.

  Slip 10. Write a jQuery code to make first word of each statement to bold.  <!DOCTYPE html> <html>   <head>     <scri...