Você está na página 1de 2

Shiba Ratna Tamrakar

The Most Important Question of Advance programming (Java)

Following question are the model questions for BCA 5th sem. A.P. exam. Students should also practice similar
question to in each topic? (Don’t only depend on it)

Note: VI stand for Very Important and I of very important

1. What do you understand by RMI. Describe RMI Architecture -12 M


2. What do you understand by RMI. Write a program using RMI to Add two numbers? 12M (VVI)
(Hints:- understand the concept how RMI program is written and you can also write other programs)
3. What do you understand by Applet? Differentiate an applet with a program? Describe Applet life cycle? (2+2+2)
6M (VI)
4. Describe JVM in Detail? How JVM helps java code to be executed in multiple OS platform? 12M (VI)
5. What is the difference between class, Abstract class and Interface? 6M
6. What is the Difference between process based Multitasking and Thread based Multitasking? 6M
7. Describe difference Thread states. How Thread can be implemented using Thread class and Runnable interface.
Why Runnable interface is more preferred to Thread class 12M (VI)
8. Differentiate Thread class and Runnable class with suitable example of each? (VI)
9. Write a applet program in which “BCA”, “Advanced Programmis” two string are supplied to applet from html
code. 6M (I)
10. What is the different between AWT and Swing? 6M (importance for 4 Mark question)
11. Describe different layout management in Java? 12M (VI)
12. Why layout management is required? Describe any two layout management in Java. 6M
13. Write a program in Java Read the content of one file and write the content to another files?
(hints: above is a example question and other similar question may come)
14. Describe the File class in java with suitable example which demonstrates different properties and method of
files? 6M
15. What do you understand by JDBC and ODBC? Describe the importance of JDBC-ODBC Bridge driver? 6M (VI)
16. What are the different type of JDBC drivers found in Java? Describe 12M (not so important)
17. Describe Statement Object. What do you understand by ResultSet? 6M (I)
18. Describe DriverManager? 6M (I)
19. Differentiate statement and PreparedStatement? 6M (I)
20. Why Java recommended Oracle but not to use MsAccess as backend database? 6M (enough to try for 3 Marks
question)
21. Describe URL class with suitable example? 6M
22. What is the difference between RMI and CORBA? 6M (Important for 3 marks)
23. Write short note on
a. CORBA
b. DCOM
c. Enterprise Java Beans(EJB)
d. RMI (Important)
24. What do you understand by Naming or registry service in RMI services? What is the limitation of RMI? How RMI
program can be compiled using java compiler write the command? (2+2+2) 6M
Shiba Ratna Tamrakar

25. What do you understand by Interface? How interface can be helpful in Object oriented programming? Write a
suitable program to demonstrate multiple inheritance. 12M (VI)
26. What do you understand by package? How package can be helpful in code security? Write a program to
demonstrate program with package? 12M (I)
27. What do you understand by vector? How vector is difference from array? Write a program to demonstrate
vector and array? 12M
28. What do you understand by exception handling? What are the different built in exception in java (Descript some
of them). Write a program with exception handling. 6M (I)
29. Write a applet program that consists of: (VVI)
a. Lables called “First number”, “second numbers” and “Sum”
b. 3 Textboxs
c. Sum values in first 2 textbox and display result in 3rd textbox.
d. 1 button called “ADD” When this button is clicked sum of 1st and 2nd text box will be dislayed to 3rd. 12M
(hints: above is a example question and other similar question may come)
30. Write a program to demonstrate applet program with graphics including Rectangle, line (blue color), Ellipse and
FillRectangle (Red color)? 6M (I)
31. Write a program to display the files in a Directory? 6M
32. What do you understand by Serialization? Explain with suitable example? 6M
33. Write a program using JDBC to connect the Ms-Access database and do following operations: (12M) (VI)
a. Insert 2 records
b. Update a record (Increase all records (salary) with 10% increment of current salary)
c. Delete a record
d. List all records
Field name Type
ID Number
Name Varchar(30)
Salary Number
(hints: above is a example question and other similar question may come)
34. Write a TCI/IP program to get number in client machine, server adds the sum and resend the result to client
using TCP/IP or UDP? 6M (VI)

Você também pode gostar