0% found this document useful (0 votes)
15 views

OOPJ

This document is a model question paper for the Third Semester Examination in Object Oriented Programming through Java for B.Tech in Computer Science and Engineering. It outlines the structure of the exam, including the number of questions, marking scheme, and topics covered across different units. The questions assess various concepts such as object-oriented principles, data types, inheritance, exception handling, threading, and collections in Java.

Uploaded by

INDU
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

OOPJ

This document is a model question paper for the Third Semester Examination in Object Oriented Programming through Java for B.Tech in Computer Science and Engineering. It outlines the structure of the exam, including the number of questions, marking scheme, and topics covered across different units. The questions assess various concepts such as object-oriented principles, data types, inheritance, exception handling, threading, and collections in Java.

Uploaded by

INDU
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

MODEL QUESTION PAPER

FOUR YEAR B.TECH DEGREE END EXAMINATION


COMPUTER SCIENCE AND ENGINEERING
THIRD SEMESTER EXAMINATION
OBJECT ORIENTED PROGRAMMING THROUGH JAVA (OOPJ)
(Common to CSE, CSE (AI&ML), CSE(DS) & CSBS)
(SCHEME – 2023)
Time: 3 Hours Max.Marks: 70
Note: Answer Question No.1 and One question from each Unit.
All questions carry equal marks.
Course
Bloom’s
Q.No Question Outcome Marks
Mapping Level
1. 2x10=20
a. Explain the use of labelled break and labelled continue. CO1 L2
b. What s the purpose of instance of operator? Show an example. CO1 L2
c. Mention the purpose of final key word. CO2 L1
d. What is a package? Give some examples of built in packages. CO2 L1
e. Distinguish between == and equals() in string handling. CO3 L2
f. What is the difference between throw and throws key words. CO3 L1
g. List the Thread life cycle methods in java. CO4 L1
h. Write the steps to be followed to establish JDBC connection. CO4 L1
i. Distinguish between Array List and Linked List. CO5 L2
j. Write any four methods of Array Deque collection. CO5 L1
Unit-I
2. a. What is Object Oriented Programming? Explain about Object
CO1 L1
Oriented Programming principles. (5M)
b. Write a Java program to perform addition and subtraction of two
complex numbers by taking Complex class with rp, ip as instance
variables for storing real, imaginary parts and two methods for CO1 L3
(5M)
addition and subtraction.

OR
3. a. List and Explain the Primitive data types of Java. CO2 L1 (5M)
b. Explain method overloading and constructor overloading with
CO2 L2
examples. (5M)
Unit-II
4. a. Discuss about access protection in Java. CO2 L1 (5M)
b. Write a Java program to implement multi-level and hierarchical
CO2 L3
inheritance. (5M)
OR
5. a. What is dynamic method dispatch? Explain with an example. CO2 L2 (5M)
b. How do you implement multiple inheritance in Java? Explain
CO2 L3
with a program. (5M)

P.T.O
Unit-III

6. a. Explain about the creation of strings using String class


CO3 L2
constructors. (5M)
b. Distinguish among String, String Buffer and String Builder classes.
CO3 L2 (5M)
OR
7. a. What is the need for Exception handling? Describe with an
CO3 L1
example. (5M)
b. How do you handle customized exceptions? Explain with a
CO3 L3
program. (5M)

Unit-IV

8. a. Describe the two ways of creating threads with examples. CO4 L1 (5M)
b. Does Java support thread priorities? Justify your answer with L2
CO4 (5M)
suitable discussion?
OR
9. a. Explain about Inter Thread Communication. CO4 L2 (5M)
b. Discuss about JDBC drivers. CO4 L1 (5M)

Unit-V

10 a. What is Array List? Write the methods of it. CO5 L1 (5M)


b. Distinguish between Linked Hash Set and Tree Set with suitable
example. CO5 L2 (5M)
OR
11 a. Explain the process of accessing a Collection using an Iterator. CO5 L2 (5M)
b. Explain the need of Array Deque with an example. CO5 L2 (5M)

You might also like