Ticker

6/recent/ticker-posts

BCA 2nd Year 2016 JAVA PROGRAMMING Paper Question Paper

BCA 2nd Year JAVA PROGRAMMING Paper Question Paper

BCA 2nd Year JAVA PROGRAMMING Paper 2013 Question Paper


JAVA PROGRAMMING Question Paper

2016

Part-A 10 x 1 = 10

Q.1 What is Synchronization?
Q.2 What is an Event?
Q.3 What is JVM?
Q.4 Define ODBC.
Q.5 Explain finally block.
Q.6 What is an abstract class?
Q.7 Define Instance of Operator.
Q.8 What is byte code? Q.9 Explain garbage collectors.
Q.10 What is Runnable Interface?

Part-B 5 x 2 = 10

Q.11 What is the difference between Class and Interface? Explain it with the program.
Q.12 Write a short note on the following -
(a) this
(b) super
(c) static
(d) abstract
Q.13 Explain all data types in detail.
Q.14 Why we use IDBC. Explain 5(five) steps to connect the database.
Q.15 What is the difference between String and String Buffer? Explain it with the program.

Part-C 10 x 3 = 30

UNIT – I
Q.16 What is multithreading and how does Java implement it? Also, explain the difference between synchronized method and synchronized block with a suitable program.
OR
Q.16 What is Thread? Explain the lifecycle of Thread. Write a program to create a digital clock using thread class.

UNIT – II
Q.17 What is an Exception? Explain Exception Handling in Java. Write a program to create Custom Exception in Java.
OR
Q.17 What is an applet? What is the difference between applet programming and programming? Write an applet program to generate a form that accepts the following data from the user
(a) User Name
(b) Password

UNIT – III
Q.18 What is AWT? What are the components of AWT? Write a program to create a simple AWT example by extending the frame class.
OR
Q.18 Write a short note on
(a) CORBA Services
(b) Bean Serialization
(c) Structure of CGI
(d) RMI
(e) Package