This document contains the questions for the 2nd Internal Assessment exam for the BCA OOP with Java course at Ganga Degree College in Hiriyur, affiliated with Davangere University. The exam contains 3 sections - Section I has 4 out of 6 short answer questions worth 2 marks each, Section II has 3 out of 6 short answer questions worth 4 marks each, and Section III has 1 out of 2 long answer question worth 10 marks. The questions cover topics related to Java features, exceptions, JVM, classes vs interfaces, type casting, program structure, keywords like super and final, inheritance, method overloading and overriding, threads, packages, access specifiers, events and event handlers, and GUI components.
This document contains the questions for the 2nd Internal Assessment exam for the BCA OOP with Java course at Ganga Degree College in Hiriyur, affiliated with Davangere University. The exam contains 3 sections - Section I has 4 out of 6 short answer questions worth 2 marks each, Section II has 3 out of 6 short answer questions worth 4 marks each, and Section III has 1 out of 2 long answer question worth 10 marks. The questions cover topics related to Java features, exceptions, JVM, classes vs interfaces, type casting, program structure, keywords like super and final, inheritance, method overloading and overriding, threads, packages, access specifiers, events and event handlers, and GUI components.
This document contains the questions for the 2nd Internal Assessment exam for the BCA OOP with Java course at Ganga Degree College in Hiriyur, affiliated with Davangere University. The exam contains 3 sections - Section I has 4 out of 6 short answer questions worth 2 marks each, Section II has 3 out of 6 short answer questions worth 4 marks each, and Section III has 1 out of 2 long answer question worth 10 marks. The questions cover topics related to Java features, exceptions, JVM, classes vs interfaces, type casting, program structure, keywords like super and final, inheritance, method overloading and overriding, threads, packages, access specifiers, events and event handlers, and GUI components.
Affiliated to Davangere University, Affiliation No:C-26052
II SEMESTER 2nd Internal Assessment,2022-23
Course: BCA SUBJECT: OOP with JAVA Date:
I. Answer any FOUR questions for the following: 2X4=8
1. List out the features of Java. 2. Define the terms: try, catch and finally 3. Explain the use of JVM 4. Differentiate between Classes and Interface. 5. What is type casting? with example 6. Explain the structure of Java program
II. Answer any THREE questions for the following: 4X3=12
1. Explain super and final keyword with example. 2. Define inheritance. Describe different forms of inheritance 3. Write short note on method overloading and method overriding. 4. What is thread? Describe complete life cycle of thread 5. What is package? What are the benefits of package? 6. What are Access Specifiers? Explain briefly
III. Answer any ONE question for the following: 1X10=10
1.What Is an Event and Event Handler? Explain with suitable example. 2.Write short note on following components. (a) Label (b) TextField (c) TextArea (d) List (e) Choice (f) Button (g) Checkbox