0% found this document useful (0 votes)
86 views20 pages

AJ

Uploaded by

Ashish Gaikwad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
86 views20 pages

AJ

Uploaded by

Ashish Gaikwad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 20
Total No. of Questions : 5] SEAT No. } P-1924 [Total No. of Pages : 2 [6034]-603 T.Y. B.B.A. (Computer Application) CA-603: ADVANCED JAVA (2019 Pattern) (Semester - VI) (CBCS) Time : 24 Hours] [Max. Marks : 70 Instructions to the candidates : 1) All. questions are compulsory. 2) Figures to the right indicate full marks. @Q1) Attempt any EIGHT of the following : [8 x 2 = 16] a) List types of Resultset. 'b) What is IP Address? ¢) What is JDBC? d) What is servlet? e) What is cookies? f) What is UDP? 2) What is thread? h) What is socket? i) List the directives in JSP. j) What is networking? Q2) Attempt any FOUR of the following : [4x 4 = 16] a) List & explain all the interfaces used in JDBC. b) Differentiate between HTTP servlet and Generic servlet. ) Explain lif le of JSP with suitable diagram. PLO. d) What is synchronization? Explain. e) Write a java program to count number of records in a table? Q3) Attempt any FOUR of the following ; [4x4 = 16] a) Explain statement interface in detail. b) Explain Thread priority in detail. c) Differentiate between TCP socket and UDP socket. d) Write a java program to print “Hello Java” message 10 times. e) Write a java program to delete salary column from Emp table, Assume Emp table with attributes ENo, EName and salary is already created. Q4) Attempt any FOUR of the following : [4x 4 = 16] a) Write a java program to display IP Address of a Machine, b) Explain Architecture of Hibernate. c) Explain life cycle of servlet with suitable diagram. d) What is multithreading? Explain. ) Write a java servlet program to accept name from user & display on browser [use HTML]. Q5) Write a short note on Any TWO of the following : 12 x 3=6) a) notify(), notify All() & wait() b) Applications of spring. ¢) Connection Interface. ee [6034]-603 2 Total No. of Questions : 5] PA-1985 {Total No. of Pages : 2 [5954]-603 T.Y. B.B.A. (CA) CA - 603 : ADVANCED JAVA (2019 Pattern) (Semester - VI) Time : 2% Hours} {Max. Marks : 70 Instructions to the candidates: Ql, 22 1) All questions are compulsory. 2) Figures to the right indicate full marks. Answer the following (any eight) [8x2=16] a) Write down 2 methods of connection interface. b) What is () method in multithreading, c) What is the method to set the thread priority. d) Write down 2 classes used in socket programming. e) What is IP address, f) What is doGet () method of servlet? g) What are the parameters of service() method of servlet, h) What is JSP? i) — What is Hibernate? j) ~~ What is getConnection method? Attempt any four of the following, [4*4=16] a) What is statement? Explain the types of statements in JDBC. b) Explain thread life cycle with diagram. c) What are the implicit objects in JSP. Explain any 4. d) Write down the difference between doGet() and doPost()method e) Write a java program to count number of records in a table. PTO. Q3) Attempt any four of the following, [4*4=16] a) Explain Architecture of libernate. b) What is Result set interface in JDBC? Explain methods in Resultset interface. c) Explain JSP life cycle with diagram. d) Write a java program in to print from 100 to 1, (use sleep() method) e) Write a java program to create table student with attributes Rno, Sname, Per, 4) Attempt any four of the following, [4x4=16] a) What are the states of the object in hibernate? b) What is session tracking? What are the different ways of session tracking inservlet c) What is thread Priority? How to set the thread priorities? d) Write a JSP application to accept a user name and greet the user. ¢) Write a java program to display IP address of a machine. QS) Write a short note on any two of the following [2x3=6] a) Connection interface. b) Runnable interface ©) Thread synchronization 90090 [5954]-603 2 ‘Total No. of Questions : 5] P2145 [Total No. of Pages : 2 [5803]-603 B.B.A. (CA) CA-603 : ADVANCED JAVA (2019 Pattern) (Semester - VI) Time : 244 Hours} (Max. Marks : 70 Instructions to the candidates: 1) All questions are compulsory. 2) Figures to the right indicate full marks. Q1) Attempt any Eight of the following : (8 x 2 = 16] a) Whaat is the use of cookies? b) What is the use of Runnable interface? c) Explain thread priority. d) What is the use of HQL? e) What are the directives in JSP? f) What is networking? g) Write the method for creating connection? h) What is the yield () method? i) — What is the use of socket class’ i) What is servlet? Q2) Attempt any Four of the following : [4x 4 = 16] a) Explain in details directives in JSP. b) Explain inter thread communication with an example. ¢) Differentiate between statement and prepared statement interface. d) Explain the life cycle of thread. ¢) Explain methods of serversocket class with syntax. PTO. Q3) Attempt any Four of the following : [4x 4 = 16] a) What is the difference between execute ( ), executeQuery ( ) and executeupdate ()? b) Explain an architecture of hibernate? c) Explain methods of socket class with example. d) Write a JSP program to accept Name & age of voter and check whether he/she is eligible for voting or not. ©) Write a JDBC program to delete the records of employees whose names are starting with ‘A’ character. 4) Attempt any Four of the following : [4x 4 = 16] a) Write advantages and disadvantages of spring. b) Explain JSP tags with example. c) What are the advantages and disadvantages of multithreading? d) Write servlet program to accept two numbers from user and print addition of that in blue colour. e) Write a JDBC program to display the details of employees (eno, ename, department, sal) whose department is ‘Computer Application’. Q5) Write a short note on Any Two of the following : [2 x 3=6] a) Run method b) Statement interface c) HitpServiet. [5803]-603 2 Total No. of Questions—5) [Total No. of Printed Pages—2 Seat Ne [5517]-602 B.B.A. (C.A.) (VI Sem.) EXAMINATION, 2019 602 : ADVANCE JAVA (2013 PATTERN) Time : Three Hours Maximum Marks : 80 NB. — (i) All questions are compulsory. (ii) Figures to the right indicate full marks. (iii) Answer of sub-questions of each question should be attempted at one place. It should not be written separately. 1. Answer the following (any eight) : [8x2=16] (i) What is jdbe-api ? ii) What is Servlet Config ? (iii) What is accept() method in networking ? (iv) What is sleep() method ? (v) Give syntax of loading Driver Manager. (vi) Define Port. (vii) What is yield() method ? (viii) What is Stub and skeleton ? (ix) What is Scriptlet tag ? (x) What is builder tool ? 2. Answer the following (any four) : [4x4=16] (a) Explain difference between Statements and Prepared Statement. (6) What is Thread ? Explain different ways to implement thread in program. (c) Explain RMI Architecture with a suitable diagram. (d) Write a JDBC Program to delete the record of employee using command line argument. (ce) Write a multithreading program in Java using Runnable interface to draw temple flag on an applet container. P.T.O. 3. Answer the following (any four) : (4x4=16) (a) Explain various components of JSP ? (6) What is JAR file ? Explain steps to create it. (c) Explain Inter Thread Communication in Multithreading. (d) Write a JDBC Program to Insert the record into patient table (use prepared Statement). (e) Write a JSP Program to accept user and check whether it is prime or not. 4. Answer the following (any four) : [4x4=16] (2) Explain different types of servlet with an example. (b) Explain Socket and Server Socket. (c) What is Beans ? Explain its advantages in brief. (d) Write a Multithreading program in Java to display all the alphabets from A to Z after 3 seconds. (e) Explain JDBC Drivers with a suitable diagram. 5. Attempt any two : [2x8=16] (a) Write a Socket program in Java to check whether given file is present on server or not, If it is present then display its content on the server’s machine otherwise display error message. Or Write a Java program to accept file name from user, check if it is available on server machine or not, if it is available the display its contents on client machine otherwise display the message “File Not Found”. (6) Write a JSP script to check whether given mail ID is valid or not. (Mail ID should contain one @ symbol and at least one Dot(.) symbol). Or Write a Servlet program to display the details of employee in tabular format. Employee table structure (eno, ename, sal, design) (5517]-602 2 Total No. of Questions—5] BBA. Time : Three [Total No. of Printed Pages—3 [5417]-602 (C.A.) (VI Semester) EXAMINATION, 2018 602 : ADVANCED JAVA (2013 PATTERN) Hours Maximum Marks : 80 N.B. :— (i) All questions are compulsory. (ii) Figures to the right indicate full marks. (iii) Answer of sub-questions of each question should be attempted at one place. It should not be written separately. 1. Answer the following (any eight) : [8x2=16] (a) What is difference between sleep() and interrupt() method ? (6) What is ThreadGroup class ? (c) What are the different types of servlet ? (@) What is jdbe-api ? (e) What is use accept() method ? (fP What is introspection ? (@) What is ServletConfig ? (h) Which type of Exception will be thrown by forName() method ? () What is use of getLocalHost()method ? () What is use of DriverManager class ? PTO. 2. Answer the following (any four) : [4x4=16] (a) Explain life cycle of servlet. (’) What is jar file ? How is it created ? (c) Explain Synchronization with an example. (d) Write a java program to update the salary of given employee and display updated details. Assume emp (eno, ename, sal) table is already created. (e) Write a socket program to display date and time of server's machine on client machine. 3. Answer the following (any four) : [4x4=16] (a) Explain the components of JSP. (6) Write a java program for bouncing ball. (c) Differentiate between Statement and PreparedStatement. (d) Explain architecture of RMI. (e) Write a java program to display all the alphabets from ‘A’ to ‘2? after every 3 seconds. 4. Answer the following (any four) : [4x4=16] (a) Explain life eycle of Thread. (6) Write a JSP program to display all the prime numbers between 1 to n in red color. (c) What is bean ? Explain its advantages in brief, (d) Explain JDBC process in detail. (e) Write a java program for drawing flag. (5417-602 2 5. Attempt the following : [28=16] (a) (by [5417]-602 Write a socket program for standalone chatting application. Assume Client and Server are on different’ machines. Or Write a java program to accept file name from a user, check it is available on server machine or not, if it is available then display its contents on client machine otherwise display the message “File Not Found”. Assume Client and server are on different machines. Write servlet program to display the details of employee on browser in tabular format. Assume emp(eno, ename, sal, designation) table is already created. Or Write a servlet program to accept the details of student (ro, sname, per, class) and store it into the database. (Use Prepared Statement Interface). Total No. of Questions—5) [Total No. of Printed Pages—8 Se No. [5363]-602 B.C.A/B.B.A (CA) (Semester-VI) EXAMINATION, 2018 602-ADVANCED JAVA (2013 PATTERN) Time : Three Hours Maximum Marks : 80 NB. :— (i) All questions are compulsory. (ii) Figures to the right indicate full marks for the questions. 1. Attempt the following (any eight) : [2x8=16] (a) What is Thread ? How to set the priority of Thread. (b) What is RMI Registry. (c)} What is the role of Prepared Statement ? (d@) Explain the types of Servlet. (e) What is the use of for Name() method ? () Write names of JSP Directives. (g) What is Cookie ? (h) What is the use of manifest.txt file ? (i) What is the use of setMaxInactivelnterval () method. (What is the use of getLocalHost () method ? 2. Answer the following (any four) [4x4=16] (a) Explain JDBC Drivers, PTO. 2) Explain RMI Architecture with suitable diagram. (o) Explain the difference between TCP/IP and UDP. (d) Write a JDBC program to accept the details of customer (CID, CName, Address, Ph_No.) and store it into the database (Use Prepared Statement. interface). (® Write a Multithreading program in Java to display the numbers between 1 to 100 continuously in a TextField by clicking on button. (use Runnable Interface). 3. Answer the following (any four) : [4x4=16] (a) What is Thread ? Explain thread life cycle with diagram. ()) Explain JSP tags with example. (o) Explain servlet life cycle with suitable diagram. (d) Write a Java program using multithreading to execute the threads sequentially (Use Synchronized Method) (&) Write a JDBC program in Java to update an address of given customer (cid, cname, address) and display updated details. 4. Attempt any four : [4x4=16] (a) State purpose of : () Statement (i) Connection Gif) Result set Gv) Driver Manager.

You might also like