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 consisting of TEN questions ca
TWO marks each.
2. SECTION-B contains SIX questions carrying TEN marks each and st
has to attempt any FOUR questions.
l. Write briefly :
(a) What is Pointer Arithmetic?
(b) What are Arrays?
(c) What are Inline Member Functions?
(d) What is a Friend Function?
(e) What is the main advantage of recursion?
(f) What is Multiple Inheritance?
(g) What is Function Overloading?
(h) What is Early Binding?
(i) What are the types of files supported by C++ ?
(j) Name the various binary file operations.
2. Explain the following types of functions in detail:
(i) Local or private functions
(ii) Member functions
(iii) Friend functions
(iv) In-line functions
(v) Constructor functions.
3. Write a program to find the day of the week using simple if and switch
4. What is the role of file pointer in a C++ program?
5. Define a class "ACCOUNT". Include following members :
Data Members: Name of Depositor, Account No., Type of Account,
Member Function: To assign initial values, deposit amount, withdraw after
checking balance, To display name and balance. Write main Program to
test the program for 10 customers.
6. What is function overloading? Write a program in C++ which has a
Function add that is able to concatenate two strings, if values passed are
strings and can perform addition, if values are numbers.
7. What is a constructor? What are the rules for defining a constructor?
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) ...