Wednesday, October 5, 2016
Total No. of Questions: 07]
Paper ID [MB681]
MBA(Sem.-3rd & 4th )
PROGRAMMING IN C/C++ (MB-681)
TIME: 03 Hours
Instruction to Candidates:
1) Section – A is Compulsory.
2) Attempt any Four questions form Section – B.
Section - A
a) What is equality operator? How it is different from assignment operator?
b) How are the variables declared in C++?
c) List out the merits and demerits of while loop and do-while loop.
d) what is a macro and how is it different from a preprocessor?
e) Can an array name be used as an argument to a function? Explain.
f)List the merits and demerits of the enumeration data types.
g) How is a nested class declared and defined in C++?
h) What is a Pure virtual function?
i) In what way a constructor is different from an automatic initialization?
j) What are binary files?
Q2) (a) What is an algorithm? Write an algorithm to find greatest common divisor of the given two numbers.
(b) Write a program in C/C++ to find roots of a general quadratic equation.
Q3) (a) Explain the difference between pass by value and pass by reference with the help of suitable code fragments.
(b) What is recursion? Write a program in C/C++ to find factorial of a number using recursion
Q4) (a) What is meant by a union? Differentiate between a structure data type and a union.
(b) What are pointers'? Write a program to concatenate the given two strings into one string using pointers.
Q5) (a) What is a friend function? Write a program to demonstrate the usage of a friend function.
(b) What is multilevel inheritance? Write program in C++to explain multilevel inheritance.
Q6) (a) Explain the difference between early and late binding with the help of suitable code fragments.
(b) Explain the merits and demerits of random access file processing in C++.
Q7) Write short notes on the following:
(a) Software reusability.
(b) Operator overloading.
(c) Default 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) ...