Accounting and Financial Management (3) Analog and Digital Communication (2) Artificial Intelligence (2) BE(Civil) (2) BE(CSE) (83) BE(ECE) (11) BE(Mech) (10) Business Processes (3) C# and .NET Framework (2) Communication Skills (1) Compiler Design (1) COMPONENT BASED TECHNOLOGY (1) COMPUTER ARCHITECTURE (1) COMPUTER GRAPHICS and MULTIMEDIA SYSTEMS (6) COMPUTER INTEGRATED MANUFACTURING (1) Computer Networks (9) Computer Organization (2) Computer Programming (1) Consumer Behaviour (1) Control Systems (1) Cryptography and Network Security (3) Datastructures and Algorithms (10) Datawarehousing and Mining (1) DBMS (5) DESIGN AND ANALYSIS OF ALGORITHMS (9) DESIGN OF MACHINE ELEMENTS (1) DIGITAL PRINCIPLES AND SYSTEMS DESIGN (3) Discrete Mathematics (1) DISTRIBUTED COMPUTING (2) DSP (8) DYNAMICS OF MACHINERY (2) Economic Foundations (1) ELECTRICAL ENGINEERING (1) ELECTRICAL ENGINEERING AND CONTROL SYSTEMS (1) Electromagnetic Fields (3) ELECTRONIC CIRCUITS (1) ELECTRONIC COMMERCE (4) ELECTRONIC DEVICES AND CIRCUITS (1) EMBEDDED SYSTEMS (1) FUNDAMENTALS OF COMPUTING (2) Graphics and Multimedia (3) HEAT AND MASS TRANSFER (1) HUMAN RESOURCE MANAGEMENT (1) Internet Programming (9) INTRODUCTION TO FINITE ELEMENT ANALYSIS (1) Legal Aspects of Business (1) MANAGEMENT INFORMATION SYSTEMS (1) Marketing Management (1) MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE (4) MATHEMATICS - I (1) MBA (9) MCA (83) MCA QUESTION BANK (2) MECHATRONICS (1) MicroProcessor and Controllers (4) MICROPROCESSORS AND APPLICATIONS (5) MIDDLE WARE TECHNOLOGIES (3) MOBILE COMPUTING (5) NETWORK PROGRAMMING (1) NUMERICAL METHODS (1) OBJECT ORIENTED ANALYSIS AND DESIGN (5) Object Oriented Programming (18) Operating System (2) OPERATING SYSTEMS (9) Organizational Behaviour (2) POWER ELECTRONICS (1) Principles of Management (8) PROBABILITY AND QUEUEING THEORY (2) Probability and Statistics (1) PROBLEM SOLVING AND PROGRAMMING (2) PROCESS PLANNING AND COST ESTIMATION (1) PROFESSIONAL ETHICS AND HUMAN VALUES (1) RANDOM PROCESSES (1) RESOURCE MANAGEMENT TECHNIQUES (2) ROBOTICS (1) Security analysis (1) Service Marketing (1) SIGNALS AND SYSTEMS (1) Software Engineering (8) SOFTWARE PROJECT MANAGEMENT (4) SOFTWARE QUALITY MANAGEMENT (2) System Software (2) TCP/IP PROTOCOL SUITE (3) Theory of Computation (4) Total Quality Management (2) UNIX AND NETWORK PROGRAMMING (4) Visual Programming (2) WEB GRAPHICS (2) WEB TECHNOLOGY (2) XML AND WEB SERVICES (4)

Tuesday, October 26, 2010

CA5152 OBJECT ORIENTED PROGRAMMING JULY 2009

M.C.A DEGREE EXAMINATION JUNE/JULY 2009
2ND SEMESTER
CA5152 OBJECT ORIENTED PROGRAMMING
(REGULATION 2007)

PART A – [10 X 2 = 20 marks]

1.What do you mean by data abstraction?
2. Give the advantages of object oriented programming.
3. What are friend functions?
4. How does an Inline function differ from a preprocessor macro?
5. What are copy constructors?
6. What is pure virtual function?
7. Write the function template for swap.
8. What are lists in C++?
9. What is purpose of ‘this’ pointer?
10. List the functions used with I/O stream.

PART B – [5 X 16 = 80 marks]

11.Explain the features of object oriented programming with examples.
Or
Compare the features of different programming paradigms.

12. Explain the various file stream classes needed for file manipulation.
Or
Explain the concept of passing an object by reference and return an object by reference with suitable example.

13.(a) Explain constructor with default arguments. (8)
(b) Describe the use of copy constructors. (8)
Or
(a) Explain overloading of unary operators (post ++, pre ++) with example. (8)
(b) Explain multiple inheritance with example. (8)

14.(a) write a program to create a string class and include member functions to add two string objects and to display string object. (10)
(b) write a note on exceptions. (6)
Or
(a) What is a nested class? Explain with an example. (8)
(b) what is meant by Map? Explain with an example. (8)

15. Explain the role and different types of classes with an example.
Or
(a) Write a program to calculate the sub totals of products sales in 5 different zones. Each zone has 5 sales persons. Finally print total sales amounts along with subtotals of each zone. And also print the total sale of each sales person. Use static members. (10)
(b) Write a C ++ program to print the calendar of months Jan-May of a given year.

No comments:

Post a Comment