Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Alarm Clock Problem Definition Design an alarm clock system. The alarm clock works like the one at your bed side. To begin with,

The Alarm Clock Problem Definition Design an alarm clock system. The alarm clock works like the one at your

The Alarm Clock Problem Definition Design an alarm clock system. The alarm clock works like the one at your bed side. To begin with, the time is 00:00, the bell is off, and the alarm is disabled. Bell ringing condition: bell rings only if the alarm is enabled and the current time is the same as the alarm time The alarm can be enabled, disabled, and set at any time. You can't disable un-enabled alarm. The bell stops ringing when disable the alarm while it's ringing Like the alarm the clock can be reset instantaneously Your solution should meet the following: 1. PROBLEM DECOMPOSITION (3 Marks) i. Break down the problem into a tree structure of tasks. 2. FINDING PATTERNS AND FORM GENERALISATIONS (5 Marks) i. Find all the entities, rules, action, and properties needed. 3. ABSTRACTIONS AND MODELS (7 Marks) Find all the concepts and draw all the diagrams needed. (your solution should contain static, states and workflow diagrams) The Alarm Clock Problem Definition Design an alarm clock system. The alarm clock works like the one at your bed side. To begin with, the time is 00:00, the bell is off, and the alarm is disabled. Bell ringing condition: bell rings only if the alarm is enabled and the current time is the same as the alarm time The alarm can be enabled, disabled, and set at any time. You can't disable un-enabled alarm. The bell stops ringing when disable the alarm while it's ringing Like the alarm the clock can be reset instantaneously Your solution should meet the following: 1. PROBLEM DECOMPOSITION (3 Marks) i. Break down the problem into a tree structure of tasks. 2. FINDING PATTERNS AND FORM GENERALISATIONS (5 Marks) i. Find all the entities, rules, action, and properties needed. 3. ABSTRACTIONS AND MODELS (7 Marks) Find all the concepts and draw all the diagrams needed. (your solution should contain static, states and workflow diagrams)

Step by Step Solution

3.35 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

1 PROBLEM DECOMPOSITION Set initial state Time 0000 Bell OFF Alarm Disabled User Actions Set Alarm T... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elements Of Chemical Reaction Engineering

Authors: H. Fogler

6th Edition

013548622X, 978-0135486221

More Books

Students also viewed these Programming questions

Question

Explain the steps involved in training programmes.

Answered: 1 week ago

Question

What are the need and importance of training ?

Answered: 1 week ago

Question

3. How do we perceive high-frequency sounds (above 4000 Hz)?

Answered: 1 week ago