0% found this document useful (0 votes)
337 views2 pages

Requirements Elicitation: Laboratory Exercise

This document provides instructions for a laboratory exercise on requirements elicitation. Students will be asked to [1] analyze class diagrams that violate object-oriented design principles and [2] provide solutions to implement the single responsibility, open-closed, Liskov substitution, interface segregation, and dependency inversion principles. Students will draw their solutions in PowerPoint and submit them for scoring based on completeness and conformity to design principles. The goal is for students to practice applying design principles when modeling object-oriented systems.

Uploaded by

jj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
337 views2 pages

Requirements Elicitation: Laboratory Exercise

This document provides instructions for a laboratory exercise on requirements elicitation. Students will be asked to [1] analyze class diagrams that violate object-oriented design principles and [2] provide solutions to implement the single responsibility, open-closed, Liskov substitution, interface segregation, and dependency inversion principles. Students will draw their solutions in PowerPoint and submit them for scoring based on completeness and conformity to design principles. The goal is for students to practice applying design principles when modeling object-oriented systems.

Uploaded by

jj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

IT1814

Laboratory Exercise
Requirements Elicitation
Objectives:

At the end of the exercise, the students should be able to:

 Apply design principles when designing object-oriented systems.

Materials:

 Computer with Internet connection


 Microsoft PowerPoint

Procedures:
1. For each class diagram that violates a design principle shown in the table below, provide a solution that
implements the design principles.
a. Analyze how the given class diagram violates the design principles.
b. Formulate a solution on how you will implement design principles to make the class diagram
conform with a design principle. Note: Provide only one (1) solution for each class diagram.
Single Responsibility Principle (SRP)

Open-Closed Principle (OCP)

Liskov Substitution Principle (LSP)

Interface Segregation Principle (ISP)

03 Laboratory Exercise *Property of


STI
IT1814

Dependency Inversion Principle (DIP)

2. Draw your solution in MS PowerPoint and explain your solution. If your using a mobile phone, you may draw
on a clean sheet of paper. Take a photo of your output then upload to the provided DropBox.

RUBRIC FOR SCORING FOR EACH GIVEN SOLUTION:


CRITERIA 0 2 3 4 5 SCORE
The solution is The solution is The class The solution is
not complete not complete but diagram is not complete and
and/or does not shows a minimal complete, but the makes the class
No Solution

conform to a idea that solution shows diagram


Solution
design principle conforms to a an acceptable conforms to a /20
(×5) of SOLID. design principle idea that design principle
of SOLID. conforms to a of SOLID.
design principle
of SOLID.

03 Laboratory Exercise *Property of


STI

You might also like