0% found this document useful (0 votes)
5 views2 pages

OOSD Assignment 5

oosd c++

Uploaded by

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

OOSD Assignment 5

oosd c++

Uploaded by

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

RAJ KUMAR GOEL INSTITUTE OF TECHNOLOGY

5thKM Stone Delhi, Meerut Road, Near Raj Nagar Extension Road, Ghaziabad, UP-201003
Approved by AICTE, N. Delhi & Affiliated to Dr. A.P.J. Abdul Kalam Technical University, Lucknow
NBA Accredited Program (B. Tech- ECE, IT) & B. Pharma

Department of CSE(AIML)

Course Outcomes (CO) Bloom’s


Knowledge
Submission date:14-12-24
Level (KL)
CO 1 Understand the application development and analyze the insights of object K2, K4
oriented programming to implement applications.

CO 2 Understand, analyze and apply the role of overall modeling concepts (i.e. K2, K3
System, structural)

CO 3 Understand, analyze and apply oops concepts (i.e. abstraction, inheritance) K2,K3, K4

CO 4 Understand the basic concepts of C++ to implement the object oriented K2, K3
concepts

CO 5 To understand the object oriented approach to implement real world K2, K3


problems.

Assignment – 5
S.No. Question CO

What is Pointer in C++? Define const pointers. What is the usage of the pointer
1 CO5
in C++? What is the size of a void pointer in C? Demonstrate it.

What does the inheritance mean in C++? What is containership? How does it
2 differ from inheritance? Explain. Write a program to demonstrate how CO5
ambiguity is avoided in a single inheritance using scope resolution operators.

What is an inline function? Why do we use inline functions in our program?


3 Write a program to perform addition, subtraction, multiplication and division CO5
using inline function.

Differentiate overloading and overriding. Write a program to overload "+"


4 CO5
operator using friend function to concatenate two strings.
What are protected member? What is difference between public and protected
5 CO5
access modifier. Differentiate between virtual and pure virtual function.

6 What are the differences between a C++ Struct and C++ Class? CO5

What is the difference between a pointer and reference? When should we use
7. CO5
them?

You might also like