SampleMidtermsol

# SampleMidtermsol - Computing Science 275 Midterm...

This preview shows pages 1–3. Sign up to view the full content.

Computing Science 275 Midterm Examination: Partial Solution 1) Consider any software engineering project. a) [3 marks] List, in the order they occur, the phases in the waterfall software engineering process Project Planning, Requirements Analysis, Design (High level or system design) Design (Low level or class design), Implementation, Testing, Maintenance 2) Consider the Requirements Analysis and Design phases or a software development project. a. [2 points] What types of UML diagrams would be used in the requirements analysis phase? context diagrams, and class diagrams, state diagrams, and use case diagrams. b. [1.5 points] What types of UML diagrams can be used to model the dynamic properties of the software system during design? sequence diagrams, collaboration diagrams and state diagrams c. [0.5 points] During which phase/sub-phase should the complete user interface be developed. (functionality and how functionality is accomplished) high level design sub-phase of the design phase 3) [10 marks] Consider a toaster. A toaster can be use to make toast (toast a slice of bread), to heat bagels, and to heat toaster waffles. A toaster can be set to toast for different lengths of time. A toaster has a toast switch which is pressed to start toasting or heating. When a toaster has completed toasting or heating it stops and “pops up” the toasted or heated object. Write an informal scenario for the function “make toast”. Make sure you use the format we learned in class. This scenario is about using a toaster to make toast from bread. Name (Description) of Informal Scenario: make toast Current State: the toaster contains no bread, bagels or waffles, it is not presently toasting or heating anything. The toaster is plugged in and ready to use. Information Scenario Outline: Put one or more slices of bread in the toaster Set the time to 2 minutes to toast the bread to the desired level Press the toast switch Remove the toast from the toaster when the toaster “pops up” after 2 minutes Next Scenario: toaster is ready to heat a waffle or bagel, or to make more toast

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Page 2 of 9 2 4) [4 points] What is the difference between a functional requirement and a non-functional requirement? Give an example of each type of requirement. A Functional Requirement specifies a service that the software system must provide, while a non-functional requirement specifies something about limitations/qualificatioin on how that requirement will be satisfied. For example, a functional requirement might specify that the software system should calculate the mean of a set of data, a related nonfunctional requirement might specify that calculations would be implemented in C++. 5)
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 10/07/2009 for the course CS 10827 taught by Professor Janiceregan during the Spring '06 term at Simon Fraser.

### Page1 / 9

SampleMidtermsol - Computing Science 275 Midterm...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online