Solutions for Homework Assignment 2

Slides:



Advertisements
Similar presentations
BRIDGE COURSE of INFORMATION & COMMUNICATION TECHNOLOGY
Advertisements

Visio 2007 for UML Tutorial. Overview The tutorial demonstrates how to use Visio 2007 to create UML diagrams. We will focus on five most widely used UML.
Solutions for Homework Assignment 1
Prerequisites Essentials of Windows 95/97 Office graphic copyright by Microsoft Corp.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
Introduction To System Analysis and Design
Feb. 13, 2001CSci Clark University1 CSci 250 Software Design & Development Lecture #9 Tuesday, Feb. 13, 2001.
Chapter Nine NetWare-Based Networking. Objectives Identify the advantages of using the NetWare network operating system Describe NetWare’s server hardware.
1 CS 501 Spring 2005 CS 501: Software Engineering Lecture 8 Requirements II.
Lecture 13 Revision IMS Systems Analysis and Design.
© 2005 Prentice Hall4-1 Stumpf and Teague Object-Oriented Systems Analysis and Design with UML.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 5: User Environment and Multiple Languages.
Getting Started with Linux: Novell’s Guide to CompTIA’s Linux+ (Course 3060) Section 2 Use the Linux Desktop.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Laboratory Exercise # 3 – Basic File Management Office Productivity Tools 1 Laboratory Exercise # 3 Basic File Management Objectives: At the end of the.
CIS 116SUNY Ulster Chapter L5 – The GUI Karl Wick.
Chapter Three Designing The File System. Chapter Objectives Describe the components of the NetWare file system Describe the purpose of each NetWare-created.
SOFTWARE ENGINEERING BIT-8 APRIL, 16,2008 Introduction to UML.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
An Introduction to Software Architecture
1 Object-Oriented Modeling Using UML (2) CS 3331 Fall 2009.
Introduction to Sequence Diagrams
Adding User Interactivity – Lesson 51 Adding User Interactivity Lesson 5.
Prepared by: Sanaz Helmi Hoda Akbari Zahra Ahmadi Sharif University of Tech. Summer 2006 An Introduction to.
Interaction Modeling Interaction model describes how objects interact to produce useful results. Interactions can be modeled at different levels of abstraction:
With Windows 7 Introductory© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 Windows 7 Introductory Chapter 2 Managing Libraries Folders, Files.
Windows3.ppt1 Objectives: l Describe the Windows 2000 user interface l Identify elements of a window Using Windows Using Windows.
SUSE Linux Enterprise Desktop Administration Chapter 2 Use the Linux Desktop.
Section 2 Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices.
Introduction To System Analysis and Design
UML Diagrams: Class Diagrams The Static Analysis Model Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Programming in Java Unit 3. Learning outcome:  LO2:Be able to design Java solutions  LO3:Be able to implement Java solutions Assessment criteria: 
Ahmad Al-Ghoul. Learning Objectives Explain what a Microsoft Project environment and Project Server. Describe how to use the Ribbon, Quick Access Toolbar.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
Computer Emergency Notification System (CENS)
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
UML diagrams What is UML UML diagrams –Static modeoing –Dynamic modeling 1.
Sept. 18, 2003CS WPI1 CS 509 Design of Software Systems Lecture #3 Thursday, Sept. 18, 2003.
The Static Analysis Model Class Diagrams Prof. Hany H. Ammar, CSEE, WVU, and Dept. of Computer Science, Faculty of Computers and Information, Cairo University.
XP New Perspectives on Windows 2000 Professional Windows 2000 Tutorial 2 1 Microsoft Windows 2000 Professional Tutorial 2 – Working With Files.
Kemtis Kunanuraksapong MSIS with Distinction, A+ MCT, MCTS, MCDST, MCP.
1 CS Tutorial 5 Frid. Oct 23, 2009 Design Document Tutorial.
TAL7011 – Lecture 4 UML for Architecture Modeling.
Discovering object interaction. Use case realisation The USE CASE diagram presents an outside view of the system. The functionality of the use case is.
Office graphic copyright by Microsoft Corp.
Project 2 Working on the Windows XP Desktop Windows XP Service Pack 2 Edition Comprehensive Concepts and Techniques.
8:15 AM Tuesday September 15, 2009 Karl Frank, Point of Contact for Constellation Projects Validating Integration Requirements Diagrams for illustrative.
Identifying & Creating Use Cases – Part 1 Month Day, Year.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Object-Oriented Systems Analysis and Design Using UML Systems Analysis and Design,
® IBM Software Group © 2007 IBM Corporation Module 3: Creating UML Diagrams Essentials of Modeling with IBM Rational Software Architect, V7.5.
Object Oriented Analysis and Design Introduction to Rational Rose.
Systems Software. Systems software Applications software such as word processing, spreadsheet or graphics packages Operating systems software to control.
Introduction to UML and Rational Rose UML - Unified Modeling Language Rational Rose 98 - a GUI tool to systematically develop software through the following.
Unified Modeling Language. What is UML? Standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems,
Online Training Course
UML Diagrams By Daniel Damaris Novarianto S..
Customizing custom.
Object-Oriented Systems Analysis and Design Using UML
UML Diagrams Jung Woo.
Microsoft Windows 2000 Professional
Chapter 10: Process Implementation with Executable Models
Data, Databases, and DBMSs
Design and Implementation
SYS466 Domain Classes – Part 1.
New Perspectives on Windows XP
Grauer and Barber Series
Presentation transcript:

Solutions for Homework Assignment 2 Assignment Points: 50   Due Date: October 17, 2001 Final Date: October 24, 2001 Late Penalty: 5 points.

5.1. Consider a file system with a graphical user interface, such as Macintosh’s Finder, Microsoft’sWindows Explorer, or Linux’s KDE. The following objects were identified from a use case describing how to copy a file from a floppy disk to a hard disk: File, Icon, TrashCan, Folder, Disk, Pointer. Specify which are entity objects, which are boundary objects, and which are control objects.   5 Points. Entity objects: File, Folder, Disk Boundary objects: Icon, Pointer, TrashCan Control objects: none in this example.

5.2 Assuming the same file system as before, consider a scenario consisting of selecting a file on a floppy, dragging it to Folder and releasing the mouse. Identify and define at least one control object associated with this scenario. 5 Points. The purpose of a control object is to encapsulate the behavior associated with a user level transaction. In this example, we identify a CopyFile control object, which is responsible for: Remembering the path of the destination folder Checking if the file can be copied (access control and disk space). Remembering the path of the original file To initiate the file copying.

5. 3. Arrange the objects listed in Exercises 5. 1. and 5. 2 5.3. Arrange the objects listed in Exercises 5.1. and 5.2. horizontally on a sequence diagram, the boundary objects to the left, then the control object you identified, and finally, the entity objects. Draw the sequence of interactions resulting from dropping the file into a folder. For now, ignore the exceptional cases. In this specific solution, we did not focus on the Disk, Pointer, and TrashCan objects. The Disk object would be added to the sequence when checking if there is available space. The TrashCan object is needed for scenarios in which Files or Folders are deleted. Note that the interaction among boundary objects can be complex, depending on the user interface components that are used. This sequence diagram, however, only describes user level behavior and should not go into such details. As a result, the sequence diagram depicts a high level view of the interactions between these objects, not the actual sequence of message sends that occurs in the delivered system.

5.3 continued Figure below depicts a possible solution to this exercise. The names and parameters of the operations may vary. The diagram, however, should at least contain the following elements: Two boundary objects, one for the file being copied, and one of the destination folder. At least one control object remembering the source and destination of the copy, and possibly checking for access rights. Two entity objects, one for the file being copied, and one of the destination folder.

5.6. Consider the object model in Figure 5-24 on page 165 in the book (adapted from [Jackson, 1995]): Given your knowledge of the Gregorian calendar, list all the problems with this model. Modify it to correct each of them.   10 Points. The problems with Figure 5-24 on page 165 are related with the multiplicity of the associations. Weeks can straddle month boundaries. Moreover, the multiplicity on other associations can be tightened up: years are always composed of exactly twelve months, months do not straddle year boundaries, and weeks are always composed of seven days. The figure below depicts a possible revised model for this exercise.

6.2. In Section 6.4.2 on page 193 in the book, we classified design goals into five categories: performance, dependability, cost, maintenance, and end user. Assign one or more categories to each of the following goals: 5 points. Users must be given a feedback within 1 second after they issue any command. [Performance] The TicketDistributor must be able to issue train tickets, even in the event of a network failure.[Dependability] The housing of the TicketDistributor must allow for new buttons to be installed in the event the number of different fares increases. [Maintenance] The AutomatedTellerMachine must withstand dictionary attacks (i.e., users attempting to discover a identification number by systematic trial). [Dependability] The user interface of the system should prevent users from issuing commands in the wrong order. [End user]

6.3. Consider a system that includes a Web server and two database servers. Both database servers are identical: The first acts as a main server, while the second acts as a redundant backup in case the first one fails. Users use Web browsers to access data through the Web server. They also have the option of using a proprietary client that accesses the databases directly. Draw a UML deployment diagram representing the hardware/software mapping of this system. 10 Points.

6.7. Why are use cases that describe boundary conditions described during system design (as opposed to during requirements elicitation or analysis)?   5 Points. Use cases that describe boundary conditions DEPEND ON SYSTEM DESIGN DECISIONS. For example, software architecture decisions need to be made before developers can describe how the system is started or shutdown.