Question 6 . Consider the following set of functional requirements. Index: W1 Na
ID: 3877948 • Letter: Q
Question
Question 6. Consider the following set of functional requirements.
Index: W1
Name: Parka
Action: If the current temperature is less than 0 degrees Fahrenheit and the forecast is for snow, then you should wear a parka.
Index: W2
Name: Raincoat
Action: If the current temperature is greater than 0 degrees Fahrenheit and the forecast is for snow, then you should wear a raincoat.
Index: W3
Name: Umbrella
Action: If the current temperature is greater than 0 degrees Fahrenheit and the forecast is for precipitation, then you should carry an umbrella.
Index: W4
Name: Leather
Action: If the current temperature is less than 0 degrees Fahrenheit and the forecast is for no precipitation, then you should wear a leather coat.
Create a state-activity table for this set of requirements.
Identify all of the conflicts in this set of requirements.
Identify all of the ways in which this set of requirements are incomplete.
Explanation / Answer
Index
Name
Temperature
Forecast
Action
W1
Parka
< 00 F
Snow
Wear parka
W2
Raincoat
> 00 F
Snow
Wear raincoat
W3
Umbrella
>00 F
Precipitation
Carry Umbrella
W4
Leather
< 00 F
No precipitation
Leather coat
Conflicts:
With respect to W2 and W3, if temp > 00 F weather snow ore precipitation wearing raincoat is enough.
With respect to W1 and W4, if temp < 00 F weather snow or no precipitation wearing parka is enough.
Complete requirement:
This sate activity diagram covers all the possibilities of temperatures and forecast combination to give out the proper action item to be followed.
It does not overlap any conditions with respect to temperatures and forecast conditions.
It gives out distinct proper action to be followed with respect to temperature and forecast combination.
Index
Name
Temperature
Forecast
Action
W1
Parka
< 00 F
Snow
Wear parka
W2
Raincoat
> 00 F
Snow
Wear raincoat
W3
Umbrella
>00 F
Precipitation
Carry Umbrella
W4
Leather
< 00 F
No precipitation
Leather coat
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.