Preview

R4Es

Satisfactory Essays
Open Document
Open Document
1428 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
R4Es
Weekly Outline for Systems Analysis and Design

(2013 by Dr. Liping Liu

Week 2:
Lecture 1: Three Different Class and Objects

Real world objects ( Conceptual objects ( Programming Objects

Real World Classes ( Conceptual classes ( Programming classes

[pic] These are real world objects, and their groups are real world classes.

Model objects are the representation of real world objects using symbols, and the groups of the same kind is a conceptual class. In UML, here is an example of a conceptual class

[pic]

Real world objects may be related and these relationships are also modeled as conceptual relationships among conceptual objects. For example, the following diagram shows that both students and professors are special kinds of users.

[pic]

For another example, the following diagram shows that employees are associated with other employees through supervising relationship and RegistrationForm objects needs to know RegistrationManager objects.

[pic]

UML stands for Unified Modeling Language. Here is how it came from:

[pic]

Programming objects are merely memory blocks that hold both data and functions. They are all created by some templates, which are programming classes.

Person objJohn = new Person(“John”, “12/23/1987”, “Male”);
Person objLisa = new Person(“Lisa”, “1/2/1990”, “Female”);

Lecture 2: Super and sub classes connected by inheritance relations i. Reason 1: there is already a class that has some methods you want to use but does not fit your needs exactly ii. Reason 2: There is a need to deal with a large number of objects that are similar overall but have some differences.
Lecture 3: Using Protected and Virtual keywords: iii. Protected: mark a variable, method, or property that can be accessible to children but not to outsiders iv. Virtual: mark a method that can be overridden by children classes

Example 1: Create the employee with three data members: name, job, salary, and hire date, and a

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Begin establishing relationships in the database by adding the Department Managers and Volunteers tables to the Relationships space.…

    • 402 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    IST223 Crib sheet

    • 3425 Words
    • 7 Pages

    rectangles, and relationships are shown by lines between the rectangles. Attributes are generally listed within the rectangle. The many side of many relationships is represented by a crows footentity-relationship (E-R) modelA set of constructs and conventions used to create data models. The things in the users world are represented by entities, and the associations among those things are represented by relationships. The results are usually documented in an entity-relationship (E-R) diagramID-dependent entityan entity whose identifier includes the identifier of another entityidentifierwhich are attributes that name, or identify, entity instancesidentifying relationshipIn such relationships, the parent is always required, but the child (the ID-dependent entity) may or may not be required, depending on application requirements. Identifying relationships are shown with solid lines in E-R diagrams.is-aRelationships among supertype/subtype entitiesmandatoryat least one entity instance must participate in the relationshipmaximum cardinalityThe maximum cardinality is the maximum number of entity instances that can participate in a relationship instance.minimum cardinalityThe minimum cardinality is the minimum number of entity instances that must participate in a relationship instance.nonidentifying relationshiprelationship drawn with a dashed line (refer to Figure 5-7) is used between strong entities and is called a nonidentifying relationship because there are no ID-dependent entities in the relationship.null valueare a problem because they are ambiguous. They can mean that a value is inappropriate, unknown, or known, but not yet been entered into the databaseparentAn entity or row on the one side of a one-to-many relationshiprecursive relationshipoccurs when an entity type has a relationship to itself.relationship classAssociations among entity classesrelationship instanceassociations among entity instances.strong entityan entity that represents something that can exist…

    • 3425 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Prg420 Java Programming I

    • 372 Words
    • 2 Pages

    * You are a bank manager and you are helping a new bank teller understand the kind of…

    • 372 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Models are conceptual constructs that aspire to represent real things or processes that to a large extent are hidden for the senses and to the ordinary experience. Models have a role to describe, represent, explain, and ‘translate’ the world.…

    • 440 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    6 8c Chapter Excercises

    • 515 Words
    • 2 Pages

    Polymorphism is the concept that a message gives different meanings to different objects. For example GOOD NIGHT message might produce different results depending if it is received by a child or the family dog. When received by the parent object the message causes the parent object to read a bedtime story. When received by the dog object it causes the dog to go to sleep and when received by the child object it causes the child to get ready for bed.…

    • 515 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The other ways of diagramming entities and relations is electronic facsimile collections, parametric schema implementation, and FDA. There were many different illustrations that individuals had made using entities and relations yet I felt it was best to keep it to a basic. During my search, I learned that you could use the entities and relations design for numerous things.…

    • 334 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Ap Psychology Unit 6 Essay

    • 1319 Words
    • 6 Pages

    We use concepts to simplify and order the world around us. We divide clusters of objects,…

    • 1319 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Employment and Salary

    • 839 Words
    • 4 Pages

    Using the HR schema (which has been created in your class login), complete the following questions:…

    • 839 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Envisioning program components as objects that are similar to concrete objects in the real world is the hallmark of _____________.…

    • 4265 Words
    • 23 Pages
    Satisfactory Essays
  • Good Essays

    Entity relationship diagram illustrates the hierarchy of how information reviewed by end users. The data represented in entity relation diagrams (E-R) includes the business entities and the relationship among them. E-R diagrams use four symbols: rectangles to represent entities, diamonds to describe relationship, ovals describe the entity, characteristics, and connecting lines depicts relationships.…

    • 565 Words
    • 3 Pages
    Good Essays
  • Better Essays

    The second tool; the Interrelationship diagram serves the purpose to take a central problem or…

    • 2115 Words
    • 9 Pages
    Better Essays
  • Good Essays

    pow pow

    • 5205 Words
    • 21 Pages

    2) It is created to provide state and the corresponding object/relational mapping information to child classes through the inheritance mechanism.…

    • 5205 Words
    • 21 Pages
    Good Essays
  • Powerful Essays

    Objects were created to combat the increasing complexity of programming. The rationale for understanding and using Objects in your programming is to make programming easier and your code more human readable.…

    • 4110 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    Abstract Classes

    • 546 Words
    • 3 Pages

    Abstract classes CANNOT be instantiated.  So what are they good for?  How can you use them?  You might say that abstract classes are meant to be inherited  It contains abstract methods  Abstract methods are methods with no definition  If abstract methods have no definition, how can you use them?…

    • 546 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Computer programming often shortened to programming, scripting, or coding is the process of designing, writing, testing, debugging, and maintaining the source code of computer programs. This source code is written in one or more programming languages (such as Java, C++, C#, Python, etc.). The purpose of programming is to create a set of instructions that computers use to perform specific operations or to exhibit desired behaviors. The process of writing source code often requires expertise in many different subjects, including knowledge of the application domain, specialized algorithms and formal logic.…

    • 2235 Words
    • 9 Pages
    Powerful Essays

Related Topics