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 object oriented programming?
b. What is the use of header files in a program?
c. What is a void data type?
d. What is the difference between a variable and a keyword?
e. What is the use of continue statement?
f. What is a class and an object?
g. What is a friend function?
h. What is the use of scope resolution operator?
i. What is a random access file?
j. What is an abstract class?
2. Explain different operators available in C++ with use of each.
3. What is a constructor? What are different types of constructors in C++?
Explain constructor overloading with an example.
4. Discuss and explain object oriented design and modelling in detail.
5. Write a program to create a class named SHAPE. Use this class to create
other classes for different shapes. Write members of the classes to calculate
area and perimeter of the shapes.
6. a) Write a short note on formatted input output in C++.
b) How is a file created in C++? Write and explain different operations that can be performed on files.
7. a) Write a program to display all the prime numbers within a given range.
b) Write a program to search a given character in a particular string.
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) ...