100% found this document useful (1 vote)
38 views2 pages

Mba 541

This document contains instructions and questions for an exam on programming in C/C++. It has two sections - Section A contains 15 multiple choice questions worth 2 marks each. Section B contains 9 questions worth 5 marks each requiring longer answers or code snippets. The exam is worth a total of 75 marks and is 3 hours long. It tests concepts in C/C++ like data types, control structures, functions, classes, inheritance, pointers, arrays and more. Students are instructed to attempt all of Section A and any 9 questions from Section B.

Uploaded by

api-3782519
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
38 views2 pages

Mba 541

This document contains instructions and questions for an exam on programming in C/C++. It has two sections - Section A contains 15 multiple choice questions worth 2 marks each. Section B contains 9 questions worth 5 marks each requiring longer answers or code snippets. The exam is worth a total of 75 marks and is 3 hours long. It tests concepts in C/C++ like data types, control structures, functions, classes, inheritance, pointers, arrays and more. Students are instructed to attempt all of Section A and any 9 questions from Section B.

Uploaded by

api-3782519
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Roll No...........................

Total No. of Questions : 13] [Total No. of Pages : 02


J-3808[UP-7062] [2037]
MBA (Semester - 3rd&4th)
PROGRAMMING IN C/C++ (MBA - 541)

Time : 03 Hours Maximum Marks : 75


Instruction to Candidates:
1) Section - A is compulsory.
2) Attempt any Nine questions from Section - B.

Section-A

Q1) [15 × 2 = 30]


a) Differentiate between Keywords and Identifiers.
b) What are various Logical operators available in ‘C’?
c) What are external variables in ‘C’?
d) What are Library functions?
e) What are ‘static’ variables?
f) What is a ‘Constructor’?
g) What is data abstraction?
h) What are virtual function?
i) What is meant by ‘Friend’ function?
j) How does pseudo code differ from a flowchart?
k) Who developed the ‘C’ language? Where did he develop it?
l) What are control statements?
m) What are various data types in C++?
n) What are enumerated data types?
o) Why C++ is called an object-oriented language?

P.T.O.
Section-B
[9 × 5 = 45]
Q2) How are two-dimensional Arrays created in ‘C’?

Q3) Why control structures are important in a programming language?

Q4) What is Inheritance? List various advantages of Inheritance.

Q5) Explain the ‘Message Passing’ concept between two classes in a C++
program.

Q6) Write a small code in C++ to access private member function of class A in
a friend class B.

Q7) Explain format/syntax of if........then..........else structure.

Q8) What is the role of inline function? Discuss.

Q9) Write a program in C++ to arrange the list of names in a descending order.

Q10) What are various string manipulation functions available in ‘C’?

Q11) What is the difference between pointers of C and C++? Exemplify.

Q12) Write a program in ‘C’ to check whether a number is prime or not.

Q13) Draw a flow chart to compute the roots of quadratic equation.

ZZZ

J-3808[UP-7062] 2

You might also like