The document analyzes question papers for the Object Oriented Programming with Java course, covering a total of 120+ questions across four papers from Winter and Summer sessions of 2023-2024. It includes topics such as Java basics, constructors, inheritance, threads, exception handling, and file handling, with specific questions and programming tasks outlined for each session. The analysis provides insights into the types of questions asked and the key concepts emphasized in the curriculum.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
6 views5 pages
GTU_Java_4341602_Question_Paper_Analysis
The document analyzes question papers for the Object Oriented Programming with Java course, covering a total of 120+ questions across four papers from Winter and Summer sessions of 2023-2024. It includes topics such as Java basics, constructors, inheritance, threads, exception handling, and file handling, with specific questions and programming tasks outlined for each session. The analysis provides insights into the types of questions asked and the key concepts emphasized in the curriculum.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5
Object Oriented Programming with Java
– GTU Question Paper Analysis Subject Code: 4341602
Total Papers Analyzed: 4 (2023–2024, Winter & Summer)
Total Questions: 120+
Q.1 – Java Basics and Simple Programs
Winter 2024 (a) Write down the difference between OOP and POP. (b) What is bytecode? Explain JVM in detail. (c) Program to sort elements of array in ascending order. OR (c) Program to find maximum from any 10 numbers using command-line arguments. Summer 2024 (a) Explain the basic structure of Java program. (b) List out different features of Java. Explain any two. (c) Program to find sum of digits of a number (e.g., 123 → 6). OR (c) Program to find maximum from any 10 numbers using command-line arguments. Winter 2023 (a) List basic OOP concepts. Explain any one. (b) Explain JVM in detail. (c) Program to print Fibonacci series for `n` terms. OR (c) Program to find minimum from any 10 numbers using command-line arguments. Summer 2023 (a) List basic OOP concepts. Explain any one. (b) Explain JVM in detail. (c) Program to print Fibonacci series for `n` terms. OR (c) Program to find minimum from any 10 numbers using command-line arguments.
Q.2 – Constructors, JVM, Overloading & Java Features
Winter 2024 (a) What is wrapper class? Explain with example. (b) List Java features. Explain any two. (c) What is method overriding? Explain with example. OR (a) Explain Garbage collection in Java. (b) Explain static keyword with example. (c) What is constructor? Explain copy constructor with example. Summer 2024 (a) List OOP concepts. Explain any one. (b) Explain JVM in detail. (c) Explain constructor overloading with example. OR (a) What is wrapper class? Explain with example. (b) Explain static keyword with example. (c) What is constructor? Explain copy constructor with example. Winter 2023 (a) What is wrapper class? Explain with example. (b) List Java features. Explain any two. (c) What is method overloading? Explain with example. OR (a) Explain Garbage collection in Java. (b) Explain final keyword with example. (c) What is constructor? Explain parameterized constructor with example. Summer 2023 (a) What is wrapper class? Explain with example. (b) List Java features. Explain any two. (c) What is method overloading? Explain with example. OR (a) Explain Garbage collection in Java. (b) Explain final keyword with example. (c) What is constructor? Explain parameterized constructor with example.
Q.3 – Inheritance, Access Control, and Interface
Winter 2024 (a) Explain super keyword with example. (b) List types of inheritance. Explain multilevel inheritance. (c) What is interface? Explain multiple inheritance with example. OR (a) Explain final keyword with example. (b) Explain different access controls in Java. (c) What is package? Steps to create it with example. Summer 2024 (a) Explain any four string functions in Java with example. (b) List types of inheritance. Explain multilevel inheritance. (c) What is interface? Explain multiple inheritance with example. OR (a) Explain this keyword with example. (b) Explain method overriding with example. (c) What is package? Steps to create with example. Winter 2023 (a) Explain super keyword with example. (b) List types of inheritance. Explain multilevel inheritance. (c) What is interface? Explain multiple inheritance with example. OR (a) Explain static keyword with example. (b) Explain different access controls in Java. (c) What is package? Steps to create with example. Summer 2023 (a) Explain super keyword with example. (b) List types of inheritance. Explain multilevel inheritance. (c) What is interface? Explain multiple inheritance with example. OR (a) Explain static keyword with example. (b) Explain different access controls in Java. (c) What is package? Steps to create with example. Q.4 – Threads and Exception Handling Winter 2024 (a) Explain thread priorities with suitable example. (b) What is Thread? Explain Thread life cycle. (c) Program to create multiple threads using Runnable interface. OR (a) List four inbuilt exceptions. Explain any one. (b) Explain try and catch with example. (c) Program demonstrating ArithmeticException. Summer 2024 (a) Explain thread priorities with suitable example. (b) What is Thread? Explain Thread life cycle. (c) Program to create multiple threads using Thread class. OR (a) Explain basic concept of Exception Handling. (b) Explain multiple catch with example. (c) Program demonstrating ArithmeticException. Winter 2023 (a) Explain thread priorities with suitable example. (b) What is Thread? Explain Thread life cycle. (c) Program to create multiple threads using Thread class. OR (a) List four inbuilt exceptions. Explain any one. (b) Explain multiple catch with suitable example. (c) Program demonstrating ArithmeticException. Summer 2023 (a) Explain Garbage Collection in Java. (b) Program to handle user-defined Divide by Zero exception. (c) Program using multiple try and catch blocks. OR (a) Difference between String and StringBuffer. (b) Program to find sum and average of 10 numbers using array. (c) (I) Explain abstract class. (II) Explain final class (with examples).
Winter 2024 (a) Explain ArrayIndexOutOfBound exception in Java with example. (b) Explain basics of stream classes. (c) Program to create a text file and perform read operation. OR (a) Explain Divide by Zero exception in Java with example. (b) Explain Java I/O process. (c) Program to create a text file and perform write operation. Summer 2024 (a) Explain ArrayIndexOutOfBound exception in Java with example. (b) Explain basics of stream classes. (c) Program to create a text file and perform write operation. OR (a) Explain Divide by Zero exception in Java with example. (b) Explain try and catch block with example. (c) Program to display file content and append to it. Winter 2023 (a) Explain ArrayIndexOutOfBound exception in Java with example. (b) Explain basics of stream classes. (c) Program to create a text file and perform read operation. OR (a) Explain Divide by Zero exception in Java with example. (b) Explain Java I/O process. (c) Program to display file content and append to it. Summer 2023 (a) Program to create a file and perform write operation. (b) Explain throw and finally in Exception Handling with example. (c) Describe Polymorphism. Explain runtime polymorphism with example. OR (a) Program to copy file content byte by byte. (b) Explain different Java I/O classes. (c) Program with two threads: • One prints “Java Programming” every 3 sec • Other prints “Semester - 4th IT” every 6 sec (using Thread class)