You are on page 1of 2

King Fahd University of Petroleum & Minerals College of Computer Sciences and Engineering

Information and Computer Science Department

SWE 316: Software Design and Architecture (Term 111)

Assignment # 1 (Due Saturday October 8, 2011)


Objectives
The main goal of this assignment is to practice with the various UML diagrams discussed in the class.

Instructions
1. Answers have to be typed and drawn; handwritten solutions will not be accepted. 2. Submission: a softcopy including your report in PDF or WORD format.

Problem Description:
Most instructors use PowerPoint as a way to deliver rich presentations. A nice feature introduced in PowerPoint 2010 is the sections feature. Usually, slides appear as a list in each presentation. With sections, you can group a subset of those slides to form a logical arrangement of topics in the presentation (such as: Introduction, Topic 1, Topic 2, Summary). Figure 1 shows slides with and without the sections feature. Remember that sections are optional i.e., you can still have a presentation without sections.

Task 1:
Try to understand the various entities used by PowerPoint and then identify the relationship between them. The entities that we need in this assignment are: Presentation Slide Section

Create a UML diagram showing these entities (and any extra entity you might find useful). Try to have a detailed diagram that show attributes and methods.

Figure 1: The "Sections" feature in PowerPoint

Task 2:
Automation requirement: we would like to take advantage of the sections feature by adding a new functionality to PowerPoint. This functionality should draw these tabs that we created in each slide as tabs style as shown in Figure 2. SWE 316 Assignment # 1

Figure 2: Creating Tabs from Sections

Tabs could be active (if the section include the current slide) or inactive (if the section does not include the current slide). To make the appearance better, we should draw a background panel that appears behind all tabs. The functionality (let us call it: AddSectionsTabs) is supposed to be used after creating all slides and sections. However, it should be flexible to be used many times (in the same presentation) is the user modified his presentation (e.g. adding a slide, renaming a section, etc.) You are required to create both an activity diagram and a sequence diagram showing the steps of how we can accomplish this requirement. It would be useful to start with pseducode rather than the actual diagrams.

Task 3: Document your work


Identify any resources you have used (e.g. websites) List all tools you have used to create your UML diagrams

Good luck, Dr. Khalid Aljasser Tel 8602267

SWE 316 Assignment # 1

You might also like