CS3391 Object Oriented Programming Previous Year Question Papers - Anna University
Access Anna University Object Oriented Programming (CS3391) previous year question papers on LearnSkart for smarter semester exam preparation. This Anna University PYQ page offers year-wise Anna University exam papers aligned with Regulation 2021, so students can understand recurring questions, important units, and expected marking schemes. You can view every CS3391 Object Oriented Programming question paper online and use free PDF download options for focused revision before internal and semester exams.
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.
Frequently Asked Questions about CS3391 Object Oriented Programming
Which OOP concepts are tested most frequently in CS3391 exams?
Inheritance (Unit II), method overriding and polymorphism, exception handling (Unit III), and thread synchronization (Unit III) are high-weight topics. Constructor overloading (Unit I), interfaces for multiple inheritance (Unit II), and thread lifecycle appear regularly with 13-20 marks each in Part B.
What is the difference between method overloading and overriding in CS3391?
Overloading: same method name, different parameters, compile-time (static polymorphism). Overriding: same method in parent-child classes, runtime (dynamic polymorphism). Understand method resolution rules. Previous year papers frequently ask for code examples showing both with output.
How should I approach exception handling programs in CS3391?
Understand exception hierarchy (Throwable, Exception, RuntimeException). Master try-catch-finally structure. Differentiate throw vs throws. Practice custom exception creation and multiple catch blocks. Unit III questions often combine exception handling with file I/O or thread operations.
What do I need to know about thread synchronization in CS3391?
Understand thread states (new, runnable, running, blocked, terminated). Master synchronized keyword, synchronized blocks, and thread safety. Learn wait(), notify(), notifyAll() for inter-thread communication. These concepts appear with deadlock prevention and thread coordination problems.
How do I master inheritance types and interfaces in CS3391?
Understand single, multilevel, hierarchical inheritance. Practice abstract classes and interfaces for achieving polymorphism. Remember Java doesn't support multiple inheritance through classes but achieves it via interfaces. Implement realistic examples combining inheritance, abstraction, and interfaces.
What should I know about generics and JavaFX in CS3391?
Generics: understand type parameters, bounded types, wildcards. JavaFX: master layouts (HBox, VBox, BorderPane, GridPane), event handling, and controls (Button, TextField, ComboBox). Practice implementing complete GUI applications. These topics appear in Unit IV-V with practical coding questions.
Frequently Asked Questions about LearnSkart Question Papers
What is LearnSkart?
LearnSkart is an academic platform that provides Anna University previous year question papers, notes, and study resources to help engineering students prepare effectively for semester examinations.
Are the question papers on LearnSkart free to download?
Yes. All previous year question papers on LearnSkart can be viewed online or downloaded as PDF for free to support student exam preparation.
Which Anna University regulations are covered?
LearnSkart mainly provides study materials and question papers aligned with the latest Anna University Regulation 2021 syllabus.
How do previous year question papers help in exam preparation?
Practicing PYQs helps students understand exam patterns, frequently asked questions, important topics, and improves confidence before university exams.