0% found this document useful (0 votes)
16 views1 page

Object Oriented Concepts-IA 1

The document outlines the Continuous Internal Evaluation for the Object Oriented Concepts course at Vivekananda College of Engineering & Technology. It includes details on the exam structure, with questions divided into two parts, covering topics such as pointers, friend functions, function overloading, and static data members. The evaluation is scheduled for May 26, 2021, with a maximum score of 50 marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

Object Oriented Concepts-IA 1

The document outlines the Continuous Internal Evaluation for the Object Oriented Concepts course at Vivekananda College of Engineering & Technology. It includes details on the exam structure, with questions divided into two parts, covering topics such as pointers, friend functions, function overloading, and static data members. The evaluation is scheduled for May 26, 2021, with a maximum score of 50 marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Vivekananda College of Engineering & Technology,Puttur

[A Unit of Vivekananda Vidyavardhaka Sangha Puttur ®]


Affiliated to VTU, Belagavi & Approved by AICTE New Delhi
CRM08 Rev 1.10 CSE 22/05/2021

CONTINUOUS INTERNAL EVALUATION– 1

Dept: CSE Sem / Div:4A & B Sub: Object Oriented S Code:18CS45


Concepts
Date:26/05/2021 Time:9.30-11.00 AM Max Marks: 50 Elective: N
Note: Answer any 2 full questions, choosing one full question from each part.
-
Q Questions Marks RBT COs
N
PART A
1 a What is this pointer? Explain the two use of this pointer with a 10 L3 CO1
programming example.
b Define friend function. Explain how one can bridge two classes using 10 L3 CO1
friend Function. Write a C++ program to find the sum of two numbers
using friend Function. Assume two variables are present in two
different class.
c List and explain any four features of object oriented program. 5 L2 CO1
OR
2 a Write a C++ program to compute the area of circle, rectangle, square 10 L3 CO1
and triangle by implementing function overloading.
b Explain the use of scope resolution operator with a programming 10 L3 CO1
example.
c What is a reference variable? Explain. Also write a program in C++ to 5 L3 CO1
swap two variables of type complex and display the values before and
after swapping.
PART B
3 a Explain static data member with a programming example. 10 L3 CO1
b Write a C++ program to create a class called employee with data 10 L3 CO1
members name, age and salary. Read and display at least 5 employee
information using arrays of objects.
` c With a programming example explain how to create objects of private 5 L3 CO1
nested class and access its private data members.
OR
4 a Write a C++ program to find the sum of two complex numbers by 10 L3 CO1
passing object as the argument to sum function.
b Explain namespace with an example. 10 L2 CO1
c What is nested class? Explain the syntax of defining nested class, 5 L3 CO1
nested class objects with a programming example.

Prepared by: Prof. Thapaswini P S, Prof. Nagaraj K HOD


Page: 1

You might also like