Object Oriented Programming – Series G

INTERNAL REGULATION

Additional study materials (laboratories)

Lab 1 –  Review the structure of a program. Testing of programming skills (short test). Comparison of procedural programming (structured) and object oriented programming.

Lab2 – Introduction to classes and objects

Lab3 – Classes and Objects (cont.). Copy constructors. Friend functions.

Lab4- Copy Constructors (cont.) . Destructors. Functions with object argument and object references.

Lab5 – Copy Constructors (cont.). Destructors (cont). Simple inheritance.

Lab6 – Multiple inheritance. Polymorphism.

Lab7 – final verification

Remarks

  1. Beginner students in programming, you can sharpen your skill using [1] sheet of problems.
  2. Advanced students, you can improve your skills by looking into the prior (year 3) competence exam problems in [2] and trying to program them. Note the wording and strictness involved in what to read/write into the console for each problem (in order to pass Moodle’s tests). This is a good thing to consider doing prior to next year as well (since you will have to take the programming competence exam yourselves).
  3. For final lab verification you will receive a problem, similar to the template below.
    1. Implement class X.
    2. It has attributes Y , Z and a method that returns something (operation).
    3. Read from keyboard (values).
    4. Display (results).
  4. For OOP lab verification we will provide necessary accompanying formulas to solve the problem.
  5. If Moodle is functional (during your final lab) you will need to code it using Moodle’s VPL and pass the entire set of tests.
    1. Otherwise, we use DevC++.
  6. The problem has to be solved within 30 min -45 min.
  7. After this you will be asked to leave the lab, and then return 1 by 1, for an individual discussion upon your program. If necessary then additional assignments/tasks will be asked to you.