Breaking Posts

6/trending/recent

Hot Widget

Type Here to Get Search Results !

Ads

Bsc 1st semester Physics dep,Generic elective (Object-Oriented Programming in C+ +) cbcs under dibrugarh University question paper 2022

  

          Object-Oriented Programming in C+ +



object oriented programing


 1. Answer the following questions (any ten)1×10=10

(a) What is class? Give an example.

(b) What is encapsulation?

(c) What is inheritance?

(d) Define header file.

(e) What is function?

(f)What do you mean by compiler?

(g) What is array?

(h)Write the full form of iostream

(i) Define data member.

(j)What is pointer?

(k) What do you system?


2. Answer the following questions (any three)2x3=6

(a) What are constructors and destructors?

(b) What is the difference between while loop and do while loop?

(c)What is dynamic binding? Define message passing.

(d) Define friend function. (e) State two differences between break and continue.

3. Answer the following questions (any three)4x3=12

(a) How do the invocation constructors differ in derivation of class and nesting of class?

(b) Write short notes on prefix and postfix increment and decrement operators with example.

(c) What is file pointer? Define function prototyping. (d) Discuss dynamic memory allocation in detail.

(e) Write the characteristics of object oriented programming.

4. Answer the following questions (any two) : 7x2=14

(a) Explain inline and virtual functions with suitable example.

(b) What are call by value and call by reference? Explain with example.

(c) What do you mean by inheritance? Explain different types of inheritance with example.


5. Write C++ (any three) : program of the

(a) To overload an operator

(b) To keep a count of created objects using static members

(c) To display Fibonacci series

(d) To store information of a student in a structure

Object-Oriented Programming in C+ +

Download to pdf mood now

Click Me


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

https://www.ekarsangtakar.com/search/label/Botany%20Question%20Paper?m=1

Ads Bottom

https://www.ekarsangtakar.com/search/label/Botany%20Question%20Paper?m=1