OOP JAVA PYQ 2023-24 AKTU Question Paper

AKTU · BTECH · Semester 4 · Object Oriented Programming with Java · Session 2023-24 · PYQ

AKTU Object Oriented Programming with Java previous year question paper 2023-24 for B.Tech Semester 4. Covers Introduction, Programming Structures, OOP and…

Open the interactive reader to study this resource on AcademicArk.

Object Oriented Programming with Java AKTU syllabus

  1. Unit 1: Introduction, Programming Structures, OOP and Packages
  2. Unit 2: Exception Handling, Input Output and Multithreading
  3. Unit 3: Java New Features
  4. Unit 4: Java Collections Framework
  5. Unit 5: Spring Framework and Spring Boot

Questions in Object Oriented Programming with Java AKTU PYQ 2023-24

  1. Q1a. Describe JVM and byte code in Java Architecture. (2 marks, 2023-24)
  2. Q1b. Define the concept of classes and object in Java with a suitable example. (2 marks, 2023-24)
  3. Q1c. Explain Interfaces in Java with suitable example. (2 marks, 2023-24)
  4. Q1d. Describe all the keywords used for exception handling in Java. (2 marks, 2023-24)
  5. Q1e. Describe various states achieved by the thread in its life cycle. (2 marks, 2023-24)
  6. Q1f. Write a Java program to create an ArrayList<String> with five items and display all the elements using forEach method. (2 marks, 2023-24)
  7. Q1g. Explain the concept of Sealed classes in Java with suitable example. (2 marks, 2023-24)
  8. Q2a. Explain abstraction and abstract classes in Java. Describe abstract method. With a suitable example demonstrate the application of abstract classes. (7 marks, 2023-24)
  9. Q2b. Describe the ways to create the threads in Java with suitable code. Also explain which method is more suitable to create threads. (7 marks, 2023-24)
  10. Q2c. Explain the functional interfaces in Java. Describe lambda expressions with the help of functional interfaces. (7 marks, 2023-24)
  11. Q2d. Describe Collections framework in Java with a suitable diagram displaying interfaces and classes and their hierarchy. Also explain the List, Set and Queue interfaces. (7 marks, 2023-24)
  12. Q2e. Explain the difference between Dependency Injection (DI) and Inversion of Control (IoC) in Spring. (7 marks, 2023-24)
  13. Q3a. Illustrate polymorphism and its types in Java. Differentiate between run-time and compile-time polymorphism. Write super class Shape with method displayArea() and sub class Rectangle. Demonstrate method overriding with this example. (7 marks, 2023-24)
  14. Q3b. Illustrate Constructors and their applications in Java. Describe the types of constructors used in Java. Write a class with name Student with attributes roll_number, name, branch and email. Write all argument constructor for class Student and create two objects with this constructor. (7 marks, 2023-24)
  15. Q4a. Differentiate between checked and unchecked exceptions in Java. Write a Java program to demonstrate Arithmetic Exception handlings. (7 marks, 2023-24)
  16. Q4b. Differentiate between with suitable examples: 1. Character streams and Byte Streams 2. wait() and notify() (7 marks, 2023-24)
  17. Q5a. Explain Java stream API and its applications. Describe Intermediate and terminal operations with suitable example. Write a program to print sum of all even numbers from an ArrayList<Integer> containing all integers from 1 to 10. (7 marks, 2023-24)
  18. Q5b. Compare and contrast switch-case statement with switch-expression in Java. Explain with suitable example. (7 marks, 2023-24)
  19. Q6a. Describe Linked List in Java collection framework. With suitable example describe any five methods available in Linked Lists. (7 marks, 2023-24)
  20. Q6b. Describe HashMap in Java collection framework. With suitable example describe any five methods available in HashMaps. (7 marks, 2023-24)
  21. Q7a. Describe following: 1. Spring container 2. Spring bean life cycle (7 marks, 2023-24)
  22. Q7b. Describe following: 1. Spring boot framework and its benefits 2. RESTFUL API with Spring boot (7 marks, 2023-24)

AKTU paper codes: BCS403

Object Oriented Programming with Java previous year papers

More Object Oriented Programming with Java resources

More versions of this resource

Browse all notes · Semester 4 notes