You are on page 1of 6
Va pe Total Pages : 6 BCAS/502 B.C.A. V Semester Examination 2017-18 JAVA PROGRAMMING PAPER-II Time : Three Hours Maximum Marks : 80 PART-A [Marks : 20 Answer all questions ($0 words each). All questions carry equal marks. PART -B [Marks : 40 Answer five questions (250 words each). Selecting one from each unit. All questions carry equal marks. PART-C [Marks : 20 Answer any two questions (300 words each). All questions carry equal marks. BCAS-502/80 LEO: PART-A UNIT -I 1. @) What is the base class in Java from which all classes are derived ? Gi) How can we make copy of a java object ? UNIT - I Gi) . What is the access scope of protected access specifier in inheritance ? (iv) “When "super" keyword is used ? UNIT - 0 (v) Describe different states of a thread ? (vi) Draw the hierarchy of exception classes ? UNIT - IV (vii) Difference between applet & application ? BCAS-502/80 2 (viii) When does an applet need to use threads ? UNIT-V (x) What is panel in Java Swing ? (x) Define JFC ? PART -B UNIT -I 2. How java provides better application development environment than C++ ? 3. What is JVM ? Explain the architecture of JVM ? UNIT - IT 4. Differences between : (a) Final and abstract BCAS-502/80 3 BLO; (b) Inheritance and interface 5. Create a package called "pack 1", and then use the package in your program to calculate simple interest ? UNIT - 01 6. Difference between process-based and thread-based multitasking ? Describe thread priorities and synchronization ? 7. What do you mean multithreading ? Explain suspending, resuming and stopping threads in java ? UNIT -IV 8. Write a program to play an audio file in an Applet ? 9. Write a program to display image in an Applet ? BCAS-502/80 4 10. ll. 12. 14. UNIT -V Write short notes on Layout managers. Write a program in java to illustrate the use of JList swing control ? PART -C UNIT -I Discuss various features of java and its applications 2 UNIT - 11 - What is a Package ? Discuss access Protection in java classes and Packages with example ? UNIT - 0” Difference between : (a) sleepQ and wait() BCAS-502/80 5 PTO. (b)_notify() and notify Ald (©) checked and unchecked exception UNIT - Iv 15. What is event delegation model ? What are its basic components ? Write a program to simulate a simple calculator using AWT. UNIT - Vv 16. Explain and compare features of swing with AWT. What are advanced controls of swing ? BCAS-502/80 6

You might also like