Object Oriented Programming (5cr)
Course unit code: LTD6016
General information
- Credits
- 5 cr
- Teaching language
- Finnish
- Responsible person
- Eero Mönkkönen
- Joni Ranta
Objective
Elementary competenceYou know what object-oriented application modeling is aboutYou know what a class isYou are able to create a class using C#You know what an object isYou are able to create class instances using C#You know what an attribute isYou are able to create attributes to classes using C#You know what a method isYou are able to write object-level methods using C#You are able to write class-level methods using C#You are able to design a object-orientedmodel of application areaYou are able to write classes according to application areaAdvanced competenceYou know what data encapsulation meansYou know what an accessor isYou know what a mutator isYou know what mutator doesYou know what accessor doesYou know what accessibility modifiers areYou are able to restrict attribute visibility using C#You are able to restrict method visibility using C#You are able to write accessors using C#You are able to write mutators using C#You know why writing partial classes is necessaryYou know how to write a partial classYou know what inheritance meansYou know how inheritance worksYou are able to inherti a class from another using C#You are able to replace a method functionality in child class using C#You are able to restrict visibility of intherited attributes in child classesYou are able to restrict visibility of inherited methods in child classesYou know what method replacing meansYou know what composition meansYou know what aggregation meansYou are able to implement composition using C#You are able to implement aggregation using C#You are able to utilize code reusability in larger projectDesired competenceYou know what polymorphism stands for when talking about inheritanceYou know what polymorphism stands for when talking aboutmethodsYou know what method overriding stands forYou know how type casting worksYou are able to write an overridable method using C#You are able to utilize base class type to store child class objectsYou know what exceptions areYou know how exceptions are usedYou are able to catch an exception using C#You are able to choose proper order for handling different exceptions using C#You are able to throw an exception using C#You are able to write your own exception class using C#You know what an interface isYou are able to write interfaces using C#You are able to implement an intertface using C#You are able to implement several intefaces into same classYou know what an abstract fclass isYou are wble to write an abstract class using C #You are able to write an abstract method using C#You are able to implement an abstract methods using C#¤You are able to design an implementation model for application are using objectsYou are able to choose inheritance, aggregationand composition according to needs of application area
Content
Object-oriented thinkingClasses and objectsData encapsulationPartial classesInheritanceComposition and aggregationPolymorphismExceptionsInterfacesAbstract classesImplementing an object-oriented model into a project