Programming using C++ — DU B.Sc. (Prog) Physical Science courses pertaining to Computer Science Previous Year Question Papers

Programme
B.Sc. (Prog) Physical Science courses pertaining to Computer Science
Paper type
DSC
Paper code
2342571102
Exam years
2022–2026

Programming using C++ is a DSC paper in Semester I of B.Sc. (Prog) Physical Science courses pertaining to Computer Science at Delhi University (paper code 2342571102). 20 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. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2026

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2026

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102

2025 question papers

2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2025

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102

2024 question papers

2024

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2024

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2024

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2024

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102

2023 question papers

2023

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2023

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102
2023

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102

2022 question papers

2022

B.Sc. (Prog) Physical Science courses pertaining to Computer Science

2342571102

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

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

Semester / Type : I/ Discipline Specific Course A1 DSC 4. Parts of a question must be answered together. Section A: 30 Marks 1. a) How built-in data types are different from derived data types. Give example. 5 b) Which of the following are valid identifiers and which of the following 5 invalid identifiers? Give reasons for each. i) @count il)_count iii) 3count iv) #marks v) Marks# vi) english_marks vil) countofstudents viii): gmg4fuzj ix) wiluqfvyS x) ge7z4z c) Answer the following in one word: 5 i) An object-oriented programming language which does not allow multiple inheritance. il) The process of making an operator exhibit different behaviour in different instances is known as ? ili) Header file that contains macros and helps in debugging. iv) Header file that contains classes for identifying data types during execution. v) Header file that contains classes for stream manipulation and for matting of data streams. d) Explain under what circumstances the following statements are used (any 2.5+2.5 i) throw; ii) void fun 1 (float x) throw( iii) catch (...) e) i) Give four instances where in line function may not work. 2 ii) Explain with example if a compiler ignore the in line function 1 iii Exnlain the tradenff associated with the in line function? 2. with example. Section B: 60 Marks 2. a) Explain with example how pointer to functions is different from pointer to 5 natural numbers. The program asks the user to input a value for n and print out the sum. c) Explain the following statements with the help of an example: 2+2 i) break ii) continue 3. a) Find the error and correct the code 2*5 i) int m==40; ii) if (x = 10) cout « "Yes"; iii) float arr[5] = (1, 2, 3, 4, 5, 6); iv) int *p = &x; delete p; v) for (int i=0; i<10; 1--); b) Why are access specifiers (private, public, protected) considered a tool of 5 4. a) Write a menu driven C++ program simulating a simple Shape hierarchy. 8 Declare a base class called Shape with a virtual function area. Derive two classes, Circle and Rectangle, each overriding the area function to calculate the area of a circle and a rectangle respectively. The program will take all inputs necessary-for example, the radius for the circle and the length and width for the rectangle. The program should calculate the area and print the results. 5. a) b) Explain call-by value and call-by reference with the help of example. Write a 4+3 program to swap two numbers using these two concepts. functions. Explain how polymorphism can be achieved during run time using virtual b) Write a program using ct+ for the following numeric pyramid patter: 1 5 c) Given an array of n integers, write a user interactive program in C+t using recursive function to print all possible subsets of the array. The program should take array size and array values from the user. Differentiate between object-based programming language and object-oriented language. 6 b) Identify the error and rectify. Explain the reason also. i) Code1 3*3 #include <iostream›

How can I prepare for Programming using C++?

Related subjects in B.Sc. (Prog) Physical Science courses pertaining to Computer Science

Frequently asked questions

Where can I download the DU Programming using C++ previous year question paper PDF?
This page lists 20 Programming using C++ question papers for B.Sc. (Prog) Physical Science courses pertaining to 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. (Prog) Physical Science courses pertaining to Computer Science is 2342571102.
Which semester is Programming using C++ taught in?
Programming using C++ is a DSC paper in Semester I of B.Sc. (Prog) Physical Science courses pertaining to Computer Science, according to DU's published scheme.

← All B.Sc. (Prog) Physical Science courses pertaining to Computer Science subjects