Docsity

Homework 1 | Capstone Computer System Project 2002 | CSCE 491, Assignments of Computer Science

Toggle sidebar
bg1
CSCE 491 – Homework #1 Page 1
CSCE 491 – Fall 2002
Homework #1
Using the Rose model (the file you download off the HW#1 link on my webpage), make the following
extensions to the different diagrams as indicated in the following specifications.
1. Use Case diagram:
We want to add several new cases to the model: (1) RegisterForNextSemesterClasses, (2)
SignUpForPlanM. Registering for classes is done as a result of advisement, and signing up for Plan M is a
means for seniors to start taking graduate courses prior to starting graduate school. Add these new Use
Cases to the diagram in Rose, and add the appropriate links to the Actors. Do we need any new actors for
these new Use Cases? If so, define them and add them to the diagram.
2. Class Diagram
We want to add new some new classes and associations to the Class diagram shown below. First, we want
to model when the course meets (DayOfWeek and TimeOfDay), and associate this with Courses. Second,
we want to indicate which students are with which other students in a class. We already link a Student to a
Course Section, but how can we link one Student to other Students? How would this association link be
drawn on the diagram? What are its multiplicities?
You’ll need to add the appropriate Classes and Associations to the diagram. You will also need to add the
Multiplicities to the Association link (for both source and target of the link), and you might use Roles on
some of the links, where appropriate. Make the additions through Rose.
pf3

Partial preview of the text

Download Homework 1 | Capstone Computer System Project 2002 | CSCE 491 and more Assignments Computer Science in PDF only on Docsity!

CSCE 491 – Fall 2002

Homework

Using the Rose model (the file you download off the HW#1 link on my webpage), make the following extensions to the different diagrams as indicated in the following specifications.

1. Use Case diagram:

We want to add several new cases to the model: (1) RegisterForNextSemesterClasses, (2) SignUpForPlanM. Registering for classes is done as a result of advisement, and signing up for Plan M is a means for seniors to start taking graduate courses prior to starting graduate school. Add these new Use Cases to the diagram in Rose, and add the appropriate links to the Actors. Do we need any new actors for these new Use Cases? If so, define them and add them to the diagram.

2. Class Diagram

We want to add new some new classes and associations to the Class diagram shown below. First, we want to model when the course meets (DayOfWeek and TimeOfDay), and associate this with Courses. Second, we want to indicate which students are with which other students in a class. We already link a Student to a Course Section, but how can we link one Student to other Students? How would this association link be drawn on the diagram? What are its multiplicities?

You’ll need to add the appropriate Classes and Associations to the diagram. You will also need to add the Multiplicities to the Association link (for both source and target of the link), and you might use Roles on some of the links, where appropriate. Make the additions through Rose.

3. Sequence Diagram

Construct a Sequence diagram showing the scenarios for the new Use Cases we added in part #1, namely, (1) RegisterForNextSemesterClasses, (2) SignUpForPlanM. Which Actors or Classes are involved in the scenarios for each of these? The example below shows Instructor, Department and University (this is an example, but isn’t related to this problem). What is the sequence of steps that would transpire between the participants in the scenario? Label these clearly (like those numbered in the example below).

You’ll have 2 new Sequence diagrams in your Rose model, one for each of the new Use Cases.