[go: up one dir, main page]

0% found this document useful (0 votes)
7 views1 page

Problem Set

The document outlines a problem set for designing an alarm clock system, detailing its initial conditions, functionalities, and constraints. It requires students to decompose the problem into tasks, identify entities and rules, and create necessary diagrams for the solution. The assessment is structured to evaluate problem decomposition, pattern recognition, and modeling skills.

Uploaded by

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

Problem Set

The document outlines a problem set for designing an alarm clock system, detailing its initial conditions, functionalities, and constraints. It requires students to decompose the problem into tasks, identify entities and rules, and create necessary diagrams for the solution. The assessment is structured to evaluate problem decomposition, pattern recognition, and modeling skills.

Uploaded by

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

Computational Thinking and Problem Solving (SE1101) – Problem Set

Student’s Name: ………………………………………….……… Student’s ID: ……………………… Section: ……

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)

You might also like