UNIT NO. & TITLE: Unit 20. Advance Programming
QUALIFICATION: BTEC HND Level 5 Computing
YEAR: 2019-2020
PREPARED BY: SIDDHESH RAJE
REPORT
SUBMITTED ON:
1
, Index
No. Topic Page No.
1. LO1: Examine the key components related to the
object-oriented programming paradigm, analysing
design pattern types.
P1: Examine the characteristics of the object- 3
oriented paradigm as well as the various class
relationships.
M1: Determine a design pattern from each of the 7
creational, structural and behavioural pattern types.
2. LO2: Design a series of UML class diagrams.
P2: Design and build class diagrams using UML tool. 11
M2: Define class diagrams for specific design 13
patterns using UML tool.
3. LO3: Implement code applying design patterns.
P3: Build an application derived from the UML 16
class.
M3: Develop a code that implements a design pattern 18
for a given purpose.
4. LO4: Investigate scenarios with respect to design
patterns.
P4: Discuss a range of design patterns with relevant 20
examples of creational, structural and behavioural
pattern types.
M4: Reconcile the most appropriate design pattern 23
from a range with a series of given scenarios.
5. Reference 25
2
, LO1: Examine the key components related to the object-oriented programming
paradigm, analysing design pattern types.
P1: Examine the characteristics of the object-oriented paradigm as well as the
various class relationships.
Object Oriented Paradigm: Object-oriented paradigm is often associate
with imperative programming, but, in practice, both functional and object-
oriented paradigms can coexist.
Object-oriented programming is based on four fundamental principle which are
as follow:
Encapsulation: It means the binding of attributed and the behaviour. As
the main structure of this is to keep properties and behaviour of an object
in one place as it can be easily maintaining and extend. It also provides a
mechanism to hide unnecessary details from the user.
Abstraction: It basically provides a mechanism that exposes what an
object does and hides how the object does what it’s supposed to do.
Example: If we want to drive a bike, we need not need to know how to
engines work or how fluid going in the engine, but we need to know the
behaviour of the bike.
Inheritance: Inheritance has the ability to base an object or a class on
another one. There is a parent class which provides the top-level
behaviour for an entity. Subclass entity or we can say a child class that
fulfils the criteria to be a part of parent class can inherit from the parent
class and add a new behaviour as it is required.
Polymorphism: This fundamental principle gives us an option to use the
same interface for an entity of different types where there are two major
types of polymorphism, compile time and runtime.
Class Relationship of object-oriented:
3
QUALIFICATION: BTEC HND Level 5 Computing
YEAR: 2019-2020
PREPARED BY: SIDDHESH RAJE
REPORT
SUBMITTED ON:
1
, Index
No. Topic Page No.
1. LO1: Examine the key components related to the
object-oriented programming paradigm, analysing
design pattern types.
P1: Examine the characteristics of the object- 3
oriented paradigm as well as the various class
relationships.
M1: Determine a design pattern from each of the 7
creational, structural and behavioural pattern types.
2. LO2: Design a series of UML class diagrams.
P2: Design and build class diagrams using UML tool. 11
M2: Define class diagrams for specific design 13
patterns using UML tool.
3. LO3: Implement code applying design patterns.
P3: Build an application derived from the UML 16
class.
M3: Develop a code that implements a design pattern 18
for a given purpose.
4. LO4: Investigate scenarios with respect to design
patterns.
P4: Discuss a range of design patterns with relevant 20
examples of creational, structural and behavioural
pattern types.
M4: Reconcile the most appropriate design pattern 23
from a range with a series of given scenarios.
5. Reference 25
2
, LO1: Examine the key components related to the object-oriented programming
paradigm, analysing design pattern types.
P1: Examine the characteristics of the object-oriented paradigm as well as the
various class relationships.
Object Oriented Paradigm: Object-oriented paradigm is often associate
with imperative programming, but, in practice, both functional and object-
oriented paradigms can coexist.
Object-oriented programming is based on four fundamental principle which are
as follow:
Encapsulation: It means the binding of attributed and the behaviour. As
the main structure of this is to keep properties and behaviour of an object
in one place as it can be easily maintaining and extend. It also provides a
mechanism to hide unnecessary details from the user.
Abstraction: It basically provides a mechanism that exposes what an
object does and hides how the object does what it’s supposed to do.
Example: If we want to drive a bike, we need not need to know how to
engines work or how fluid going in the engine, but we need to know the
behaviour of the bike.
Inheritance: Inheritance has the ability to base an object or a class on
another one. There is a parent class which provides the top-level
behaviour for an entity. Subclass entity or we can say a child class that
fulfils the criteria to be a part of parent class can inherit from the parent
class and add a new behaviour as it is required.
Polymorphism: This fundamental principle gives us an option to use the
same interface for an entity of different types where there are two major
types of polymorphism, compile time and runtime.
Class Relationship of object-oriented:
3