INFO415: Systems Analysis INFORMATION SYSTEMS @ X Exercise Create a system sequence diagram for the...

Post on 05-Jan-2016

222 views 3 download

Transcript of INFO415: Systems Analysis INFORMATION SYSTEMS @ X Exercise Create a system sequence diagram for the...

INFO415: Systems AnalysisINFO415: Systems Analysis

INFORMATION SYSTEMS @ XINFORMATION SYSTEMS @ X

Exercise Exercise

Create a system sequence diagram for the following event, based on this class diagram

EventEvent TriggerTrigger SourceSource ActivityActivity ResponseResponse DestinationDestination

Registrar Registrar creates new creates new course sectioncourse section

Section Section schedule schedule requestrequest

RegistrarRegistrar Create a new section Create a new section and assign to a and assign to a professor timeslot professor timeslot and a roomand a room

Scheduled Scheduled section section

RegistrarRegistrar

TimeslotTimeslot

RoomRoom

ProfessorProfessor

SectionSection

11

0.*0.*11

11 Assumptions:Assumptions: Registrar supplies prof ID, CourseID and max enrolment System provides list of available rooms in specific time

slots. Registrar chooses room / timeslot combo System creates section (and assigns CRN when prof, room

and timeslot info has been found) System returns Prof name, CRN., room desc. and timeslot

to registrar once section has been createdCourseCourse

110.*0.*

INFO415: Systems AnalysisINFO415: Systems Analysis

INFORMATION SYSTEMS @ XINFORMATION SYSTEMS @ X

System Sequence DiagramSystem Sequence Diagram

RegistrarRegistrar

:system:system

rooms, timeslots=identifyroomtime (CourseID, Prof ID, max enrolment)

Prof name, CRN, room desc, timeslot =createsection (room,timeslot)

Loop for each new sectionLoop for each new section

Assumptions:Assumptions: Registrar supplies prof ID,

CourseID and max enrolment System provides list of available

rooms in specific time slots. Registrar chooses room / timeslot combo

System creates section (and assigns CRN when prof, room and timeslot info has been found)

System returns Prof name, CRN., room desc. and timeslot to registrar once section has been created

INFO415: Systems AnalysisINFO415: Systems Analysis

INFORMATION SYSTEMS @ XINFORMATION SYSTEMS @ X

Sequence DiagramSequence Diagram

sectionsection

timeslottimeslotroomroomprofessorprofessor

RegistrarRegistrarscheduleSection (CourseID,

Prof ID, max enrolment) profName:=getProfName (Prof ID)

roomDesc:=getRoom (Size)

coursecourse

timeSlot:=getTimeslot (Length)

CRN:creatSection (profID, Room ID,

Timeslot)

confirmSectioncreation (prof name, CRN, room desc.,

timeslot)

Room_Time_slot_selection:=selectRoomTime (time_slot. room)