40 likes | 83 Views
Requirements solicitation. Requirements solicitation: Find out what the customer wants Write down the requirements: Problem statement Use cases Screen layouts. We will focus on this, but much more is needed in a real project. An entire course (CSSE 371) is devoted to project requirements!
E N D
Requirements solicitation • Requirements solicitation: • Find out what the customer wants • Write down the requirements: • Problem statement • Use cases • Screen layouts We will focus on this, but much more is needed in a real project. An entire course (CSSE 371) is devoted to project requirements! Also, you will be your own customer in this course. You will obtain real customers in higher-level courses.
Problem Statement • Concise description of the problem. For example, • A palindrome is a number that is the same whether it is read from left-to-right or right-to-left. For example, 121 and 34543 are both palindromes. Create a program Transform which takes a number N that is to be transformed and returns a number that is the resultant palindrome from this process. Of course if N is already a palindrome, return it without changing it. • (Source: http://www.topcoder.com/?&t=support&c=sample_problems)
Use Cases • Sample interaction with the program. • EXAMPLESWorked examples: Example 1: N = 28 28 + 82 = 110 110 + 011 = 121, a palindrome. Return 121Example 2: N = 51 51 + 15 = 66, a palindrome. Return 66Further examples: Example 3: N = 11, return 11 Example 4: N = 607, return 4444 Example 5: N = 196, return -1
Screen layouts • Screen layouts: • An annotated series of pictures • that explains how the product should look and behave • You have enough detail if you could: • Give your screen layouts to a software developer • Get back what you had in mind • For your screen layouts in this class, focus on behavior and basic layout, not beauty • The next slides show screen layouts for an enhanced version of BallWorlds • The screen layouts are not just the pictures (they include the annotation)