B. C. A. (Sem. III) (CBCS) (W.E.F. 2019) Examination: Faculty Code: 003 Subject Code: 2033002
1. The document contains questions from the subject CS-14: C++ and Object Oriented Programming. It has 10 questions with multiple parts.
2. The questions are about concepts related to C++ programming and object oriented programming like classes, inheritance, polymorphism, templates, file handling and exception handling.
3. Objective type questions are included to test the understanding of basic and important concepts while longer questions aim to comprehensively evaluate the knowledge of topics through explanations and examples.
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 ratings0% found this document useful (0 votes)
22 views3 pages
B. C. A. (Sem. III) (CBCS) (W.E.F. 2019) Examination: Faculty Code: 003 Subject Code: 2033002
1. The document contains questions from the subject CS-14: C++ and Object Oriented Programming. It has 10 questions with multiple parts.
2. The questions are about concepts related to C++ programming and object oriented programming like classes, inheritance, polymorphism, templates, file handling and exception handling.
3. Objective type questions are included to test the understanding of basic and important concepts while longer questions aim to comprehensively evaluate the knowledge of topics through explanations and examples.
B. C. A. (Sem. III) (CBCS) (W.E.F. 2019) Examination December - 2021 CS-14 : C++and Object Oriented Programming (New Course) Faculty Code : 003 Subject Code: 2033002 1 Time : 22 Hours] [Total Marks : 70
Instructions : Attempt any Five questions.
1 (A) Objective type questions : 04 ~J.l) Full form of OOP. 9) Wrapping up of data and function together is known as ~) In POP languages, the main focus is on _ 1--(4) C++ was developed by _
(B) Explain Scope resolution operator. 02
(C) Explain structure of C++ program. 03 ..(D) What is OOP ? List and explain basic concepts of OOP. 05
2 (A) Objective type questions : 04
(l) What is identifier ? (2) What is a derived data type ? (3) What is Expression? I . . .-(4) What IS C++ ? (B) What is memory management operator ? 02 (C) Explain the concept of namespace. 03 (D) Write the benefits and applications of OOP. 05
3 (A) Objective type questions : 04
r8-) A class defined inside a class is known as _ (2) A static member variable is initialized to _ when an object is created of its class. (3) The members of a class are by default. (4) Full form 'of MIL. SAT-003-2033002 ] 1 [ Contd ... (B) What is class ? 02 (C) Explain static data member and member function in 03 class. (D) What is constructor ? Explain all types of constructor 05 in detail.
4 (A)Objective type questions: 04
( 1) What is member function ? (2) What is Local class ? (3) What is copy constructor ? -' (4) What is explicit constructor ? (B) What is Destructor ? 02 (C) Explain friend function in brief. 03 (D) Explain array within class with example. 05
5 (A) Objective type questions : 04
(1) The benefit of inheritance is '. (2) If a class is deriving from a derived class, it is known as inheritance. (3) Class A : public B, public C is example of _ .0) How many types of inheritance in C++ ? (B) What is Operator Overloading t- 02 (C) Write down rules for operator overloading.' 03 (D) What is Inheritance ? Explain the different types of 05 inheritance in detail.
6 (A) Objective type questions 04
( 1) What is Containership ? (2) What is Abstract class ? (3) What is Derived class ? (4) What is Hierarchical inheritance? (B) How many visibility modifiers are available in C++ ? 02 (C) List out types of conversion and explain anyone with 03 example. (D) How to overload binary operator using friend function? 05 Explain with example.
7 (A) Objective type questions 04
(1) Full form of RTTI. (2) If the name and prototype of functions in both the base class and derived class are same, then which version of the function will be called by the derived class object ?
SAT -003-2033002 ] 2 [ Contd ...
(3) What would be the output of the following code ? Float a =56.789; cout'<xsetprecisionr Ij-oca, (4) Which flag is used to specify hexadecimal number format? (B) Explain geu) function. 02 (C) What is RTTI ? Explain in brief. 03 (D) Explain C++ stream classes. 05
8 (A) Objective type questions : 04
(1) What is pointer to Object ? (2) What is pure virtual function ? (3) What is formatted VO operation ? (4) What is the Use of manipulators ? (B) Explain getlineO function. 02 (C) Explain this pointer with an example. 03 (D) Explain virtual function in detail with example. 05
9 (A) Objective type questions : 04
(1) Which function is used to fmd the current position of the output pointer ? (2) Full form of STL. (3) Which block handles the exception ? (4) An exception can be generated by (B) Explain seekgt). 02 (C) Explain class template with example. 03 (D) Explain File mode in details. 05
10 (A) Objective type questions : 04
(1) What is Error handling ? (2) What is a Sequential 1/0 operation. (3) What is Generic programming ? (4) What is a File pointer? (B) Explain: tellgt). 02 (C) Explain. file stream classes. 03 (D) Explain Exception handling in detail with example. 05