CS3391 Object Oriented Programming Previous Year Question Papers - Anna University
Explore the Previous Year Anna University Question Papers of CS3391 Object Oriented Programming.
2024
-
2024 - CSE-AM-2024-CS 3391-Object Oriented Programming-180909224-50900.pdf
-
2024 - CSE-ND-2024-CS 3391-Object oriented programming -610217072-20250604161745 (4).pdf
2023
-
2023 - CSE-ND-2023-CS 3391-Object Oriented Programming-558511669-20867.pdf
2022
-
2022 - CSE-ND-2022-CS 3391-Object Oriented Programming-828011973-ND22CS (10).pdf
Important Questions - CS3391 Object Oriented Programming
UNIT I: INTRODUCTION TO OOP AND JAVA
Part A (2 Marks)
- Define JVM and its importance in platform independence.
- List the core OOP concepts (Abstraction, Encapsulation, Inheritance, Polymorphism).
- What are Java Buzzwords?
- Difference between static and instance variables.
Part B (13/15 Marks)
- Explain the internal architecture of JVM with a neat sketch.
- Discuss the various access specifiers in Java with examples.
- Explain different types of constructors and constructor overloading.
- Write a Java program to perform matrix multiplication using 2D arrays.
UNIT II: INHERITANCE, PACKAGES, AND INTERFACES
Part A (2 Marks)
- What is the use of super and final keywords?
- Differentiate between Method Overloading and Method Overriding.
- Define an Interface and its purpose.
- What is Dynamic Method Dispatch?
Part B (13/15 Marks)
- Explain the different types of inheritance supported by Java with examples.
- Discuss the concept of Abstract Classes and methods with a sample program.
- Explain how to create, import, and implement Packages in Java.
- Write a program to illustrate the use of Interfaces for multiple inheritance.
UNIT III: EXCEPTION HANDLING AND MULTITHREADING
Part A (2 Marks)
- Define Exception Hierarchy in Java.
- Differentiate between throw and throws keywords.
- What is the purpose of the finally block?
- State the thread priorities available in Java.
Part B (13/15 Marks)
- Explain the Thread Life Cycle with a neat diagram.
- Describe the mechanism of Exception Handling using try-catch-finally.
- Discuss Thread Synchronization and its importance.
- Explain Inter-thread Communication using wait(), notify(), and notifyAll().
UNIT IV: I/O, GENERICS, AND STRING HANDLING
Part A (2 Marks)
- Differentiate between Byte Stream and Character Stream.
- What are Bounded Types in Generics?
- Compare String and StringBuffer.
- List any four methods of the String class.
Part B (13/15 Marks)
- Explain Generic Classes and Methods with examples.
- Write a program for file handling using streams.
- Discuss StringBuffer methods for string manipulation.
- Explain limitations of Generics.
UNIT V: JAVAFX EVENT HANDLING, CONTROLS, AND COMPONENTS
Part A (2 Marks)
- Difference between Swing and AWT (or JavaFX).
- What is an Event Listener?
- Define Layout Manager.
- What are Stage and Scene in JavaFX?
Part B (13/15 Marks)
- Explain JavaFX Event Handling with button click example.
- Discuss JavaFX Layouts (HBox, VBox, BorderPane, GridPane).
- Write a GUI program using Checkboxes, RadioButtons, ComboBoxes.
- Explain handling of Mouse and Key events in JavaFX.
Most Repeated / High-Weight Questions
Constructor overloading, method overriding vs overloading, exception handling with try-catch-finally, thread synchronization, inheritance types, generic classes and bounded types, JavaFX layouts and event handling.
Additional Resources
How to Use These Question Papers
- Concept-Based Learning: Master OOP fundamentals (Unit I), inheritance hierarchy (Unit II), and polymorphism before attempting practical programs.
- Code Practice: Write all Java programs from scratch in an IDE. Compile and run locally. Debug errors systematically to build practical coding skills.
- Exception Handling Focus: Practice writing try-catch-finally blocks for different exception types. Understand checked vs unchecked exceptions and custom exception creation.
- Thread Programming: Understand thread lifecycle, synchronization, and inter-thread communication thoroughly. Practice implementing runnable threads and synchronized methods.
- GUI Design Practice: Create JavaFX applications with different layouts and event handlers. Practice handling mouse and keyboard events through hands-on coding.