Object Oriented Programming With C++ (sem 4) Unit 2
Object Oriented Programming With C++
1) Differentiate procedural programming Vs Object Oriented Programming.
5) Write down advantages of OOPs.
6) Explain the following characteristics of OOP.
i) Encapsulation
ii) Reusability
7) Write C++ program to create a class for student get and print details of a student.
8) Explain with suitable example array of objects.
9) Illustrate static data member with suitable example.
10)Write benefits of OOPS.
11) What is object? Explain how to create object with suitable example.
12) What are advantages and application of OOP's ?
13) What is static data members? Explain any two characteristics of static data members. 8
14) Design inline function to add and multiply two integer numbers
15)What is class? Explain how to specify a class
16)How to define member function inside and outside a class? Explain it with suitable example.
17)What are characteristics of OOPS?
18)Design a class 'Employee' with appropriate member. Demonstrate Array of object.
19)Explain private & public data members in brief with an example.
20)What is class & object?
21)Explain the characteristics of OOP & Application of OOP's in detail.
22)Explain the static data members & public data member using suitable example.
23)What are objects? How are they created? Distinguish between an object and a class.
24)Explain the following.
i) Arrays with class.
ii) Arrays of objects.
25) Difference between object oriented programming & procedural programming.
26)) What are objects ? How are they created ? Distinguish between an object and a class.
27) Explain nesting of members function with suitable example.
28) What are static data members and explain any two characteristics of static data members.
29) Explain the array within class with suitable example.
30)Differentiate between private and public class specifier.
31) The university requires an interactive student database package that permits one to keep track of the dynamic student population in the campus. This database maintains at the minimum, a student’s name, roll_no, Marks of three softcore subjects and there hardcore subjects. The information about any student can come at any time.
i) What kind of data structure is suited for the above implementation and why?
ii) Give the class specification.
iii) Given a student’s roll_no, how do we determine the marks scored by the student.
32) Justify the need for “allowing pointers to class members accessing private members of class”.
33)What is dereferencing objects? Write a program to illustrating the use of object references.
34) Discuss the memory requirement for classes, objects, data members, member functions, static and non-static data members.
35)Write a suitable program where one need to pass object as function arguments.
2) Explain how private members of a class are different from public members of class with suitable example.
3) Explain followingi) OBJECT ii) CLASS iii) DATA ABSTRACTION iv) DATA ENCAPSULATION.
4) Write a C++ program, in which design a class 'Student' with roll number and fees as datamembers and getdata( ) and printdata( ) as a member functions.
5) Write down advantages of OOPs.
6) Explain the following characteristics of OOP.
i) Encapsulation
ii) Reusability
7) Write C++ program to create a class for student get and print details of a student.
8) Explain with suitable example array of objects.
9) Illustrate static data member with suitable example.
10)Write benefits of OOPS.
11) What is object? Explain how to create object with suitable example.
12) What are advantages and application of OOP's ?
13) What is static data members? Explain any two characteristics of static data members. 8
14) Design inline function to add and multiply two integer numbers
15)What is class? Explain how to specify a class
16)How to define member function inside and outside a class? Explain it with suitable example.
17)What are characteristics of OOPS?
18)Design a class 'Employee' with appropriate member. Demonstrate Array of object.
19)Explain private & public data members in brief with an example.
20)What is class & object?
21)Explain the characteristics of OOP & Application of OOP's in detail.
22)Explain the static data members & public data member using suitable example.
23)What are objects? How are they created? Distinguish between an object and a class.
24)Explain the following.
i) Arrays with class.
ii) Arrays of objects.
25) Difference between object oriented programming & procedural programming.
26)) What are objects ? How are they created ? Distinguish between an object and a class.
27) Explain nesting of members function with suitable example.
28) What are static data members and explain any two characteristics of static data members.
29) Explain the array within class with suitable example.
30)Differentiate between private and public class specifier.
31) The university requires an interactive student database package that permits one to keep track of the dynamic student population in the campus. This database maintains at the minimum, a student’s name, roll_no, Marks of three softcore subjects and there hardcore subjects. The information about any student can come at any time.
i) What kind of data structure is suited for the above implementation and why?
ii) Give the class specification.
iii) Given a student’s roll_no, how do we determine the marks scored by the student.
32) Justify the need for “allowing pointers to class members accessing private members of class”.
33)What is dereferencing objects? Write a program to illustrating the use of object references.
34) Discuss the memory requirement for classes, objects, data members, member functions, static and non-static data members.
35)Write a suitable program where one need to pass object as function arguments.
Post a Comment