0% found this document useful (0 votes)
27 views12 pages

Pyq Oops Ru

The document outlines the course outcomes and structure for a course on Object Oriented Programming through C++. It covers fundamental concepts, C++ programming, inheritance, polymorphism, virtual functions, and file management, along with recommended textbooks. The examination format includes very short, short, and long answer questions, emphasizing the importance of understanding object-oriented principles and C++ syntax.

Uploaded by

ishita2004sharma
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)
27 views12 pages

Pyq Oops Ru

The document outlines the course outcomes and structure for a course on Object Oriented Programming through C++. It covers fundamental concepts, C++ programming, inheritance, polymorphism, virtual functions, and file management, along with recommended textbooks. The examination format includes very short, short, and long answer questions, emphasizing the importance of understanding object-oriented principles and C++ syntax.

Uploaded by

ishita2004sharma
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/ 12

Course Outcomes (COs): On completion of the course, the student will be able to:

• Understand the fundamental concepts of object-oriented programming.


• Design and implement C++ programs using classes, objects, and inheritance.
• Apply polymorphism and templates to develop reusable code.
• Utilize advanced features of C++ to develop efficient and modular programs.

BCA-63T-203 : Object Oriented Programming Through C++


UNIT – I
Introduction to Object Oriented Concepts: Evolution of OOP, OOP Paradigm, advantages of OOP,
comparison between functional programming and OOP approach, characteristics of object oriented
language – objects, classes, inheritance, reusability, user defined data types, polymorphism, overloading.
UNIT – II
Introduction to C++: C++ tokens, data types, C++ operators, type conversion, variable declaration,
arrays, statements, expressions, conditional statements, Jumping statements, loops, functions, pointers,
structures.
Classes and Objects: Classes, objects, defining member functions, arrays of class objects, pointers and
classes, passing objects, constructors, types of constructors, destructors, this pointer, access specifiers,
friend functions, inline functions.
Unit – III
Inheritance: Introduction, Importance of Inheritance, types of inheritance, Constructor and Destructor in
derived classes., member access control.
Polymorphism: Functions Overloading, Operator Overloading, early binding polymorphism with
pointers, Unary and Binary Operator Overloading, Overload Assignment Operator, Copy Constructor.
Unit –IV
Virtual Function : Virtual Function, late binding, pure virtual functions, abstract classes, Generic
Programming with Templates, Friend function, Overloaded Function Templates, Multiple Arguments
function Template.
File Management: Handling Data files (sequential and random), Opening and closing of files, stream
state member functions, Operations on File, Exception Handling.
Recommended Books:
Deitel HM & Deitel JP; C/C++ How to program; 5thEdn; Pearson Pub.
Balagurusamy ; Object Oriented Programming in C++; 4th Edition TMH.
Venugopal, Rajkumar; Mastering C++; Tata Mcgrow Hill,.
This question paper co11tai11s 3 pri11lt!1l pages/ Roll No....2.J.JD..S.K ..... .

SI.No.. 0202 236(A)


Il.C.A. (Part- II)
B.C.A. (Part- II) EXAl\11NATION, 2017
(Faculty of Science)
(Three-year scheme of 10 + 2 + 3·Pattcrn)
Paper - 236 - A
OBJECT ORIENTED PROGRAMMING CONCEPTS ( Through C+t-)
Time: Three Hours/ /1Ylaxi11111111 Afarks : 100
Answer ofoll the questions (short answer as well as descriptive) are to be given in the main answer -book
only. Answers of short answer type questions must be given in sequential order. Similarly all the parts of
one question of descriptive part should be answered at one place in the answer-book. One complete
question should not be answered at different places in the answer-book. Write your roll numbers on
question paper before start writing answers of questions.
Q

Question paper consists of three Parts.


All Tl/REE Parts are compulsory.

PART/: (Very Sl:ort Answer) consists of IO q11estio11s of two marks each. Maximum
limit for each question is up to 40 words. •
/
PART II: (SlwrtAnswer) consists of 5 questions of four marks e{lc/t. MfL\:imum limit for
each question is up to 80 words.
PART Ill: (Long answer) consists of 5 questions of twelve marks eaclt ·with i11temal
cltoice.

PART- I
1. a) What are objects?
b) What is a class?
c) What is Data abstraction?
d) What are Tokens? 1 It

e) What are keywords?


i) What are data members and member functions?
g) Define Inline Function?
h) What is Derived class?
i) What is File?
j) Define Templates?
(10 X 2 = 20]
R-696 P. T.O.
PART11
e r detine
data
type in
in C++ 2+10
C++? Explain
7. What
is user define data type in oR
each.
O0Pa langulg gexplain 12
What are the basic conoepta of
with
example, 12
xplain the various types of jumpingE state menm
and average using pointer with function
Program dnvalues into array tnum
read
2
e
n with example.
H o w to define member functions of a class f. h
OB
What isfriendrial
function ?Whtare the generalCha racteristicoffriend function ?Writea C++program
value using friend runction.
caiculat 34+5

10 Write a Ct* program to demonstratemultple inhritance, asaume suitable data or (data member) for 12
defining classes.

OR
What is operator overloading? Bxplain with suita ble example. 4+6

11. Explain the various file stream clasees used in C


OR
What 1s exception ? How many types of exception ? How to handle exception in C++? Explain
+2+8

-o O
�UO / ��0-A Obj. Ori. Pro. Con.
B.C.A. (Part-II) EXAMINATION - 2022
(Faculty of ci . 11c ) 100154
(Thr' -Yonr S ·h )m of 10+2+3 PnU.crn)
1

OBJECT ORIENTED PROGRAMMING


CONCEPTS ( 1'hrough c++
)
•tfi1nc Allowed: Three Hours Mnximum MnrkA: 100

Answers of oil the questions (Short answer as well as descriptive) are to be given in the main anRwer-booh only.
Answers of Short answer type q11cst.1'.ons 1111tst be given in seq1wntial order. Similarly all the parts of one question
of descriptive part should be answered at one place in tl(c answer-booll. One complete question should not be
answered at different places ,:n the answer-book.
Write your roll number on question paper before start writing answers of questions.
Question paper consis.ts of three parts. All three parts are compulsory.

PART-I: (Very short answe11 consists of 10 questions of 2 marks each. Maxi,f!,um �imit for each question is
upto 40 words.
PART-II: (Short answer� consists of 5 questions of 4 marks each. Maximum limit for each question. is upt.o
80 words.
PART-III :(Long answer1 consists of 5 questions of 12 marks each answer 1 question from each part, each
question is with interna.l choice.

PART-I

Attempt all the questions 10x2=20


(a) What is data oriented approach?
(b) Write difference between functional and object o!iented programming. •
(c) Write difference between break and continue. 1

(d) What is 'this' pointer? ,.


(e) What is destructor? I.

(f) Define inline function. ,.


(g) What is Polymorphism? Write types of polymorphism.

(h) What is function ov�rloading?


(i) What is function template?
(j) Write difference between sequential access and random access file.

206/236-A 1 P.T.O.

You might also like