SlideShare une entreprise Scribd logo
1  sur  21
Object Analysis

   classification
Classification theory
• Process of checking to see if an object
  belongs to a category or a class
Approaches for identifying classes
1. Noun phrase approach
2. Common class patterns approach
3. Use case driven ,sequence/collaboration
   approach
4. Classes, responsibilities and
   Collaborators (CRC) approach
Noun phrase approach
• Identify Noun phrases from requirements or use
  cases
• Nouns - classes
• Verbs      - methods
• All plurals          singular
• Create a List of nouns
  – Divided into 3 categories
     • Relevant classes               Candidate classes
     • Fuzzy classes
     • Irrelevant classes

                     Removed safely
cont…
• Identifying tentative classes
• Guidelines
  – Look for nouns and noun phrases in the use
    case
  – Some classes are implicit and taken from
    knowledge
  – Avoid computer implementation classes (defer
    them to design phase). application domain
    related classes makes sense
  – Carefully choose and define class name
Guidelines :Selecting classes from
relevant and fuzzy category
• Redundant classes
   – Avoid
   – Choose more meaningful name and name used by user
• Adjective classes
   – Adjective can suggest
       • Different kind of object
       • Different use of same object
       • Utterly irrelevant
   eg: adult member and youth member
• Attribute classes
   – Objects used only as value can be treated as attribute instead of
     classes
• Irrelevant classes
   – Relevant class have statement of purpose.
   – Irrelevant classes - have no statement of purpose
Initial list of noun classes : in vianet bank
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Removing irrelevant classes
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Removing redundant classe and
building common vocabulary
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Reviewing the classes containing
            adjectives
• When class represented by noun behaves
  differently when adjective is applied to it,
  then separate class has to be created
• In this ex no such classes
Reviewing the possible attributes


• Noun phrases used only as values should
  be treated as attributes
Reviewing possible attributes
•   Account            • Client        • Record
•   Account balance    • Client’s      • Savings
•   Amount               account       • Savings
•   Approval process   • Currency        account
•   Atm card           • Dollar        • Step
•   Atm machine        • Envelope      • System
•   Bank               • Four digits   • Transaction
•   Bank client        • Fund          • transaction
•   Card               • Invalid pin     history
•   Cash               • Message
•   Check              • Money
•   Checking           • Password
•   Checking           • PIN
    account            • Pin code
Reviewing the class purpose
• Include classes with
   – Purpose
   – Clear definition
   – Necessary in achieving system goal
• Eliminate classes with no purpose
• Ex: Candidate class with purpose are
   –   ATM machine class
   –   ATM card class
   –   Bankclient class
   –   Bank class
   –   Account class
   –   Checking account class
   –   Saving account class
   –   Transaction class
Common class pattern approach
•   Based on knowledge base of the common classes ,
•   proposed by researchers like shlaer and mellor
•   Patterns for finding class and object
     – Concept class
         • Particular idea or understanding
              – Ex: performance
     – Event class
         • Are points in time tat must be recorded
         • Ex : account, request, order
     – Organization class
         • Collection of people, resources, facilities or groups to which the user belongs
         • Ex : account dept,bank
     – People class
         • Represents different roles user plays in interacting with the system.
         • Ex : bank client
     – Places class
         • Physical location that the system must keep inform about
         • Ex :
     – Tangible things and devices
         • Includes physical objects or group of objects
         • Ex : atmmachine
Use case driven approach
• Identifying classes and their usage
  through sequence collaboration modelling
• Recommended approach
• Problem driven approach
  – Prob is considered 1st. Not the relationship bw objects
    (like in data driven approach)
• Atleast one senario be prepared for each
  significantly different use case instance
• Use case diag – high level view of the system
• Sequence diag – interaction among objects
  – By walking through the steps, we can determine what
    objects necessary for those steps to take place
client                        atmmachine                       Bank client

            Insert atm card

            Request pin
           Enter pin number
                                           Verify pin number

                                           Bad pin number
         Bad pin number
Classes , Responsibilities, and
           Collaborators
• Classes ,responsibilities, collaborators
   – Leads to identifying its attributes and methods
• CRC index card
   – 4” * 6” card
   – Cheap, portable, readily available, familiar
   – Contains all information

           Class name             Collaborators

            Responsibiliti
            es in bullet
            format
CRC process
• 3 steps
                            Identify
                            classes
                         responsibility(
                          and identify
                            classes)


               iterate

                                              Assign
          Identify                         responsibiliti
       collaborators                            es
Atm system
Account          Checking
                 account
Balance
                 (sub class)
Number
                 Saving
                 account
Withdraw         (sub class)
Deposit
getbalance
Guidelines: Naming class
•   Singular
•   Use standard vocabulary
•   Reflect its intrinsic feature
•   Readable names

Contenu connexe

Tendances

Difference between star schema and snowflake schema
Difference between star schema and snowflake schemaDifference between star schema and snowflake schema
Difference between star schema and snowflake schemaUmar Ali
 
OO Metrics
OO MetricsOO Metrics
OO Metricsskmetz
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classesgopal10scs185
 
UML Class Diagram G-3-122139
UML Class Diagram G-3-122139UML Class Diagram G-3-122139
UML Class Diagram G-3-122139Hansi Thenuwara
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing StrategiesAlpana Bhaskar
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram ExampleKaviarasu D
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
OOAD unit1 introduction to object orientation
 OOAD unit1 introduction to object orientation OOAD unit1 introduction to object orientation
OOAD unit1 introduction to object orientationDr Chetan Shelke
 
7. sequence and collaboration diagrams
7. sequence and collaboration diagrams7. sequence and collaboration diagrams
7. sequence and collaboration diagramsAPU
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGERaval Chirag
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringsnehalkulkarni74
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14Niit Care
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)Shweta Ghate
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modelingShahid Riaz
 

Tendances (20)

Spm chapter 8
Spm chapter 8Spm chapter 8
Spm chapter 8
 
Difference between star schema and snowflake schema
Difference between star schema and snowflake schemaDifference between star schema and snowflake schema
Difference between star schema and snowflake schema
 
OO Metrics
OO MetricsOO Metrics
OO Metrics
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Unit 5
Unit 5Unit 5
Unit 5
 
Ooad unit – 1 introduction
Ooad unit – 1 introductionOoad unit – 1 introduction
Ooad unit – 1 introduction
 
Spm
Spm Spm
Spm
 
UML Class Diagram G-3-122139
UML Class Diagram G-3-122139UML Class Diagram G-3-122139
UML Class Diagram G-3-122139
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Data Flow Diagram Example
Data Flow Diagram ExampleData Flow Diagram Example
Data Flow Diagram Example
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Uml class-diagram
Uml class-diagramUml class-diagram
Uml class-diagram
 
OOAD unit1 introduction to object orientation
 OOAD unit1 introduction to object orientation OOAD unit1 introduction to object orientation
OOAD unit1 introduction to object orientation
 
7. sequence and collaboration diagrams
7. sequence and collaboration diagrams7. sequence and collaboration diagrams
7. sequence and collaboration diagrams
 
UNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGEUNIFIED MODELING LANGUAGE
UNIFIED MODELING LANGUAGE
 
Requirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineeringRequirement analysis and UML modelling in Software engineering
Requirement analysis and UML modelling in Software engineering
 
11 ooad uml-14
11 ooad uml-1411 ooad uml-14
11 ooad uml-14
 
Ooad
OoadOoad
Ooad
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)
 
Lecture7 use case modeling
Lecture7 use case modelingLecture7 use case modeling
Lecture7 use case modeling
 

Similaire à Unit 3 object analysis-classification

unit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.pptunit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.pptSARANYAM124686
 
Evergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation ClassEvergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation ClassShauna
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented ProgrammingRAJU MAKWANA
 
Data Exploration, Validation and Sanitization
Data Exploration, Validation and SanitizationData Exploration, Validation and Sanitization
Data Exploration, Validation and SanitizationVenkata Reddy Konasani
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleSam Bowne
 
A Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnA Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnSarah Guido
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleSam Bowne
 
CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10Dr. Ahmed Al Zaidy
 
Revenue Growth through Machine Learning
Revenue Growth through Machine LearningRevenue Growth through Machine Learning
Revenue Growth through Machine LearningDataWorks Summit
 
Summit EU Machine Learning
Summit EU  Machine LearningSummit EU  Machine Learning
Summit EU Machine LearningTed Dunning
 
Requirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and CommunicationRequirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and CommunicationMohamed Shaaban
 
Requirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and ElicitationRequirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and ElicitationMohamed Shaaban
 
Kanban – Visualizing the value chain
Kanban – Visualizing the value chain Kanban – Visualizing the value chain
Kanban – Visualizing the value chain Avarteq
 
Software Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public FundingSoftware Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public FundingSoftwarePractice
 
501 ch 2 understanding iam
501 ch 2 understanding iam501 ch 2 understanding iam
501 ch 2 understanding iamgocybersec
 

Similaire à Unit 3 object analysis-classification (20)

unit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.pptunit3-objectanalysis-classification-120310233747-phpapp01.ppt
unit3-objectanalysis-classification-120310233747-phpapp01.ppt
 
Evergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation ClassEvergreen Indiana Basic Circulation Class
Evergreen Indiana Basic Circulation Class
 
Seq uml
Seq umlSeq uml
Seq uml
 
ppt.pptx
ppt.pptxppt.pptx
ppt.pptx
 
Object Oriented Programming
Object Oriented ProgrammingObject Oriented Programming
Object Oriented Programming
 
Data Exploration, Validation and Sanitization
Data Exploration, Validation and SanitizationData Exploration, Validation and Sanitization
Data Exploration, Validation and Sanitization
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life Cycle
 
A Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-LearnA Beginner's Guide to Machine Learning with Scikit-Learn
A Beginner's Guide to Machine Learning with Scikit-Learn
 
CNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life CycleCNIT 160: Ch 3c: The Risk Management Life Cycle
CNIT 160: Ch 3c: The Risk Management Life Cycle
 
CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10CIS375 Interaction Designs Chapter10
CIS375 Interaction Designs Chapter10
 
Revenue Growth through Machine Learning
Revenue Growth through Machine LearningRevenue Growth through Machine Learning
Revenue Growth through Machine Learning
 
Summit EU Machine Learning
Summit EU  Machine LearningSummit EU  Machine Learning
Summit EU Machine Learning
 
Chapter 5 - Identity Management
Chapter 5 - Identity ManagementChapter 5 - Identity Management
Chapter 5 - Identity Management
 
Summit EU Machine Learning
Summit EU Machine LearningSummit EU Machine Learning
Summit EU Machine Learning
 
Requirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and CommunicationRequirements Management Part 2 - Analysis and Communication
Requirements Management Part 2 - Analysis and Communication
 
Requirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and ElicitationRequirements Management Part 1 - Management and Elicitation
Requirements Management Part 1 - Management and Elicitation
 
Slide 3 musfique
Slide 3 musfiqueSlide 3 musfique
Slide 3 musfique
 
Kanban – Visualizing the value chain
Kanban – Visualizing the value chain Kanban – Visualizing the value chain
Kanban – Visualizing the value chain
 
Software Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public FundingSoftware Practice 12 breakout - Life for Software Beyond Public Funding
Software Practice 12 breakout - Life for Software Beyond Public Funding
 
501 ch 2 understanding iam
501 ch 2 understanding iam501 ch 2 understanding iam
501 ch 2 understanding iam
 

Plus de gopal10scs185 (20)

Os5
Os5Os5
Os5
 
Os4
Os4Os4
Os4
 
Os1
Os1Os1
Os1
 
Os8
Os8Os8
Os8
 
Os8
Os8Os8
Os8
 
Os7
Os7Os7
Os7
 
Os6
Os6Os6
Os6
 
Os4
Os4Os4
Os4
 
Os3
Os3Os3
Os3
 
Os2
Os2Os2
Os2
 
Unit4 desiging classes
Unit4 desiging classesUnit4 desiging classes
Unit4 desiging classes
 
Unit three identifying actors
Unit three  identifying actorsUnit three  identifying actors
Unit three identifying actors
 
Unit 5 testing
Unit 5 testingUnit 5 testing
Unit 5 testing
 
Unit 5
Unit 5Unit 5
Unit 5
 
Unit 5 usability and satisfaction test
Unit 5 usability and satisfaction testUnit 5 usability and satisfaction test
Unit 5 usability and satisfaction test
 
Unit 5 testing -software quality assurance
Unit 5  testing -software quality assuranceUnit 5  testing -software quality assurance
Unit 5 testing -software quality assurance
 
Unit 4
Unit 4Unit 4
Unit 4
 
Unit 4 designing classes
Unit 4  designing classesUnit 4  designing classes
Unit 4 designing classes
 
Unit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationshipsUnit 3 attributes, methods, relationships
Unit 3 attributes, methods, relationships
 
Unit 3
Unit 3Unit 3
Unit 3
 

Dernier

00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptxFinTech Belgium
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdfAdnet Communications
 
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Delhi Call girls
 
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxhiddenlevers
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptxFinTech Belgium
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesMarketing847413
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfGale Pooley
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfGale Pooley
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfGale Pooley
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designsegoetzinger
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdfAdnet Communications
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spiritegoetzinger
 
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...Pooja Nehwal
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxanshikagoel52
 
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfGale Pooley
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Pooja Nehwal
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignHenry Tapper
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptxFinTech Belgium
 

Dernier (20)

00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx00_Main ppt_MeetupDORA&CyberSecurity.pptx
00_Main ppt_MeetupDORA&CyberSecurity.pptx
 
20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf20240429 Calibre April 2024 Investor Presentation.pdf
20240429 Calibre April 2024 Investor Presentation.pdf
 
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
Best VIP Call Girls Noida Sector 18 Call Me: 8448380779
 
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptxOAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
OAT_RI_Ep19 WeighingTheRisks_Apr24_TheYellowMetal.pptx
 
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
02_Fabio Colombo_Accenture_MeetupDora&Cybersecurity.pptx
 
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
05_Annelore Lenoir_Docbyte_MeetupDora&Cybersecurity.pptx
 
Q3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast SlidesQ3 2024 Earnings Conference Call and Webcast Slides
Q3 2024 Earnings Conference Call and Webcast Slides
 
The Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdfThe Economic History of the U.S. Lecture 21.pdf
The Economic History of the U.S. Lecture 21.pdf
 
The Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdfThe Economic History of the U.S. Lecture 20.pdf
The Economic History of the U.S. Lecture 20.pdf
 
The Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdfThe Economic History of the U.S. Lecture 22.pdf
The Economic History of the U.S. Lecture 22.pdf
 
Instant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School DesignsInstant Issue Debit Cards - School Designs
Instant Issue Debit Cards - School Designs
 
20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf20240417-Calibre-April-2024-Investor-Presentation.pdf
20240417-Calibre-April-2024-Investor-Presentation.pdf
 
Instant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School SpiritInstant Issue Debit Cards - High School Spirit
Instant Issue Debit Cards - High School Spirit
 
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...
Dharavi Russian callg Girls, { 09892124323 } || Call Girl In Mumbai ...
 
Dividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptxDividend Policy and Dividend Decision Theories.pptx
Dividend Policy and Dividend Decision Theories.pptx
 
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(DIYA) Bhumkar Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdfThe Economic History of the U.S. Lecture 30.pdf
The Economic History of the U.S. Lecture 30.pdf
 
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
Vip Call US 📞 7738631006 ✅Call Girls In Sakinaka ( Mumbai )
 
Log your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaignLog your LOA pain with Pension Lab's brilliant campaign
Log your LOA pain with Pension Lab's brilliant campaign
 
03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx03_Emmanuel Ndiaye_Degroof Petercam.pptx
03_Emmanuel Ndiaye_Degroof Petercam.pptx
 

Unit 3 object analysis-classification

  • 1. Object Analysis classification
  • 2. Classification theory • Process of checking to see if an object belongs to a category or a class
  • 3. Approaches for identifying classes 1. Noun phrase approach 2. Common class patterns approach 3. Use case driven ,sequence/collaboration approach 4. Classes, responsibilities and Collaborators (CRC) approach
  • 4. Noun phrase approach • Identify Noun phrases from requirements or use cases • Nouns - classes • Verbs - methods • All plurals singular • Create a List of nouns – Divided into 3 categories • Relevant classes Candidate classes • Fuzzy classes • Irrelevant classes Removed safely
  • 5. cont… • Identifying tentative classes • Guidelines – Look for nouns and noun phrases in the use case – Some classes are implicit and taken from knowledge – Avoid computer implementation classes (defer them to design phase). application domain related classes makes sense – Carefully choose and define class name
  • 6. Guidelines :Selecting classes from relevant and fuzzy category • Redundant classes – Avoid – Choose more meaningful name and name used by user • Adjective classes – Adjective can suggest • Different kind of object • Different use of same object • Utterly irrelevant eg: adult member and youth member • Attribute classes – Objects used only as value can be treated as attribute instead of classes • Irrelevant classes – Relevant class have statement of purpose. – Irrelevant classes - have no statement of purpose
  • 7. Initial list of noun classes : in vianet bank • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 8. Removing irrelevant classes • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 9. Removing redundant classe and building common vocabulary • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 10. Reviewing the classes containing adjectives • When class represented by noun behaves differently when adjective is applied to it, then separate class has to be created • In this ex no such classes
  • 11. Reviewing the possible attributes • Noun phrases used only as values should be treated as attributes
  • 12. Reviewing possible attributes • Account • Client • Record • Account balance • Client’s • Savings • Amount account • Savings • Approval process • Currency account • Atm card • Dollar • Step • Atm machine • Envelope • System • Bank • Four digits • Transaction • Bank client • Fund • transaction • Card • Invalid pin history • Cash • Message • Check • Money • Checking • Password • Checking • PIN account • Pin code
  • 13. Reviewing the class purpose • Include classes with – Purpose – Clear definition – Necessary in achieving system goal • Eliminate classes with no purpose • Ex: Candidate class with purpose are – ATM machine class – ATM card class – Bankclient class – Bank class – Account class – Checking account class – Saving account class – Transaction class
  • 14. Common class pattern approach • Based on knowledge base of the common classes , • proposed by researchers like shlaer and mellor • Patterns for finding class and object – Concept class • Particular idea or understanding – Ex: performance – Event class • Are points in time tat must be recorded • Ex : account, request, order – Organization class • Collection of people, resources, facilities or groups to which the user belongs • Ex : account dept,bank – People class • Represents different roles user plays in interacting with the system. • Ex : bank client – Places class • Physical location that the system must keep inform about • Ex : – Tangible things and devices • Includes physical objects or group of objects • Ex : atmmachine
  • 15. Use case driven approach • Identifying classes and their usage through sequence collaboration modelling
  • 16. • Recommended approach • Problem driven approach – Prob is considered 1st. Not the relationship bw objects (like in data driven approach) • Atleast one senario be prepared for each significantly different use case instance • Use case diag – high level view of the system • Sequence diag – interaction among objects – By walking through the steps, we can determine what objects necessary for those steps to take place
  • 17. client atmmachine Bank client Insert atm card Request pin Enter pin number Verify pin number Bad pin number Bad pin number
  • 18. Classes , Responsibilities, and Collaborators • Classes ,responsibilities, collaborators – Leads to identifying its attributes and methods • CRC index card – 4” * 6” card – Cheap, portable, readily available, familiar – Contains all information Class name Collaborators Responsibiliti es in bullet format
  • 19. CRC process • 3 steps Identify classes responsibility( and identify classes) iterate Assign Identify responsibiliti collaborators es
  • 20. Atm system Account Checking account Balance (sub class) Number Saving account Withdraw (sub class) Deposit getbalance
  • 21. Guidelines: Naming class • Singular • Use standard vocabulary • Reflect its intrinsic feature • Readable names