BCA Object Oriented Programming Past Paper Dec 2023 PDF
Document Details
Uploaded by FuturisticFoil179
Ch. Charan Singh University
2023
BCA
Tags
Summary
This is a past paper for the BCA Object Oriented Programming exam, from December 2023. The paper includes multiple sections covering various aspects of C++ programming, including object-oriented concepts and fundamental functionalities.
Full Transcript
# B.C.A. Examination, Dec.-2023 ## Object Oriented Programming Using C++ **(BCA-301)** **Time: Three Hours]** **[Maximum Marks: 75** **Note:** Attempt questions from all sections as per instructions. ## Section - A **Note:** Attempt all parts. Each part carries 3 marks. **3×5=15** 1. (a) Give...
# B.C.A. Examination, Dec.-2023 ## Object Oriented Programming Using C++ **(BCA-301)** **Time: Three Hours]** **[Maximum Marks: 75** **Note:** Attempt questions from all sections as per instructions. ## Section - A **Note:** Attempt all parts. Each part carries 3 marks. **3×5=15** 1. (a) Give difference b/w C & C++. (b) Explain the term "Generic Classes". (c) Give difference between Overloading and overriding. (d) Explain the use of C in a Cout in C++. (e) What is inheritance? How is it implemented in C++ programming. **P.T.O.** ## Section-B **Note:** Attempt any two questions. **7.5×2=15** 2. Write a program in C++ to print first 10 nos of fibonacci series series is 0, 1, 1, 2, 3, 5, 8, ... 3. Write about different access specifies used in C++. 4. What do you mean by Run time polymorphism. How is it achieved in C++. ## Section-C **Note:** Attempt any three questions. **15×3=45** 5. Define a class names "Train" representing following members: | Data members | Members Functions | |---|---| | Train number | Initialize members | | Train Name | Input train Data | | Source | Display Data | | Destination | | Journey Date | | Capacity | | Write a C++ program to test the train class. | 6. Write a C++ program that will create data file containing the list to telephone members as: * John 34567 * Hari 56792 7. (a) Explain Dynamic memory allocation uert to C++. (b) How is garbage collection done in C++. 8. Write a C++ program to swap two nos using pointers. 9. Write short notes on: * Exception Handling * Constructor & its types * Composition vs. classification hierarchy **18011/2** **18011/3**