Preview

6 8c Chapter Excercises

Satisfactory Essays
Open Document
Open Document
515 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
6 8c Chapter Excercises
6-8cChapter Exercises
Questions
1. What is object-oriented analysis, and what are some advantages of this method?

In object-oriented analysis each object represents real people, places, events, and transactions (nouns). Unlike structured analysis, which treats data and processes separately, objects include data and processes that can affect the data. A major advantage of O-O designs is that systems analysts can save time and avoid errors by using modular objects, and programmers can translate the designs into code, working with reusable program modules that have been tested and verified

2. Define an object, and provide three examples.
3. Define an attribute, and provide three examples.
4. Define a method, and provide three examples.
5. Define encapsulation, and explain how it is used in object-oriented analysis.

Encapsulation is the idea that all data and methods are self-contained, as in a black box. The black box concept is an example of encapsulation, which means that all data and methods are self-contained. A black box does not want or need outside interference. Encapsulation allows objects to be used as modular components anywhere in the system, because objects send and receive messages but do not alter the internal methods of other objects.

6. Define polymorphism, and provide three examples.

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.

7. Define a class, subclass, and superclass, and provide three examples of each.
8. Define an actor, and provide three examples.
9. Define a use case and a use case diagram, and prepare a sample of each.

A use case

You May Also Find These Documents Helpful

  • Satisfactory Essays

    How can you find out which utilities are available on your system for editing files? Which utilities are available for editing on your system?…

    • 344 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 7

    • 2452 Words
    • 10 Pages

    Encapsulation is an attribute of object design. It means that all of the object's data is contained and hidden in the object and access to it restricted to members of that class. A procedure is a type of encapsulation because it combines a series of computer instructions. Likewise, a complex data type, such as a record or class, relies on encapsulation.…

    • 2452 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    Mat 540 Week 4 Paper

    • 1775 Words
    • 8 Pages

    Although the details can be quite complex, these details are the basic principles of object-oriented programming.…

    • 1775 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    This course introduces students to object-oriented programming. It covers object-oriented tools for system analysis, design and development. The course teaches the significance of object-oriented programming, the keywords and constructs of the Java programming language, and the steps required to create simple Java technology programs.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Psy300 Week 8

    • 760 Words
    • 4 Pages

    Understanding object-oriented methodologies is often difficult. You already understand that object-oriented analysis and design emulates the way human beings tend to think and conceptualize problems in the everyday world. With a little practice, object-oriented programming will become second nature to you.…

    • 760 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Question 1 - The use-case diagram shown in Figure A-1 F captures the Student billing function but does not contain any function for accepting tuition payment from students. Revise the diagram to capture this functionality. Also, express some common behavior among two use cases in the revised diagram by using include relationships.…

    • 277 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The Tale of Two Heros

    • 2380 Words
    • 10 Pages

    In a use case diagram, the user becomes a(n) ____, with a specific role that describes how he or she interacts with a system.…

    • 2380 Words
    • 10 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Java Programming I Exam

    • 912 Words
    • 4 Pages

    A(n) ____ defines the circumstances under which a class can be accessed and the other classes that have the right to use a class.…

    • 912 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Output and Average Age

    • 1584 Words
    • 7 Pages

    1 b) Write your analysis of the problem and the design approaches that you will take to solve this problem.…

    • 1584 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    2. What is a use case and why is iteration important in creating use cases?…

    • 553 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    OOP Assigment 1 Sit 1

    • 4788 Words
    • 20 Pages

    Polymorphism is the ability of two different objects to respond to the same event in their own way, depending on their data type or class. For example, different types of phones all have a numeric pad that needs to be pressed multiple times to call a person.…

    • 4788 Words
    • 20 Pages
    Powerful Essays
  • Powerful Essays

    Before you do this assignment, review the documents in Module 2 under "Case Study Instructions." With the following questions in mind, develop a case analysis. ***Additional Note: Please make sure to specifically answer each question below.…

    • 3606 Words
    • 15 Pages
    Powerful Essays
  • Powerful Essays

    1. Using the case study information provided to you, complete the following steps by providing dot-point written information to describe:…

    • 4604 Words
    • 18 Pages
    Powerful Essays
  • Powerful Essays

    Object Relation Theory

    • 3303 Words
    • 14 Pages

    In contrast, object relations theory maintains that the infant can relate to others at a very…

    • 3303 Words
    • 14 Pages
    Powerful Essays
  • Satisfactory Essays

    • Describe the benefits of use-case modeling. • Define actors and use cases and be able to identify them from context diagrams and other sources. • Describe the relationships that can appear on a usecase model diagram. • Describe the steps for preparing a use-case model. • Describe how to construct a use-case model diagram. • Describe the various sections of a use-case narrative and be able to prepare one. • Define the purpose of the use-case ranking and priority matrix and the use-case dependency diagram.…

    • 1741 Words
    • 7 Pages
    Satisfactory Essays

Related Topics