0% found this document useful (0 votes)
238 views3 pages

Sppu SE IT Unitwise-Quation Bank-OOP

Sppu

Uploaded by

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

Sppu SE IT Unitwise-Quation Bank-OOP

Sppu

Uploaded by

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

ZEAL EDUCATION SOCIETY’S

ZEAL COLLEGE OF ENGINEERING AND RESEARCH


NARHE │PUNE -41 │ INDIA

Record No.: ZCOER-ACAD/R/16M Revision: 00 Date:01/04/2021

Unit Wise Question Bank


Department: IT Semester: I Academic Year: 2024 - 2025
Class: SE Div.: A/B Date:
Course: Object Oriented Programming

Blooms
Unit -Name Q. Question Marks CO
Level
No.
Differentiate between object oriented
programming and procedural oriented
1 5 CO 1 1
programming
Model a real-world scenario ‘vehicle’ class
2 using object oriented Paradigm 5 CO 1 1
Write a short notes on:
3 i) Data Abstraction ii) Inheritance 5 CO 1 1
Unit:1- Describe the characteristics of object oriented
Foundationsof 4 programming. 5 CO 1 1
Object Oriented Write a short notes on
Programming 5 i) Polymorphism ii)Data Encapsulation 5 CO 1 1
What are the limitations of procedural
6 oriented programming? 5 CO 1 2
What are the different access modifiers? Explain
7 5 CO 1 1
its scope with a suitable example?
Write a problem in java to check whether the given
8 5 CO 1 1
number is palindrome or not?
Difference between static binding and late
9 binding? 5 CO 1 2
Elaborate any two uses of ‘this’ keyword &
1 ‘new’ Keyword in object oriented 5 CO 2 2
programming.
How is method overloading achieved in object
oriented programming? Explain with
2 5 CO 2 2
An example.
Identify classes, objects, and methods for
3 adding two complex numbers. 5 CO 2 1
Write a program demonstrating passing an
Unit:2-Classes, 4 object as a parameter to a Method. 5 CO 2 1
Objects and
What are the characteristics of static
Methods Variables and methods? Explain with
5 5 CO 2 1
example
Design a class ‘student’ with suitable
6 instance variables and methods. 5 CO 2 1
Create the database of the students and display
7 the records using an Array of objects. 5 CO 2 2
Explain Static Variable, Static method with
8 example. 5 CO 2 2
Explain ‘new’ Keyword in object oriented
9 programming. 5 CO 2 2
Blooms
Unit -Name Q. Question Marks CO
Level
No.
What is Constructor? What are the
1 5 CO 3 1
characteristics of the Constructor?
Explain Constructor Overloading with an
2 5 CO 3 1
example?
Write a short note on : i) Garbage collection in
3 5 CO 3 1
Java ii) Destructor in C++
Design a class ‘Complex’ with data members
4 for real and imaginary part. Provide default and 5 CO 3 1
Unit:3- Parameterized constructors.
Constructors Write a program in JAVA to perform a
5 5 CO 3 1
and Subtraction of two complex numbers..
Destructors Discuss with example Dynamic initializationof
6 5 CO 3 2
object in Java.
Can a constructor throw an exception? How to
7 5 CO 3 2
handle the error when the constructor fails?
8 What is the initializer list in C++? 5 CO 3 1
When constructor’s parameter name is the
9 5 CO 3 2
same as the data member:
1 What is a copy constructor? 5 CO 3 2
0
Define Inheritance. What are the types of
1 Inheritance? How can you inherit a class in 5 CO 4 3
Java?
What is polymorphism? Explain compile time
2 5 CO 4 3
and run time polymorphism?
Differentiate between method overriding and
3 5 CO 4 2
method overloading.
Explain method overriding concept with an
Unit:4- 4 5 CO 4 2
example.
Inheritanceand
What is interface in java? How to declare an
Polymorphism 5 5 CO 4 1
interface, write a syntax?
Can we achieve multiple inheritance by using
6 5 CO 4 3
interface? Justify with an example.
How Java compiler differentiate between
7 5 CO 4 1
methods in Compile time Polymorphism?
What is Runtime Polymorphism (Dynamic
8 5 CO 4 3
Polymorphism)?

What are the differences between compile-


9 time polymorphism and runtime 5 CO 4 1
polymorphism in java?
Why Inheritance is used by Java
10 5 CO 4 2
Programmers?
What is an exception? Explain the following
1 terms with respect to exception handling: i) 5 CO 5 1
try ii) catch iii) throw iv) finally
Write a generic method to count the number of
elements in a collection that have a specific
2 5 CO 5 1
properties like odd integers, prime numbers
and palindrome
3 Explain Array List class with an example. 5 CO 5 1
Write a java program to accept and display the
Unit:5-Exception month number. Throw number format
4 5 CO 5 1
Handling and exception if improper month number is
Generic entered.
Programming 5 How do you handle checked exceptions? 5 CO 5 1
6 How are exceptions handled in Java? 5 CO 5 1
7 What are runtime exceptions in Java? 5 CO 5 1
Differentiate between Checked Exception and
8 5 CO 5 1
Unchecked Exceptions in Java.
9 What is Exception Chaining? 5 CO 5 3
What do you understand by an unreachable
10 5 CO 5 1
catch block error?
Explain FileinputStream class. Write any four
1 methods of File Input stream class with their 5 CO 6 1
syntax.
Explain following File operations using File
2 class i) Create a File ii) Read from a File iii) 5 CO 6 3
Write to a File iv) Close a File
3 Write a short note on : i) Iterator ii)Singleton 5 CO 6 2
Implement a program for maintaining a
database of student records using Files.
Student has Student-id, name, Roll_no, Class,
Unit:6-File
4 marks and address. Display the data for few 5 CO 6 3
Handling and
students. i) Create Database ii) Display
Design Patterns
Database iii) Delete Records iv) Update
Record v) Search Record
5 What is an Adapter Design Pattern? 5 CO 6 2
What are the design patterns used in your
6 5 CO 6 2
current projects?
What are the advantages of Java Design
7 5 CO 6 1
Patterns?
8 How can you describe a design pattern? 5 CO 6 1
9 What are the types of design patterns in Java? 5 CO 6 2
10 What is Inversion of Control? 5 CO 6 1

Course Faculty

You might also like