Previous year paper

(SEM IV) THEORY EXAMINATION 2024-25 OBJECT ORIENTED PROGRAMMING WITH JAVA

Engineering B.Tech 0 downloads

About this previous year paper

This document contains the complete B.Tech (Semester IV) Theory Examination 2024–25 question paper for Object Oriented Programming with Java (BCS403). The paper spans three printed pages, carries 70 marks, and evaluates a student’s command over Java fundamentals, OOP concepts, multithreading, exception handling, collections, functional programming, Java Streams, Spring Boot basics, and real-world application development.
 

Section A – Short Conceptual Questions (14 Marks)

Section A contains seven 2-mark questions, testing fundamental Java knowledge with concepts visible clearly on Page 1:

Why Java is platform-independent

Role of a constructor in a class

Purpose of the finally block in exception handling

Difference between throw and throws

Meaning of a functional interface with example

Difference between Stack and Queue

Difference between GET and POST HTTP requests

These questions test essential understanding of Java syntax, OOP basics, exception rules, data structures, and HTTP communication.
 

Section B – Medium-Length Descriptive Questions (21 Marks)

Students must attempt any three of the five questions. Topics include the following (as shown on pages 1–2):

Explanation of Java data types & control structures with examples

Concept of multithreading, plus a program where two threads print numbers alternately

Overview of Java Stream API and its role in functional-style operations

Comparison of ArrayList vs LinkedList based on performance and use-cases

Meaning of Spring Boot and how it differs from the traditional Spring Framework

This section evaluates application-level knowledge in Java programming, OOP behavior, and modern backend frameworks.
 

Section C – Long Analytical & Application-Based Questions (35 Marks)

Section C contains five main questions (Q3 to Q7). Students attempt one part from each. These questions involve programming, OOP design, frameworks, and deeper Java features.

Q3 – String Reversal / JVM & JRE (Page 2)

Java program to reverse a user-input string

OR explanation of Java Virtual Machine (JVM) & Java Runtime Environment (JRE)

Q4 – Exception Handling / Multithreading (Page 2)

Java program to handle multiple exceptions using try-catch-finally

OR Java program to create two threads: one for even & one for odd numbers

Q5 – Functional Interfaces / Annotations (Page 3)

Functional interfaces & lambda expressions

OR role of Java annotations and how type annotations are used

Q6 – HashMap / Collection Framework (Page 3)

Java program demonstrating HashMap iteration (keys & values)

OR explanation of Java Collection Framework hierarchy, and difference between List, Set & Map

Q7 – Dependency Injection & API / Spring Boot Basics (Page 3)

Explanation of Dependency Injection and building a simple Spring Boot CRUD API using a list

OR structure of a basic Spring Boot application and advantages over traditional frameworks

This section evaluates real-world coding ability, backend fundamentals, data structures, and Spring-based application development.

TypePrevious year paper
SubjectEngineering
Board / courseB.Tech
FilePDF · 187.64 KB
Shared by SuGanta International

Added by the SuGanta team.