Software Engineering Assignment Unit 3

docx

School

University of the People *

*We aren’t endorsed by this school

Course

2401

Subject

Electrical Engineering

Date

Apr 3, 2024

Type

docx

Pages

2

Uploaded by UltraDove2538

Report
a. Identify the actors for the system and their goals To start with there are four actors for the garage door motion detection system. First being the garage door user, second the motion detector, third the timer, and lastly the electric eye sensor. 1. Garage Door User: The goal for this actor is to be the object that can open the door by either doing it manually by clicking a button or with a remote, this means that they are responsible for the basic function of the garage door opening and closing. 2. Motion Detector: The goal for this actor is to detect motion and turn the light inside on. 3. Timer: The goal for this actor is to turn off the light inside after a certain period of time when motion isn’t detected. 4. Electric Eye Sensor: The goal of this actor is to detect motion that breaks the infrared light and if it happens it is supposed to reopen and stop closing the garage door. B. Derive only the use cases relevant to the system objective and write brief or casual text description of each 1. Use case for the garage door is that it should function in opening whenever the garage door user opens the door manually by clicking a button or when it is opened remotely. It should open when the electric eye sensor is triggered. 2. Use case for the motion detector is that when motion is detected the light should turn on and then turn off after a set period of time. 3. Use case for the timer is that it should maintain the time the light stays on after being triggered by the motion detector. 4. Use case for the electric eye sensor is that it should be triggered anytime the infrared beam is broken and signal the garage door to stop it from closing and open it back up. D. For the use case that deals with the remote-controlled garage door opening, write a fully dressed description Once the remote comes into the minimum range of distance from the garage door, it can be manually clicked by the garage door user for the garage door to open. The pressing of the button will result in the garage door to open by the motor turning and the door will rise above and continue to rise even when the electric eye sensor is broken once the car enters the garage while the door is opening. The motion sensor will have the light turned on and the timer will have the light turned off after a set time and the button can be pressed again for the garage door to close once the user is inside the garage. F. Show the operation contracts for the operations of the use case selected in (d) 1. Operation: Remotely Opening Garage Door. 2. Responsibility: Door should open when button is pressed by Garage Door User. 3. Cross References: Signal should match for garage door unit and remote signal. 4. Exceptions: Door should not open if signals do not match. 5. Precondition: External light turns on whenever the button on the remote is pressed. 6. Postcondition: External light automatically turns off after a set time period.
Reference Marsic, I. (2012, September 10). Software Engineering . Rutgers EDU. https://www.ece.rutgers.edu/~marsic/books/SE/book-SE_marsic.pdf
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help