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

    Test Ch 4 Cts 285

    • 1449 Words
    • 6 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.Answer…

    • 1449 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Body alignment refers to the relationship of one body part to another body part along a…

    • 4471 Words
    • 18 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
  • Satisfactory Essays

    Activity Problems MPC

    • 367 Words
    • 2 Pages

    1. Draw and describe the Business Model for Case 2 (see Seminar 1 for how to draw a business model)…

    • 367 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    MA1310 Study Guide

    • 6294 Words
    • 56 Pages

    3. Describe in three sentences what your strategy will be to solve the chosen application problem.…

    • 6294 Words
    • 56 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prg420 Syllabus

    • 1691 Words
    • 7 Pages

    This course introduces object-oriented programming in the context of business applications development. The basics of the Java programming language are covered.…

    • 1691 Words
    • 7 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

    Seeking Advice

    • 1485 Words
    • 6 Pages

    Tasks There are two tasks to this assignment. A Short answer questions B Case study…

    • 1485 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Each new class obtained through inheritance is known as derived class, and classes from which it derives are called base classes. In addition, each derived class can be used as a base class for a new derived class. And each derived class can be one or more base classes. In the latter case are referred to bypass manifold.…

    • 290 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    week 1 assignment

    • 1379 Words
    • 6 Pages

    Bohl, M., & Ryann, M. (2008). Tools for structured and object-oriented design: An introduction to programming…

    • 1379 Words
    • 6 Pages
    Satisfactory 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
  • 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
  • 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

    B- Suppose you are going to build a new system that automates or improves the interview process for the career services department of your school. Develop a requirements definition for the new system. Include both functional and non-functional system requirements. Pretend you will release the system in three different versions. Prioritize the requirements accordingly.…

    • 829 Words
    • 4 Pages
    Satisfactory Essays

Related Topics