munotes®

BSc IT Sem II ATKT 2018-19 ATKT Object Oriented Question Paper - Mumbai University | munotes

ATKT Question Paper, 2018.pdf
SEM II · 1 May 2025

Loading PDF...

Questions asked in this paper

  1. Q1 Attempt any three of the following: 15 marks
    • a. Discuss procedure oriented programming paradigm. Also discuss its characteristics
    • b. What is object oriented programming paradigm? Discuss its characteristics
    • c. Define any two of the following
    • d. Discuss benefits and applications of oops
    • e. Explain static and dynamic binding
    • f. Write a short note on data abstraction and data encapsulation
  2. Q2 Attempt any three of the following: 15 marks
    • a. What is a class? How a class can be defined? Discuss various ways of defining member functions of a class
    • b. What are objects? How they can be declared? Also discuss memory allocation for objects in object oriented programming
    • c. How data members and member functions of a class can be accessed. Write a program to demonstrate the concept of accessing public members of a class
    • d. What is a constructor? List various types of constructors. Explain copy constructor with programming example
    • e. Declare a class rectangle with data members as length and breadth, and member functions as getdata() to read data and display() to find and display area and perimeter of a rectangle. Also write main method to implement the class
    • f. What is a friend function? How it can be declared? What are its characteristics?
  3. Q3 Attempt any three of the following: 15 marks
    • a. Define function overloading and operator overloading. Write down the rules for
    • b. Write a C++ program to add two complex numbers by overloading binary + operator What do you understand from data conversion between objects and basic types? List
    • d. Write a C++ program to demonstrate conversion from user defined to basic data type
    • e. What is this pointer? Write a C++ program to demonstrate use of this pointer
    • f. What are virtual functions? What are the rules for writing virtual functions?
  4. Q4 Attempt any three of the following: 15 marks
    • a. What is inheritance? Discuss different forms of inheritance
    • b. Discuss public, private and protected data members and member functions. When to declare which type of data members/member functions Write a C++ program to demonstrate use of hybrid inheritance
    • d. What is an exception? Explain exception handling mechanism in detail
    • Q.P.Code : 33403
    • e. What happens when raised exception is not caught by catch block? Explain with
    • f. Write a C++ program to show use of multiple catch statements
  5. Q5 Attempt any three of the following: 15 marks
    • a. Explain various methods to detect end of file
    • b. Write a program to open two files country and capital simultaneously and print the nameof the capital in front of the country
    • c. Explain the use and purpose of following functions
    • d. What are class templates? Explain their use. How they can be declared?
    • e. Define a class named vector. Illustrate the use of vector class template for performing the scalar product of int type vectors as well as float type vectors
    • f. What is a function template? Write a C++ program to demonstrate the use of function

Read from the scan above, so a character or two may differ. The scan is the original.

Report an error

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Done!
Done!