0% found this document useful (0 votes)
13 views1 page

CS230 Week 9: Requirements Engineering Tasks

Solution

Uploaded by

jashwinsinghfj11
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

CS230 Week 9: Requirements Engineering Tasks

Solution

Uploaded by

jashwinsinghfj11
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CS230: Requirements Engineering

Week 9: Tutorial Questions


Task 1 – Review Questions
1. What is meant by a scenario? What is another term used to describe a scenario?

2. What is a precondition? What is a postcondition? Why are they important in use case
development?

3. What is the purpose of a system sequence diagram? What symbols are used in a system
sequence diagram?

Task 2 – Case Study

Read “The Real State Multiple Listing Service System” case study below and DFDs you
developed in for this case study. Using the event list and ERD for that system as a starting point,
develop the following object-oriented models:

THE REAL ESTATE MULTIPLE LISTING SERVICE SYSTEM

The Real Estate Multiple Listing Service system supplies information that local real estate agents use to
help them sell houses to their customers. During the month, agents list houses for sale (listings) by
contracting with homeowners. The agent works for a real estate office, which sends information on the
listing to the multiple listing service. Therefore, any agent in the community can get information on the
listing.

Information on a listing includes the address, year built, square feet, number of bedrooms, number of
bathrooms, owner name, owner phone number, asking price, and status code. At any time during the
month, an agent might directly request information on listings that match customer requirements, so
the agent contacts the multiple listing service with the request. Information is provided on the house,
on the agent who listed the house, and on the real estate office for which the agent works. For
example, an agent might want to call the listing agent to ask additional questions or call the homeowner
directly to make an appointment to show the house. Twice each month (on the 15th and 30th), the
multiple listing service produces a listing book that contains information on all listings. These books
are sent to all of the real estate agents. Many real estate agents want the books (which are easier to flip
through), so they are provided even though the information is often out of date. Sometimes agents and
owners decide to change information about a listing, such as reducing the price, correcting previous
information on the house, or indicating that the house is sold. The real estate office sends in these
change requests to the multiple listing service when the agent asks the office to do so.

1. Convert your ERD to a domain class diagram.


2. Develop a use case diagram.
3. Develop a fully developed use case description for each use case.
4. Develop a system sequence diagram for each use case.

Page 1 of 1

Common questions

Powered by AI

System sequence diagrams assist in understanding use cases by detailing the interaction between system operators and the system itself. In a real estate listing service, such diagrams help by mapping the sequence of events and data exchange processes required to fulfill tasks like listing queries or updates, ensuring clarity in how requirements are implemented across system operations .

Scenarios in requirements engineering are significant as they provide concrete examples of how a user might interact with a system. They help in understanding the user's needs and in identifying system requirements. Scenarios are also known as use cases, which detail the sequence of actions and interactions between users and systems to achieve specific goals .

An effective use case description for a real estate office change request process should include preconditions such as agent authorization, a detailed sequence of steps from initiation to processing by the listing service, and postconditions like updated listing status. It must cover normal and exceptional flows, clearly outline interactions between agents, offices, and the listing service, ensuring clarity for implementation .

Developing a use case diagram involves identifying actors, defining use cases that capture system interactions, and visually representing these interactions as ovals linked to actors with lines. This diagram conveys the functional requirements of a system and the user roles involved in various operations, providing a high-level overview of how users will interact with the system .

A system sequence diagram illustrates the sequence of interactions between objects in a use case, showing how operations occur and data flows within the system. Key symbols include actors (stick figures), objects (boxes), messages (arrows), and lifelines (dashed lines), which help in visualizing the order of interactions and collaborations between components .

The bi-monthly production of a listing book is important as it provides real estate agents with a convenient and comprehensive resource to reference listings. This format allows agents to quickly compare and present options to clients during meetings, despite the possibility of outdated information. Agents value the tangible, easily accessible nature of the book for client interactions and initial planning purposes .

Data flow diagrams (DFDs) provide a visual representation of data movement within the real estate multiple listing service, aiding in the understanding of how data is processed. Entity-relationship diagrams (ERDs) show the relationships and data structure, highlighting connections between entities like listings, agents, and offices. This helps in designing a robust system architecture that meets user requirements for processing and retrieving listing information .

When converting an ERD to a domain class diagram, key elements to consider include identifying classes from entities, encapsulating attributes as class variables, defining relationships as associations, and specifying multiplicity. Additionally, inheritance structures can be derived if there are hierarchical relationships, ensuring the object-oriented model accurately reflects the underlying data and business logic .

Challenges in converting use case descriptions into system sequence diagrams include accurately capturing detailed interactions, ensuring correct message sequences, and reflecting all alternative flows of events. For a real estate system, maintaining consistency with use cases, handling asynchronous interactions, and accommodating potential exceptions during listing updates pose additional complexities .

Preconditions specify the state of the system before a use case can begin, ensuring certain conditions are met for its execution. Postconditions define the state of the system after the use case is completed, indicating the successful progression or completion of the use case. Their importance lies in setting clear expectations and ensuring the use case can function effectively within the system's environment .

You might also like