Wednesday, August 31, 2016
Total No. of Questions : 07
B.Sc. (IT) (Sem.–3rd)
PROGRAMMING IN C++
Subject Code : BS-205
Paper ID : [B0411]
Time : 3 Hrs.
INSTRUCTION TO CANDIDATES :
1. Section –A, is Compulsory.
2. Attempt any four questions from Section-B.
a) What are the uses of scope resolution operator? Explain?
b) What are the merits of private inheritance?
c) What are the various file opening modes? List them.
d) In what way a destructor is different from delete?
e) Differentiate between reference variable and a pointer.
f) What is the relevance of static variable in a class?
g) What do you mean by pure virtual functions?
h) Write note on inline function.
i) Write note on recursion.
j) Show how to allocate a double and an int by using new.
Section - B
Q2) (a) Differentiate between call by reference and call by address.
(b) What do you understand by object oriented Languages? Explain the features of OOPs.
Q3) Write note on Private, Public and protected access specifiers. Explain with the help of a class Inventory and show how can we access the private member?
Q4) Develop a Class Complex in C++. Class must use constructor overloading and use display and add function to show the output and add two complex numbers respectively?
Q5) Describe the syntax of multilevel inheritance. When such an inheritance is used? Explain with a suitable program?
Q6) Write a program in C++ to copy the content of one text file to another text file using command line arguments?
Q7) What do you mean by operator overloading? Explain the concept with overloading of arithmetic operators on any class of your choice.
punjabtechnicaluniversity.blogspot.in Roll No......................... ... Total No. of Questions : 07] ...
Roll No……….. Total No. of Questions: 07 B.Com. (Sem.-1 st ) FINANCIAL ACCOUNTING Subject Code: BCOP-101 Paper ID: [B1101] ...
punjabtechnicaluniversity.blogspot.in Click Here for Syllabus of B-Tech 1st Year . http://ptu.ac.in/userfiles/file/engg_syllab/1st_and_...
Business Organisation and Management, Question Paper of B.Com 1st Semester,Download Previous Years Question Paper 2Roll No…….. Total No. of Questions: 07 B.Com (Sem.-1 st ) BUSINESS ORGANIATION AND MANAGEMENT Subject Code: BCOP-102 (2011 &a...
Roll No……. Total No. of Questions:07 B.COM (Sem.-1 st ) BUSINESS MATHEMATICS SUBJECT CODE: BCOP-104 (2011 Batch) PAPER ID: ...
punjabtechnicaluniversity.blogspot.in Roll No. ...................... Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Master Of Technology (M-Tech) Syllabus SYLLABUS FOR MASTER OF TECHNOLOGY (M-Tech) Br...
punjabtechnicaluniversity.blogspot.in Click Downlink for Dowload of Scheme and Syllabus of B.Com. Professional Batch 2011onwards ht...
B.Sc. IT (402) (S05) / 102 (New) (Sem. - 4th) BASIC MATHEMATICS – I, Punjab Technical University, PTU, Question paperpunjabtechnicaluniversity.blogspot.in Roll No. ................. Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Roll No . ............ Total No. of Questions : 07) ...