Wednesday, October 5, 2016
Total No. of Questions: 07]
PROGRAMMING IN C/C++
SUBJECT CODE: MB-981
Paper ID: [C0163]
TIME: 03 Hours
Instruction to Candidates:
1) Section – A is Compulsory.
2) Attempt any Four questions form Section – B.
Section - A
a. What is the purpose of functions Prototype and Scope?
b. Differentiate between pointers and references.
c. What is meant by pass-by value parameter?
d. Differentiate between procedural and object oriented programming languages.
e. Suggest the storage class for the following variables
A normal variable
Very heavily used variable
A variable that spans multiple files
A variable that should retain its value after the function call is over.
f. Why an array is called a derived data type ?
g. Differentiate between single and multiple inheritance.
h. List two major difference between a data file and program file.
i. Explain what do you mean by overloading the arithmetic assignment operator.
j. What are the advantages and disadvantages of late binding?
a. Write a program in C++ showing the use of riend function.
b. Write a program in C++ to find sum of digits of a number.
a. Write a program in C++ to find rots of a quadratic equation.
b. Write a program in C++ to find factorial of a number using recursion.
a. Write a program in C++ to interchange the elements of two arrays.
b. Write a program in C++ showing the use of Destructor function.
a. Write a program in C++ that reads an unspecified number of numbers and then together with their deviations from their mean.
b. Explain different types of base classes in C++ language?
a. Write a program in C++ open and close a file.
b. Explain the term Array of Pointers with help of a suitable example.
7. Write shorts notes on following:
a. Inline Member functions.
b. Pure Virtual functions.
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) ...