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
  • 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
  • Good Essays

    Unit 3 research

    • 383 Words
    • 2 Pages

    An entity-relationship diagram is a specialized graphic that illustrates the relationships between entities in a database. ER diagrams often use symbols to represent three different types of information. Boxes are commonly used to represent entities. Diamonds are normally used to represent relationships and ovals are used to represent attributes…

    • 383 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
  • 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
  • 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
  • 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

    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
  • Good Essays

    Bullies? Mean people that tease you? Nobody likes those kind of people. Bullies usually have a reason behind all of their bullying. Whether its emotions or people at home it's never good to treat people like that. For example, the character ,Julian, from ,Wonder by R.J Palacio, has been developing this occurring rudeness to August Pullman the new kid at Beecher Prep middle school, from his mother who edited Auggie out of the class picture. Another example of a bully is Andy Simms from Macaroni Boy by Katherine Ayres. Andy Simms is stuck on making up lies about Michael Costa and his dadś business The Costa Brothers and where they get their food and what they put in it. Although bullies like Julian and Andy Simms are different in their ways of being mean to people they also are very similar.…

    • 680 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
  • 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
  • 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

Related Topics