User Requirements

This week we are getting started with the semester project by working on the user requirements and outlining some use cases.

It is probably a weak point in the course that you not only specify and implement the system, but are also responsible to come up with the requirements for the system. There is no real customer that you can interview, and that can tell you in the end if your system satisfies their requirements or not. (We could fill an entire course with just the user requirements.) We need to keep that in mind. The goal is hence to come up with a sensible set of good use cases that we take as input for the subsequent specification and implementation process.

We guide the design of these use cases using a partial Vision-and-Scope document.

Discuss the Semester Project

We provided you with a partial and vague outline of the semester project. It is vague because it should allow you to adjust the system idea with your own ideas and plans. Defining the detailed requirements is part of the task.

Have a short round where each of you explains their understanding of the system, and make a list of good ideas. For example:

  • Do you want the system to focus on a specific domain?
  • Are there some functions you want to focus on?
  • Are there some specific ideas you want to try?

This is an open-ended task, so make sure to conclude the discussion after some maximum time, like 30 minutes.

Partial Vision and Scope Document

Based on your idea, create a preliminary Vision and Scope Document. The entire document should be short and concise, probably only about two to three pages. Capture the following sections:

  • Background: A better name for this section is probably "The Problem", because it needs to introduce why the system is actually needed. It provides information about the context of the system to make the vision more understandable and motivate it.
    • It is important that this part focuses on the context of the system, the environment, the problem and not the system itself.
    • Simply said, which problem does the system solve for someone?
    • See also Compendium, Vision and Scope Document, p.576, 1.1
  • Vision Statement: This is the most important item. Formulate a vision for your system that will guide your development, and explain the system also to others.
    • This may be hard to write down in a first attempt. Make some sketches, and be satisfied with an initial version.
    • See Compendium, Vision and Scope Document, p.577, 1.5
  • Objectives: Try to formulate specific goals that the system should achieve, and that are somehow measurable. This should guide the technical development, and contribute to achieve the vision.
    • See Compendium, Vision and Scope Document, p.576, 1.3
  • Stakeholders: Describe briefly the stakeholders that are important for the system. What is important to them?
    • See Compendium, Vision and Scope Document, p.579, 3.1
  • Risks: Describe briefly the main risks relevant for the system. Which are they, how can they be handled or reduced?
    • See Compendium, Vision and Scope Document, p.577, 1.6

This task kicks off your work with the semester project, but is open-ended in the sense that you will probably not come up with the final document in this session. You will most likely have question about this document. Submit them in the discussion forum and discuss them. (We will also be involved in the discussion.)

Based on the coarse idea of the system you will describe a set of use cases in the following.

You don't need to deliver this document this week, as it will be part of the delivery for the semester project. Create a folder in your own Team channel where you store all semester project related documents. You can also create a private team for that, where only you can access the documents.

What are Good Use Cases?

You have now already learned a lot about use cases and seen some examples, and know which goal we have when designing use cases. So what are the characteristics of good use cases?

Step 1: Individual Work

As always, have an individual round first:

  • Use 3 to 5 minutes of silence where each of you thinks about what are characteristics of a good use case.
    • Each one should come up with about 3 to 5 such suggestions.
    • Each one prepares a ranked list, with the most important quality of a use case at the top.
    • Try to be compact, either a word or a short phrase for each characteristic.

Step 2: Teamwork

Now combine your work together:

  • Take rounds where each of you takes their top choice, and compile a complete list of attributes.
    • Take rounds until you have listed all characteristics.
    • Eliminate or rephrase similar characteristics as you go, to remove making the same point several times.
  • Discuss and select the three most important characteristics.
    • Mark the them with a star, or highlight them in yellow.

Deliver your solution in the Teams folder for this unit. Use filename ttm4115-use-case-qualities-Team-XX.docx

Use Case Levels

Recall the different levels of use cases from the preparation, where we assigned use cases to different levels on a horizon:

In the document above, you see a number of use cases lined up at the sea-level, but many of them belong either to a higher or a lower level. In case you have troubles with the document, here is a list of all the use cases it lists:

  • Log into system
  • Hit tab key
  • Register a new customer
  • Get paid for a car accident
  • Buy a book
  • Provide students loans.

As you can see, these use cases do not relate to the same system. Use some fantasy to think about the systems around them, most should be obvious. Your task is to assign these use cases to the level where they fit best. The exercise has the main intention to make you familiar with the use case levels, before we apply this kind of thinking on your semester project.

  • Make a copy of the diagram. Here is the direct link to it.
  • Move the use cases up and down, and discuss them.
    • Argue why they should be on a certain level.
    • Compare the use cases with each other, and see if the level also fits relative to each other.
  • Once you are happy with the level of all use cases, fill out the quiz (once per team.)
  • See if you agree with the answers.

Use Cases for Your Project

Turn your attention now to your semester project.

For your project delivery, you should focus on three use cases at the sea-level. As you have seen above, these are the use cases most important to get right. The ones above provide direction and connect to your system's goals and purpose, but are more abstract. The ones below sea-level provide too much detail, but may be valuable when implementing the system.

  • Make a copy of the use case level document, and start filling it with some use cases for your system.
  • Be critical so that you capture the most important three use cases at the sea-level of your system.
    • Look at higher-level ones, how they can be decomposed into sea-level use cases.
    • Look at lower-level ones to see if they can be aggregates into sea-level ones.
    • Ignore clam-level use cases.
  • In case you struggle to condense your plans into a single such overview, consider to create one or two alternatives.
  • Also, "three use cases at the sea-level" is just meant as a guide.

As an example, look at the use cases below I sketched for one of the many toilet paper ordering systems that were popular when students could choose their own systems. The focus is at the sea-level, where I added two use cases (a third one is yet unspecified). I added a few use cases at the fish, kite, and cloud level, and connected the use cases with some arrows to show their dependencies. Try to follow the same strategy for your use cases.

Example use cases on their respective levels for a toilet paper management system.

Of course, store the use case level document for your work on the semester project. Also, deliver a screenshot of your use case levels on Blackboard. (Once per team.)

Questions and Answers

Risks

The Vision-and-Scope document lists business risks, which may be difficult for us to come up with. (These would be related to the operation and for instance financial aspects of the system.) Instead, think about the risks that can affect your specific situation of being able to delivering a the semester project with high quality.

For the risks, are you looking for the risks for planning the system, for the production of the system or our teams risks?

  • All of the above. Whatever can affect the development of the system.

How many risks should be included? There are plenty of different risks, both regarding development and once in production.

  • Focus on the most important ones that affect your development the most.

Objectives

How business-oriented should the objectives be?

  • The should concern the domain of the users and related to what they can get out of the system, so they are oriented towards their "business". (For some systems the term "business" is not a good one.)

Regarding business objectives: are we supposed to have numbers and percentages in our goals, or do we use more of a qualitative approach?

  • The objectives should be specific. In some cases, we can measure some metrics and then state some expected improvements. In other cases, it is more natural to describe qualitative improvements.

How specific should the objectives be? Should we just use our imagination, or find some possible source?

  • See the answer above. Making the objectives specific will help you to design functionality that implement the objectives. Therefore it may also be a good idea to target specific domains, so that the objectives can be more specific.

We have a question about the field objectives. Can we make assumptions on how the workplace is today, if we want to come up with some measurable values for improvement?

Similar question:

How big assumptions can we make? Concerning background: can we assume there are problems with the prior system and that we have solutions for this?

And yet another similar one:

Do we need to consider already existing solutions? Compare whether our solution is better?

  • Make assumptions that the users have another way of communicating and that this system is intended to make their communication better.

Stakeholders

Are developers stakeholders?

  • No, developers are not stakeholders. Stakeholders are owners of the systems, the ones operating it, the different user groups and so on.

Scope and Functions

Is encryption/security something we should think about in this project?

  • For the system, security is of course a main issue. We need for instance to protect the confidentiality of the messages, maintain availability and protect the system from other misuse. Implementing the security correctly is a challenging task, and goes easily beyond what you can manage during this semester. For this reason, you can decide if you want to take security issues into account at all.

How much do we have to realize in reality? What should we implement?

  • You must implement a selected subset of the functions of the system, preferably so that you can make a good and interesting demo. Some features are more interesting for the coordination and interactions in the system, while others (like for instance a database with user names) may be less interesting and can be provided by a simulated component (like a hardcoded lookup table used instead of a data base.)
Edit this page