CSC166 Object Oriented Programming

Object Oriented Programming: most repeated questions

Questions that have come up in more than one paper, matched by what they ask rather than exact wording. Most repeated first.

  1. 6×Asked in 2082, 2081, 2080, 2079, 2076, 2075
    List and describe the characteristics of object oriented programming.Answer coming5
    See the wording in each paper
  2. 2×Asked in 2080
    Create a class named Point with data members x(int) and y(int). Add operator overloading to find the Euclidean distance between two points.Answer coming5
    See the wording in each paper
  3. 2×Asked in 2082, 2078
    Explain copy constructor with an example.Answer coming5
    See the wording in each paper
  4. 2×Asked in 2080, 2079
    What is destructor? List its characteristics. Explain the use of default copy constructor with an appropriate example.Answer coming10
    See the wording in each paper
  5. 2×Asked in 2078, 2076
    Write a program according to the specification given below: – Create a class Account with data members acc no, balance, and min balance(static) Include methods for reading and displaying values of objects – Define static member function to display min…Answer coming10
    See the wording in each paper