How To Exam?

a knowledge trading engine...


Punjab Technical University 2007-4th Sem M.B.A (-3/) PROGRAMMING IN C/C++ ( - 541) - Question Paper

Monday, 15 April 2013 06:50Web

MBA (Semester - 3rd/4th)

PROGRAMMING IN C/C++ (MBA - 541)

Time : 03 Hours Maximum Marks : 75
Instruction to Candidates:
1) part - A is compulsory.
2) Attempt any 9 ques. from part - B.

part - A
Q1) (15 x two = 30)
a) What is difference ranging from pseudo code and a flow chart?
b) describe identifier? elaborate rules to write an identifier in C?
c) What is difference ranging from true arguments and formal arguments of
a function?
d) elaborate different kinds of operators in C language?
e) What is the difference ranging from break and continue on statement?
f) What is an Array? What is its advantage in programming?
g) What is a structure? How it is various from a union?
h) How can we use a pointer variable to access members of a structure?
i) What do you mean by enumerated data type?
j) What is difference ranging from while and do...while statements?
k) elaborate the features of C++ which were not supported in C?
l) What is difference ranging from an object and a class?
m) What is the purpose of using destructors in a class?
n) What is function overloading?
o) What is a constructor?

part - B
(9 x five = 45)
Q2) elaborate different characteristics of an Object Oriented Programming?
Q3) Write syntax of different control statements in C.
Q4) Write a program to display name of day of a week corresponding to a
number using switch statement.
Q5) Draw a flow chart to obtain roots of a quadratic formula.
Q6) Write a program to count the number of vowels in a character array.
Q7) What can be different kinds of errors in a program?
Q8) Write a program to swap values of 2 numbers using passing parameters
by value and by reference.
Q9) Write a program to learn and display contents of an array using pointer to
array.
Q10) Write a program to overload the + operator to add contents of 2 structure
variables.
Q11) What is a virtual function? discuss the use of virtual functions.
Q12) What is inheritance? elaborate its different types?
Q13) How do we learn data from files and write data to files in C language?


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2007-4th Sem M.B.A (-3/) PROGRAMMING IN C/C++ ( - 541) - Question Paper