Sobhasaria Engineering College, Sikar
Unit wise Home Assignment for B.Tech (CSE/ IT) – 4th Semester
Object Oriented Programming (4 CP 3 / 4 IT 3)

UNIT-1

1.      What is Object Oriented Programming? How is it different from procedural programming?

2.      What is Aspect Oriented Programming? Differentiate it from OOP.

3.      Explain in brief:

a.      Dynamic Programming

b.      Functional Programming

c.       Logic Programming

d.      Event Driven Programming

e.      Parallel Computing

4.      Explain various programming paradigms in brief with examples.

UNIT-2

5.      Explain various Object Oriented Programming Concepts.

6.      Differentiate between a class and an object. How is a class different from a structure in C++?

7.      What is polymorphism? How is it implemented in C++?

8.      What is the significance of Inheritance in Object Oriented Programming? Discuss various types of inheritance in C++.

9.      Write short note on:

a.      Data Member

b.      Member Function

c.       Copy Constructor

d.      Dynamic Constructor

e.      Destructor

f.        bool

g.      late binding.

UNIT-3

10. What is operator overloading? How is it different from function overloading?

11. Differentiate between: (a) function overloading and function overriding (b) friend function and virtual function (c) virtual class and abstract class

12. Write short notes on:

a.      namespace

b.      reference

c.       variable

d.      nested class

e.      static member function

f.        templates

g.      new

h.      this

i.        protected

j.        string

k.      inline function

l.        delete

13. What is exception handling? Write a program in C++ to implement exception handling?

14. What is type casting? Differentiate between static type casting and run-time type casting.

UNIT-4

 

15. Discuss various features of Java.

16. Discuss various access modifiers in Java.

17. Write short notes on :

a.      Byte Code

b.      JVM

c.       Object class

d.      byte

e.      char

f.        boolean

g.      bitwise shift operators

h.      this

i.        super

j.        finalize

k.      final

l.        const

m.   Copy Constructor

18. What are ragged array? How are two-dimensional arrays implemented in Java?

19. How are objects created in Java? How they differ from objects in C++?

20. Can objects (reference data type) be passed to methods as arguments? If yes, how? If no, why?

21. Can object be returned by methods? If yes? how? If no, why?

22. Explain inheritance in Java with example. How is it different from that in C++?

23. What is abstract class? How is it different from interface?

24. Differentiate between:

a.      class variable and instance variable

b.      field, parameter and local variable

c.       public and private class

d.      reference variable and object

 

Answers must be supported by appropriate examples whenever possible. All the lab programs may be used to support the answer and may also be asked in examination.

UNIT-5

(Will be given later)