Subject:
Object Oriented Programming Using C++/Java
QUESTION BANK
These question banks
contain possible question set for each unit. Questions are divided into two type i.e. short
and long. It is prepared for the shake
of exam preparation only.
1. Unit – I:
1.1 Short Type Question:
1.
Write Short note
on Advantage of OOPS.
2.
Explain C++
Program structure with block diagram.
3.
Compare between
Procedure Oriented Programming (POP) and
4.
OOPS(Object
Oriented Programming Languages).
5.
Explain streams
in C++.
6.
Describe any
three unformatted console input/output streams.
7.
Explain any three
formatted console input/output streams.
8.
Explain different
types of tokens.
9.
Explain
referencing and dereferencing operator.
10.
Explain Scope
access operator and its application with program.
11.
write program in
C++ to implement Fibonacci series.
12.
Write program in
C++ to check whether given no prime or not.
13.
Write program in
C++ to print palindrome of given integer number.
1.2 Long Type Question:
1. Explain key concepts of Object Oriented
Programming Concepts in Detail C++.
2. Describe about Input/ Output Streams in C++
with example.
3. Explain control statement in C++.
4. Describe unformatted console input/output
streams with programs.
5. Explain formatted console input/output streams
with programs.
Q.6 Explain
any four
a) Referencing and
dereferencing
b) Scope Access Operator
c) Programming Paradigm in C++
d) Input Streams
e) Output Streams
Unit – II:
2.1 Short Type Question:
1.
What is function
in C++ explain with example.
2.
Explain different
types of function arguments in C++.
3.
Differentiate
between value, address and reference passing arguments in C++.
4.
Explain Inline function with example.
5.
Explain inline function
with its advantage and example.
6.
Explain function
overloading in C++
7.
Write short note
on class and object.
8.
Explain access
specifier in C++ classes.
9.
Differential
between Public, private, protected mode in C++.
10.
Explain static
member function in C++ with Its advantage.
11.
Short note friend
function and friend class.
12.
Explain
constructor.
13.
What is
destructor?
14.
Describe
advantage of constructor.
15.
Explain
overloading for constructor.
16.
Write program in
C++ to implement constructor.
17.
Write a program
in C++ to implement Static member function.
2.2 Long Type Question:
1.
Explain
Classes and object in detail with appropriate example.
2.
Explain
different type of function in C++.
3.
Explain
constructor and its type with example.
4.
Explain
constructor and destructor with example.
5.
Explain any
four
a) Static Member Function
b) Friend function and Friend Class
c) Function Overloading
d) Default Constructor
e) Public, Private, Protected
f) Inline function
Unit – III:
3.1 Short Type Question
1.
Write short note
on Inheritance.
2.
Write short on
Multiple Inheritance.
3.
Write short note
on Multilevel Inheritance
4.
Write short note
on virtual Function
5.
What is pure
virtual function. Give an example.
6.
What is virtual
base class.
7.
What is
polymorphism.
8.
What is static
biding.
9.
What is late binding.
10.
What in
hierarchical inheritance.
11.
What is pointer
in C++.
12.
Explain protected
inheritance.
13.
Explain private
inheritance.
14.
Explain public
inheritance.
15.
Explain unary
operator overloading.
16.
Explain binary
operator overloading.
17.
Explain operator
overloading and its types.
3.2 Long Type Question
1.
Explain Operator
overloading with it types in detail.
2.
Explain public, private
and protected inheritance of class.
3.
Explain
inheritance and its types.
4.
Explain
polymorphis with static and dynamic binding.
5.
Write a
program in C++ to overload the operator + (Plus).
6.
Write a
program in C++ to overload the operator – (Minus) .
7.
Write program
in C++ to implement, multiple, hierarchical inheritance.
8.
Explain
pointers for array, class and object in C++.
9.
Write short note
on following
a)
Hybrid
Inheritance
b)
Multipath inheritance
c)
Pure Virtual
Function
d)
Virtual Function
e)
Pointer to Class
f)
Pointer to Object
Unit – IV:
4.1 Short Type Question
1.
Write short note on
program structure of java.
2.
Explain Tokens in
Java.
3.
Explain Java
virtual machine with diagram.
4.
Explain
constructor in java.
5.
Explain method
overloading in java.
6.
Explain static
member variable and method in java.
7.
Explain Arrays
and its type in Java.
8.
Explain String
class in java.
9.
Explain Vector
class in java
10.
Explain Wrapper
class in java.
11.
Write short note
on interface.
12.
Differentiate
between java class and interface.
13.
Write short note
on package.
14.
Write short note
on system package.
15.
Write short note
on user defined package.
16.
Why interface is
used in Java.
4.2 Long Type Question
1.
Compare between C++ and Java.
2.
Explain Classes in Java with example.
3.
Explain object oriented Programming in
the context of Java.
4.
Explain String class with any six
string methods.
5.
Explain packages with its types.
6.
What is interface. Explain with
example.
7.
Explain Interface. Differential
between Classes and Interfaces.
8.
Explain Any Four following
a)
Java Virtual Machine
b)
Static Methods
c)
Constructor
d)
Overloading
e)
Vector
f)
Wrapper
Unit – V:
5.1 Short Type Question
1.
Explain
Inheritance.
2.
Differentiate
between overloading and overriding.
3.
Explain final
classes and final method.
4.
Explain finalize
method.
5.
Explain abstract
methods and Classes.
6.
Explain
visibility control.
7.
Explain runnable
interface.
8.
Explain
application of Applet.
9.
Explain Thread
Priority.
10.
Explain types of
Applet.
11.
Describe advantage
of Thread.
12.
Describe thread
and multitasking operating system.
13.
Write a program
to implement abstract method and class.
14.
Write a program
to implement final method and class.
5.2 Long Type Question
1.
Explain
inheritance, its types with example in Java.
2.
Explain applet
life cycle with diagram.
3.
What is Thread.
Describe its life cycle.
4.
Write program in Java to show implement of Applet.
5.
Write
program in Java to show implement of
thread.
6.
Explain any four
a) Final Variable
b) Abstract method
c) Synchonization
d) Method overriding
e) Thread Priority.
References:
Text Books:
1.
Object-Oriented programming with ANSI & turbo
C++ by Ashok N. Kamthane.
2. Object-Oriented
programming in C++ by E.Balagurusamy
3. E. Balaguruswamy, “Programming In Java”, 2nd
Edition, TMH Publications ISBN 0-07- 463542
Reference Books:
C+ Object-Oriented programming in C++ by
Robert Lafore.
The complete reference by Herbert Schildt, TMH
publication.
Blog: manishtiwarise.blogspot.com
YouTube Channel: manishtiwarise
Good Thanks For Share
ReplyDeleteGood Carryminati fans Click Here
Good BB Ki Vines fans Click Here
Good Soul Mortal fans Click Here
Good Scout income. fans Click Here
levino girlfriend income. fans Click Here
Good Thanks For Share
Good Thanks For Share
Good Thanks For Share
Good Thanks For Share