Programming Using C++ — DU B.Sc. (Hons) Computer Science Previous Year Question Papers

Programme
B.Sc. (Hons) Computer Science
Paper type
GE
Paper code
2344001101
Exam years
2022–2026

Programming Using C++ is a GE paper in Semester I, II of B.Sc. (Hons) Computer Science at Delhi University (paper code 2344001101). 26 previous year question papers from 2022–2026 are listed below; view or download each original PDF.

Share with your class: WhatsApp Telegram

2026 question papers

2026

B.Sc. (Hons) Computer Science

2344001101
2026

B.Sc. (Hons) Computer Science

2344001101
2026

B.Sc. (Hons) Computer Science

2344001101

2025 question papers

2025

B.Sc. (Hons) Computer Science

2344001101
2025

B.Sc. (Hons) Computer Science

2344001101
2025

B.Sc. (Hons) Computer Science

2344001101
2025

B.Sc. (Hons) Computer Science

2344001101
2025

B.Sc. (Hons) Computer Science

2344001101
2025

B.Sc. (Hons) Computer Science

2344001101

2024 question papers

2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101
2024

B.Sc. (Hons) Computer Science

2344001101

2023 question papers

2023

B.Sc. (Hons) Computer Science

2344001101
2023

B.Sc. (Hons) Computer Science

2344001101
2023

B.Sc. (Hons) Computer Science

2344001101
2023

B.Sc. (Hons) Computer Science

2344001101
2023

B.Sc. (Hons) Computer Science

2344001101
2023

B.Sc. (Hons) Computer Science

2344001101

2022 question papers

2022

B.Sc. (Hons) Computer Science

2344001101

What was asked in the 2026 Programming Using C++ paper?

Text of the DU question paper (UPC 2344001101), so you can see what gets asked before opening a PDF.

4. Parts of question must be answered together. 1. (a) Explain dynamic initialization of a variable with a suitable example. 3 (b) Differentiate with the help of an example 6 (i) Static and dynamic polymorphism. (i) Break and continue statement (c) Find out the errors) in following code snippets after execution giving 10 (i) #include ‹iostream› (ii) #include <iostream> return 0; return × * y; int main () #include <iostream> cout « fun (5,10); int main () ifstream file; file.open ("data.txt": file «< "Hello, Worl file. close (); return 3; (iv) #include <iostream› return × + yi int main () int z = add (3, 4) ; cout << z; return 0; (v) #include <iostream› using namespace std; class Student public: student (int age, string course) this-›age = age; this->course = course; void display () cout «< "Age: " ‹< age ‹< ", Course: " « course ‹< endl; private: int age; string course; int main () S1.display () ; return 0; (d) Convert the following recursive function to iterative version: 5 return n; return func (n - 1) + func (n - 2) ; (e) Write a Ct+ program to swap two numbers using function template. 6 Section-B ri (a) Write a C++ program to print the following pattern for n rows: 5 (b) Which of the following identifiers are valid? Give reasons. 5 (iii)_number (c) Observe the code below and answer the question: 5 A () { cout ‹< "A Constructor\n"; } A () | cout ‹< "A Destructor\n"; } class B : public A { B () { cout << "B Constructor\n"; } BI) | cout «< "B Destructor\n". ) int main () (i) What will be the output? (ii) Explain the order of constructor and destructor execution. (b) Write the output of the following code fragment after execution: 5 (c) Write a function largest (int a, int b, int c) that finds 5 greatest of three given numbers. Write a main function that reads three integers a, b, c from the user and uses largest to print greatest of three numbers. 4. (a) Write a C+t program to create a class BankAccount with member 8 functions to deposit, withdraw and display balance. Define a default constructor for this class with 0 balance. Define functions to take input and display the balance of the customers (objects). Write a Ct+ program that defines a template function min which accepts 7 (b) two parameters of any type and returns the minimum of the two values. Test the function with int, float, and char types. member functions addition, subtraction, multiplication, and division. Use objects of the class to perform arithmetic operations on two numbers. (b) help of a C++ program. Design a C+t program to demonstrate multilevel inheritance using the 10 (a) following classes: class School (Base class) with attributes: school_name and location. class Grade (Intermediate class): Inherits from School and adds attributes: grade_name and teacher. class Student (derived class): inherits from Grade and adds attributes: student_name and marks.

How can I prepare for Programming Using C++?

Related subjects in B.Sc. (Hons) Computer Science

Frequently asked questions

Where can I download the DU Programming Using C++ previous year question paper PDF?
This page lists 26 Programming Using C++ question papers for B.Sc. (Hons) Computer Science at Delhi University (2022–2026). Open any paper to view the original PDF or download it. It is free and needs no login.
Which years of Programming Using C++ question papers are available?
Programming Using C++ papers are available for 2026, 2025, 2024, 2023, 2022.
What is the paper code (UPC) of Programming Using C++?
The Unique Paper Code for Programming Using C++ in B.Sc. (Hons) Computer Science is 2344001101.
Which semester is Programming Using C++ taught in?
Programming Using C++ is a GE paper in Semester I, II of B.Sc. (Hons) Computer Science, according to DU's published scheme.

← All B.Sc. (Hons) Computer Science subjects