Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Lecture 7 - System Requirements Capture Exercise

The document contains exercises for developing software requirements including whether additional features not directly related to requirements should be included, analyzing the flow of a use case, determining if a requirement is functional or non-functional, and identifying a defect in a set of requirements.

Uploaded by

Ahmed Hamdy Work
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)
37 views1 page

Lecture 7 - System Requirements Capture Exercise

The document contains exercises for developing software requirements including whether additional features not directly related to requirements should be included, analyzing the flow of a use case, determining if a requirement is functional or non-functional, and identifying a defect in a set of requirements.

Uploaded by

Ahmed Hamdy Work
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
You are on page 1/ 1

Name: ______________________________ Date: ______________________________

Software Engineering Specialization


Exercises: Requirements

Exercise 1: When developing software, it might be tempting to include additional features because

you think they are ingenious and/or possibly useful to someone now or in the future.
Do you think this is good idea? ☐ Yes ☐ No Explain your answer.

Exercise 2: What, if anything, is wrong with the basic flow of the following use case?
Use-case: Withdraw Cash from ATM
Actor: Bank Customer
Preconditions: Bank customer has a checking or savings account with the bank
Postconditions: Bank customer has cash or the reason the withdraw request failed
Basic Flow: 1. The bank customer (BC) inserts his/her bank card into the ATM machine
and enters his/her PIN number.
2. The BC requests a withdraw transaction from checking and enters the
amount.
3. The BC indicates he/she is finished and takes the cash and bank card
from the machine.

Exercise 3: Is the following a functional or non-functional requirement?


The system shall be responsive. No query should last longer than 3 seconds without
some type of feedback or progress indication sent back to the user.

Exercise 4: There can be defects in requirements the same way there can be defects in code.
What is the defect in the following requirements?
The system will inform the student whether he or she passed an assessment. The
system shall take two inputs: score and possible points. The system shall report an
error if either input is negative or if score is > (possible points). The system will return
true if score / (possible points) is ≥ 0.5; else it returns false.

You might also like