Faculty of Science
School of Basic Sciences
Department of Computer Applications
Bachelor of Computer Applications
End -Term Semester Examination, Dec, 2021-22
CA 2103 - Object Oriented Programming using Java
(CLOSED BOOK)
Duration: 2 Hours Max. Marks: 40
Instructions:
• Answer any four full questions. All questions carry equal marks.
• Missing data, if any, may be assumed suitably.
• Any other instructions like calculator: Not Allowed.
• Number of Books if OPEN BOOK Exam etc.: NA
1. a) Explain the Java architecture with the help of suitable diagram. Specify the technical [5]
details
b) Explain the importance of JIT Compiler and Garbage Collector. Specify the technical [5]
details of both.
2. a) What is Unicode? Explain the utility of Type Casting and Boolean Data Type with the [5]
help of suitable java program.
b) Discuss static keyword. Explain all rules and methods used for static with the help of java [5]
program.
3. a) Define Fully Abstract Class? How interface can be implemented? Explain it with the help [5]
of their syntax and suitable java example.
b) Discuss any two approaches in details through which run time inputs can be taken in java. [5]
Give java example for each approach.
4. a) Explain the life cycle of multithreading with the help of suitable diagram. How java [5]
achieve multithreading? Give java example.
b) Discuss Delegation Event Model. Explain at least 3 event classes and their associated [5]
interfaces in details.
5. Explain the below points with the help of java example. Before writing a program, [10]
formulate the problem statement for which the programs are written:
a) How immediate class constructor can be called in multilevel inheritance?
b) How same name variable problem can be solved in single level inheritance?