gawain.soc.staffs.ac.ukmoduleslevel2CE52604-2s by ewghwehws

VIEWS: 0 PAGES: 18

									1

Staffordshire
UNIVERSITY
School of Computing




                       Welcome to CE52604
                      Object Oriented Methods
                                2010




                                                                                   Slide: 1
                                                CM52602 Object Oriented Methods: Lecture 1
2
                                                                   Module Overview
Staffordshire
UNIVERSITY
School of Computing




                       Weekly Lecture
                       Weekly Tutorials/workshops – all 2 hours is taken up,
                        each student gets time from the tutor
                             Note that some tutorial sessions are taken up with assessement
                              stages – refer to the assignment

                       Assessment
                             Case study (70%) – this is now live as of this week – your 1st
                              assessment is in week 3 – so after the tutorial session in week 1 you
                              need to get cracking from the off
                             Closed book test (30%)


                                                                                                                     Slide: 2
                                                                                  CM52602 Object Oriented Methods: Lecture 1
3
                                                            Tips for level 2 study
Staffordshire
UNIVERSITY
School of Computing




                       You are now in level 2 of study and so…..
                       Level 2 means more thinking to be going on
                       I expect you to make notes during the lecture sessions
                             I do not give out hard copies of the weekly powerpoints – they are
                              there to support the lecture
                             I recommend you bring a pen/paper to the lecture sessions and make
                              your own brief notes ….this will aid your test preparation and prompt
                              questions from you

                       This is a difficult/bulky subject and you must read around
                        the subject to get to grips with it

                                                                                                                    Slide: 3
                                                                                 CM52602 Object Oriented Methods: Lecture 1
4
                                                 Review of you as a cohort
Staffordshire
UNIVERSITY
School of Computing




                       What do you know so far about analysis and design?
                       You have all done SSADM
                            What were the disadvantages of SSADM – did you ever reflect on
                             this?
                            What does Analysis and design hope to resolve?

                       Why are you doing this module?
                            There must be a reason why we make you do this module
                            How will this module help for the rest of your course and when you
                             graduate?




                                                                                                                   Slide: 4
                                                                                CM52602 Object Oriented Methods: Lecture 1
5
                                                           Teaching team intros
Staffordshire
UNIVERSITY
School of Computing
                                                          – Shahid and Anthony
                       Jonathan -You do not know me as I don‟t teach at level 1
                        and OOM is the only module I do at level2 normally
                             I‟m the module leader but Shahid and Anthony will be the module
                              teaching team

                       The content of the module is based on my use of UML
                        for a long time
                             I‟ve been in the IT industry for 25+ years and so should be able to
                              help you navigate through the subject

                       Shahid is a full-time member of staff based at Stafford
                        and Anthony is a part-time lecturer.
                             Both have experience of using UML – indeed Shahid shared the
                              module with me last year

                                                                                                                     Slide: 5
                                                                                  CM52602 Object Oriented Methods: Lecture 1
6
                                                                   Where is the content?
Staffordshire
UNIVERSITY
School of Computing




                       You should find you have been enrolled on Blackboard
                        for the module
                            The blackboard page points at the module content which is on the
                             following link on our Gawain server, so either way you can find the
                             content of the module
                              http://gawain.soc.staffs.ac.uk/modules/level2/CE52604-2/home.htm




                                                                                                                                    Slide: 6
                                                                                                 CM52602 Object Oriented Methods: Lecture 1
7
                                                    Modelling tool
Staffordshire
UNIVERSITY
School of Computing




                       We will be using Visio for the modelling
                        tool during the module




                                                                                            Slide: 7
                                                         CM52602 Object Oriented Methods: Lecture 1
8

Staffordshire
UNIVERSITY
School of Computing




                          Introduction to
                      Object Orientation (OO)




                                                                                   Slide: 8
                                                CM52602 Object Oriented Methods: Lecture 1
9
                                         Setting the Scene for OO
Staffordshire
UNIVERSITY
School of Computing
                               Lets go back to the late 80s/early 90s

                       The information age: People/businesses becoming
                        (increasingly) dependent on IS ie, IS becoming
                        integrated into the „real world‟
                       IS becoming extremely complex
                       Demands for cross platform/vendor interoperability
                       Many people „working together‟ on big IS projects
                       Demand for shorter development times
                       Software systems still not perfect


                                                                                                     Slide: 9
                                                                  CM52602 Object Oriented Methods: Lecture 1
10
                                                   Rationale for OO
Staffordshire
UNIVERSITY
School of Computing
                              Lets design IS to mirror the „real world‟
                       Objects exist within (virtual) reality. Various objects exist
                        eg, cars, and a particular car is said to be an instance
                        of the class „car‟.
                       Classes have attributes that are largely independent of
                        time eg, a car might have a „manufacturer‟ attribute with
                        the value “Ford”.
                       Individual objects have states that span particular
                        periods of time eg, a particular instance of the class car
                        may be „for sale‟ or „broken‟.
                       Classes may be aggregated or composed from other
                        classes eg, a car has; a body, some wheels (usually
                        four) and an engine.
                                                                                                        Slide: 10
                                                                      CM52602 Object Oriented Methods: Lecture 1
11
                                                   Rationale for OO
Staffordshire
UNIVERSITY
School of Computing
                              Lets design IS to mirror the „real world‟
                       Classes may be refinements of other classes, eg „sports
                        cars‟ and „limousines‟ are both classes that are
                        refinements of the super (or stereotypical) class „car‟.
                        This type of class linking is known as inheritance (and is
                        sometimes referred to by its inverse, generalisation).
                       Classes include in their specification a particular set of
                        operations (implemented as methods) eg, cars can be
                        bought (eg, by objects of class „customer‟ in a car
                        retailing ICT system) but cars cannot be „credit checked‟
                        like customers. This idea that objects have intrinsically
                        related operations is a feature of encapsulation.
                       Classes may be related to other classes eg, cars can be
                        driven on roads but not rivers. This type of object linking
                        is known as association.
                                                                                                      Slide: 11
                                                                    CM52602 Object Oriented Methods: Lecture 1
12
                                                  Rationale for OO
Staffordshire
UNIVERSITY
School of Computing
                                 Object Reuse: Plug & Play Software


                       Greater interoperability
                       Easier for teams to work together?
                       Less bugs?
                       Greater flexibility: objects change infrequently while
                        processes and procedures that relate to them change
                        (increasingly) frequently
                       Quicker development/lead times?
                       Market in software objects just like hardware
                        components?
                                                                                                     Slide: 12
                                                                   CM52602 Object Oriented Methods: Lecture 1
13

Staffordshire
UNIVERSITY
School of Computing




                            Brief Introduction to the
                      Unified Modelling Language (UML)




                                                                                     Slide: 13
                                                   CM52602 Object Oriented Methods: Lecture 1
14
                                                       What is the UML?
Staffordshire
UNIVERSITY
School of Computing




                       Developed by the three „amigos‟: Booch, Rumbaugh &
                        Jacobson
                       Unified the earlier (software) modelling devices they
                        developed individually
                       Owned by the Object Management Group (OMG) (see
                        resources link)
                       Based on OO principles
                       Has nine types of diagram (we will be covering some of
                        them)
                       “Use case” driven
                                                                                                     Slide: 14
                                                                   CM52602 Object Oriented Methods: Lecture 1
15
                                 Use Case Driven OOM lifecycle
Staffordshire
UNIVERSITY
School of Computing




                      Use Case   Use Case   Class       Object
                      Diagrams   Scripts    Diagrams    Sequence
                      (UCD)      (UCS)      And State   Diagrams
                                            Diagrams    (OSD)
                                                                                          Slide: 15
                                                        CM52602 Object Oriented Methods: Lecture 1
16

Staffordshire
UNIVERSITY
School of Computing




                                                        Slide: 16
                      CM52602 Object Oriented Methods: Lecture 1
17

Staffordshire
UNIVERSITY
School of Computing




                                                        Slide: 17
                      CM52602 Object Oriented Methods: Lecture 1
18
                                                                        Tutorial Task 1
Staffordshire
UNIVERSITY
School of Computing




                      1. Explore the OOM module web site – familiarise yourself
                         with the site then…….
                      2. Explore the links on the resources page to find out and
                         make brief notes (useful for revision at the end of the
                         module) :
                             the difference between an “object” and a “class”.
                             the three most commonly cited advantages and disadvantages of OO.
                             the three most commonly cited advantages and disadvantages of the
                              UML.

                         At the end of the 1st hour of the tutorial session we will
                         review the questions above as a group

                                                                                                                    Slide: 18
                                                                                  CM52602 Object Oriented Methods: Lecture 1

								
To top