Exam Details
Subject | oop’s using c++ | |
Paper | ||
Exam / Course | m.c.a.commerce | |
Department | ||
Organization | savitribai phule pune university | |
Position | ||
Exam Date | April, 2018 | |
City, State | maharashtra, pune |
Question Paper
Total No. of Questions—4] [Total No. of Printed Pages—4
Seat
No. [5361]-202
M.C.A. (Commerce) (II Sem.) EXAMINATION, 2018
202 OOP'S USING
(2013 PATTERN)
Time Three Hours Maximum Marks 50
N.B. All questions are compulsory.
(ii Figures to the right indicate full marks.
1. Attempt any two
Write a program to accept the item_id, name, qty, rate
for five items using array of objects. Calculate amount, total
bill and display output.
Write a program to copy the content of one text file
into another text.File.
Write a program to create a class TIME which contains
hours, minutes, seconds and overload the operator to check
whether given two times are same or not.
2. Attempt any three
What is the output of this program
#include <iostream>
Using namespace std;
class A
[5361]-202 2
public
int x 20;
class B
int x 10;
int main(
A obj
B obj
obj 1 obj
cout obj 1.x;
cout endl;
return
Trace the outupt for
#include <iostream>
using namespace std;
class Test
private
int marks 85;
public
Test (int marks)
cout this marks;
cout endl;
[5361]-202 3 P.T.O.
int main
Test
return
Trace the output for
include <isotream>
using namespace std;
class A
int x
int main
int x
cout
cout endl;
cout
out endl;
out
cout endl;
return
Trace the output for
#include <isotream>
using namespace std;
int main
[5361]-202 4
randomize
int Arr
int chance random
For (int i i
n random(2);
cout Arr chance
3. Attempt any three
What is constructor Explain different types of constructor
in brief.
What is Friend Function What are their implications on
information hiding
Explain the importance of class template with example.
Explain the need of scope resolution operator.
4. Write short notes on (any three)
Namespaces
Operator overloading
String manipulation
Virtual function.
Seat
No. [5361]-202
M.C.A. (Commerce) (II Sem.) EXAMINATION, 2018
202 OOP'S USING
(2013 PATTERN)
Time Three Hours Maximum Marks 50
N.B. All questions are compulsory.
(ii Figures to the right indicate full marks.
1. Attempt any two
Write a program to accept the item_id, name, qty, rate
for five items using array of objects. Calculate amount, total
bill and display output.
Write a program to copy the content of one text file
into another text.File.
Write a program to create a class TIME which contains
hours, minutes, seconds and overload the operator to check
whether given two times are same or not.
2. Attempt any three
What is the output of this program
#include <iostream>
Using namespace std;
class A
[5361]-202 2
public
int x 20;
class B
int x 10;
int main(
A obj
B obj
obj 1 obj
cout obj 1.x;
cout endl;
return
Trace the outupt for
#include <iostream>
using namespace std;
class Test
private
int marks 85;
public
Test (int marks)
cout this marks;
cout endl;
[5361]-202 3 P.T.O.
int main
Test
return
Trace the output for
include <isotream>
using namespace std;
class A
int x
int main
int x
cout
cout endl;
cout
out endl;
out
cout endl;
return
Trace the output for
#include <isotream>
using namespace std;
int main
[5361]-202 4
randomize
int Arr
int chance random
For (int i i
n random(2);
cout Arr chance
3. Attempt any three
What is constructor Explain different types of constructor
in brief.
What is Friend Function What are their implications on
information hiding
Explain the importance of class template with example.
Explain the need of scope resolution operator.
4. Write short notes on (any three)
Namespaces
Operator overloading
String manipulation
Virtual function.
Other Question Papers
Subjects
- advance java
- advanced database management system
- advanced networking
- advanced operating system
- advanced web programming
- business and professional skills
- business communication
- business strategies
- content management system
- core java
- cyber law and ethics
- data structure using-c
- data warehousing and data mining
- database management system
- distributed database system
- e-commerce practices andtechnologies
- element of statistics
- elements of mathematics
- financial and investment analysis
- fundamental of informationtechnology
- human resource management
- information system audit
- it project management
- knowledge management for business
- m-commerce
- management information system
- mobile communication
- networking operations
- numerical and statistical methods
- oop’s using c++
- operating system
- operating systems
- principles of management
- programming fundamentals : ‘c’ programming
- programming in ‘c’
- relational database management systems
- software engineering
- system analysis and design
- system organisation and management
- system simulation and modeling
- visual programming
- web technologies