Download presentation
Presentation is loading. Please wait.
1
Mastering OOP Concepts
*see OOP fundamentals PowerPoint What is a class What is an object What is instanstiation? (creating an instance of a class) Object orientaed concepts and terminology
2
The context of UML One of the first ever object orientated languages
Was originally used for producing simulations It provided the framework for many of the object oriented languages today. What is Simula?
3
Features of OO Languages
Abstraction Polymorphism Encapsulation Inheritance Message Passing/Dynamic Binding
4
Features of OO Languages
Abstraction “Hiding the complexity of the program, Presenting only the essential features”
5
UML Features of A way of visually showing the architecture of the whole system v a A way of showing the same system from different points of view P O V A standard graphical set of shapes representing objects in the system g o A standard way of documenting the attributes (data) of each object s a A way of defining functions/methods that can change the state of objects F or M A way of showing how the objects interact with each other i A way of showing how to generate code directly from a UML diagram c
6
Two types of UML diagrams tructure S ehaviour B
7
Things you need to look out for:
From OCR A Level Computing June 2010 F453 Key Diagrams identify … look for Class Diagram Inheritance Class/object Object Diagram Polymorphism Attributes/properties From OCR Past Paper A Level Computing State Diagram Encapsulation Methods/Operations Look for the “state” Current/Processing Abstraction Superclass Sequence Diagram Look for the dots (from top to bottom)
8
What type of Diagram is this?
Class Diagram What feature of OO does The arrow signify? Inheritance ? ?
9
What type of Diagram is this?
Object Diagram
10
What type of Diagram is this?
Sequence Diagram Examples of “Messages”
11
Past Paper Questions From OCR A Level Computing June 2011 Past paper
From OCR Past Paper A Level Computing
12
From June 2011 F453 OCR computing past paper
*example
13
From June 2011 F453 OCR computing past paper
14
From June 2011 F453 OCR computing past paper
15
Answers L S i
16
From June 2011 F453 OCR computing past paper
17
Answers s p From June 2011 F453 OCR computing past paper
20
Answer
21
From June 2011 F453 OCR computing past paper
22
Answer
23
From June 2011 F453 OCR computing past paper
24
Answers From June 2011 F453 OCR computing past paper
25
Past Paper Questions From OCR A Level Computing June 2011 Past paper
From OCR Past Paper A Level Computing
28
Answers
30
Answers
33
Answers
36
Answers
37
What do you remember about: Sequence Diagrams?
From Jan 2013 F453 Past Paper What do you remember about: Sequence Diagrams?
39
State Diagram
40
(6 marks)
41
Mark scheme Answer
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.