Object Oriented Programing Through C++

You might also like

Download as pdf
Download as pdf
You are on page 1of 2
« aes MR Hall Ticket No. [ LI Question Paper Code: A2504 CMR COLLEGE OF ENGINEERING & TECHNOLOGY (AUTONOMOUS) B.Tech III Semester Regular Examinations NOV-2016 (Regulation: CMRCET-R15) OBJECT ORIENTED PROGRAMMING THROUGH C++ (CSE) Date:09.11.2016 Time: 3 hours Max.Marks:70 PART-A Answer all TEN questions (Compulsory) Each question carries TWO marks. 10x2=20M ist a few domain applications of OOPS technology. 2. What are the differences between C and C++? 3. What is static member function? Explain its limitations. 4, What is class? How does it accomplish the data hiding? 5. Explain the syntax for overloading operator using member function. 6. What do you mean by access specifier? List them. 7. What is data conversion? List the types. 8, Explain pointer expression and pointer arithmetic. 9. What is template? Define two categories of templates. 10 . List the types of exception. PART-B Answer any FIVE questions. One question from each unit either A or B (Compulsory) Each question carries TEN Marks. 5x10=50M 11) A. What are parameter passing methods in C++? Explain with example each. (oR) B, What are C++ storage classes? Explain with example? 12) A. Write a C++ program to generate Prime numbers between 1 and 100. (oR) B, Write a C+ program to perform Matrix Multiplication. (P.1.0) 13) A. What does inheritance means in C++? What are different forms of inheritance? Give an example for each. (OR) B, Write a C++ program that substitutes the overloaded += operator for the overloaded operator +, Concatenating string such as $1+= $2 is added to $1 and the result is left in $1 14) A. What is pure virtual function? Explain with example? (OR) B, How can Derived class pointer forcibly made point to an object of Derived class? 15) A. What is a stream? Explain with the neat diagram the C++ class hierarchy for stream handling. (OR) B, Write a C++ program to demonstrate template functions?

You might also like