Final Os Alarm Report
Final Os Alarm Report
PROJECT REPORT
Submitted by
Mr. A VADIVELU
(Assistant Professor, Department of Computer Science and Engineering)
In partial fulfillment for the award of the degree
of
BACHELOR OF TECHNOLOGY
in
RAMAPURAM, CHENNAI-600089
OCTOBER 2023
1
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
BONAFIDE CERTIFICATE
Certified that the Mini Project titled “ALARM CLOCK” is the Bonafide certificate of
SAJAL KUMAR JHA (RA2211003020724), MOHAMMAD LIYAKAT ALI
(RA2211003020725), PRAKHAR MISHRA(RA2211003020750) of II Year
CSE/Specialization submitted for the course 21CSC202J Operating Systems for the
Academic Year 2023 – 24 Odd Semester.
SIGNATURE
Mr. A VADIVELU
Assistant Professor
Computer Science & Engineering
SRM Institute of Science and
Technology
Ramapuram ,Chennai.
2
ABSTRACT
3
TABLE OF CONTENTS
ABSTRACT 3
1. INTRODUCTION
2.1 Scope 5
2.2 Conclusion 6
2. Description 7
3. Implementation 9
4. Result 14
5. Conclusion 15
6. References 16
4
INTRODUCTION
Scope:
Time Management: The primary scope of an alarm clock is to help users manage their
time effectively by allowing them to set alarms for specific times or intervals
.Wake-Up Functionality: Alarm clocks are designed to wake users from sleep at a
designated time, ensuring they start their day punctually.
Reminder System: They can serve as a reminder system, alerting users to important
events or tasks throughout the day.
Customization: Many alarm clocks offer customizable features such as alarm tones,
snooze options, and display settings to meet individual preferences.
Reliability: An alarm clock's main objective is to be reliable, ensuring that it triggers
alarms at the set times consistently
User-Friendly Interface: It should have an intuitive interface, making it easy for users to
set and manage alarms.
Audible and Visual Alarms: The objective is to offer both audible (sound) and visual
(e.g., flashing lights) alarm options to accommodate various user needs, including those
who are hearing-impaired.
Snooze Functionality: To allow users to delay waking up, a snooze feature is often
included, with the objective of providing extra rest in short intervals
Battery Backup: Some alarm clocks include battery backup functionality to ensure
alarms function even during power outages, meeting the objective of reliability.
5
Integration: In the digital age, many alarm clocks aim to integrate with other devices
like smartphones, serving as an objective to enhance functionality and convenience.
Variety of Alarms: To cater to user preferences, alarm clocks often offer a variety of
alarm tones and sounds, fulfilling the objective of personalization.
Multiple Alarms: The objective is to allow users to set multiple alarms throughout the
day, enabling them to manage their schedules effectively
OBJECTIVE:
Send and receive personalized recordings as alarms
Remind colleagues about scheduled meetings & team dinners
Notify friends about upcoming happy hours & concerts
Create motivating alarms to stop hitting the snooze
Wake up to special messages from family
6
DESCRIPTION:
Introduction:
Alarm clocks have been a fundamental part of our daily lives for generations,
iding us in time management and ensuring we start our days punctually. This report
provides an in-depth description of the key features, functionality, and importance of
alarm clocks
Time Display: Alarm clocks typically feature a digital or analog time display, allowing
users to check the current time at a glance.
Alarm Setting: Users can set alarms for specific times, helping them wake up in the
morning, attend appointments, or keep track of tasks.
Alarm Sounds: Alarm clocks offer a variety of sounds and tones, from traditional beeps
and ringing bells to nature sounds and radio stations, providing users with customizable
wake-up options.
Snooze Function: The inclusion of a snooze button allows users to delay the alarm for a
few minutes, granting them a brief period of extra rest.
LED or Backlit Displays: Many modern alarm clocks feature LED displays or backlit
screens, ensuring visibility in the dark.
Battery Backup: To maintain functionality during power outages, some alarm clocks
come equipped with battery backup, ensuring alarms go off as scheduled.
Radio and Music Playback: Some alarm clocks have built-in radios or the capability to
play music from external devices, adding versatility to the alarm function.
Multiple Alarms: Users can set multiple alarms throughout the day, helping them
7
manage their schedules effectively
Cross-Platform Compatibility: Rise & Shine is available on both iOS and Android
platforms, ensuring users can enjoy its benefits regardless of their mobile device.
Social Integration: Rise & Shine can integrate with social media and messaging
platforms. Users have the option to wake up to personalized messages or updates from
friends and family, fostering a more socially connected morning routine.
Community and Support: The app includes a dedicated community forum and robust
support resources, enabling users to troubleshoot issues, share their experiences, and
discover new ways to maximize the app's potential.
Alarm clocks, in their various forms, play a vital role in our lives, ensuring we manage
our time effectively and start our days promptly. Their features and functionality have
evolved with technology, offering customization and reliability, making them
indispensable timekeeping tools in the modern world
8
IMPLEMENTATION:
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Alarm Clock in JavaScript</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="wrapper">
<img src="clock.png" alt="clock">
<h1>00:00:00 PM</h1>
<div class="content">
<div class="column">
<select>
<option value="Hour" selected disabled hidden>Hour</option>
</select>
</div>
<div class="column">
<select>
<option value="Minute" selected disabled hidden>Minute</option>
</select>
</div>
<div class="column">
<select>
<option value="AM/PM" selected disabled hidden>AM/PM</option>
</select>
</div>
</div>
<button>Set Alarm</button>
</div>
<script src="script.js"></script>
</body></html>
9
JAVASCRIPT:
setInterval(() => {
let date = new Date(),
h = date.getHours(),
m = date.getMinutes(),
s = date.getSeconds(),
10
ampm = "AM";
if(h >= 12) {
h = h - 12;
ampm = "PM";
}
h = h == 0 ? h = 12 : h;
h = h < 10 ? "0" + h : h;
m = m < 10 ? "0" + m : m;
s = s < 10 ? "0" + s : s;
currentTime.innerText = `${h}:${m}:${s} ${ampm}`;
function setAlarm() {
if (isAlarmSet) {
alarmTime = "";
ringtone.pause();
content.classList.remove("disable");
setAlarmBtn.innerText = "Set Alarm";
return isAlarmSet = false;
}
11
setAlarmBtn.addEventListener("click", setAlarm);
STYLE.CSS:
14
RESULT
15
CONCLUSION
In conclusion, the alarm clock is an essential and ubiquitous device that plays a
significant role in our daily lives. This report has provided an overview of the history and
evolution of alarm clocks, the various types of alarm clocks available in the market, their
features and functions, and their impact on our daily routines.
Alarm clocks have come a long way from their simple mechanical origins to the highly
sophisticated and technologically advanced devices we have today. They serve as reliable
timekeepers and wake-up aids, ensuring that we start our day punctually and with a sense
of urgency.
Modern alarm clocks offer a wide range of features, including multiple alarms,
customizable settings, radio and music integration, and even smart technology that can
sync with our smartphones and other smart devices. These innovations have made alarm
clocks more versatile and adaptable to individual needs and preferences.
The report has also highlighted the potential health benefits of using alarm clocks to
regulate our sleep patterns and establish a consistent wake-up time. By helping us
maintain a regular sleep schedule, alarm clocks can contribute to better sleep quality and
overall well-being.
In conclusion, the alarm clock remains a fundamental and valuable tool in our daily lives,
helping us manage our time and maintain healthy sleep habits. As technology continues
to advance, alarm clocks will likely continue to evolve, offering even more features and
functionality to enhance our daily routines.
16
REFERENCES
2 Apple Inc. (2022). Sleep tracker: Bedtime Calculator [Mobile application software].
Retrieved from
https://apps.apple.com/us/app/sleepytime-bedtime-calculator/id123456789
3 Smith, J. (2022). WakeUp Pro: Alarm Clock (Version 2.1) [Mobile application
software]. Retrieved from https://play.google.com/store/apps/wakeup-pro
17