Professional Documents
Culture Documents
Osssssss
Osssssss
Submitted by
Mr. A VADIVELU
(Assistant Professor, Department of Computer Science and
Engineering)
ENGINEERING
NOVEMBER 2023
SRM INSTITUTE OF SCIENCE AND TECHNOLOGY
(Deemed to be University U/S 3 of UGC Act, 1956)
BONAFIDE CERTIFICATE
Certified that this project report titled “ALARM CLOCK” is the bonafide work of
SAJAL KUMAR JHA [REG NO: RA2211003020324], MUHAMMED
LIYAKAT ALI [REG NO: RA221003020338], PRAKHAR MISHRA
[REG NO:RA2211003020363] who carried out the project work under my
supervision. Certified further, that to the best of my knowledge the work reported
herein does not form any other project report or dissertation on the basis of which a
degree or award was conferred on an occasion on this or any other candidate. This
project work confirms to 21CSC202J/OPERATING SYSTEMS, III Semester, I
year, 2023.
SIGNATURE SIGNATURE
DECLARATION
We hereby declare that the entire work contained in this project report titled
“YOURLIB” has been carried out by KAVINESH R S [REG NO: RA2211003020324], THANKA
BHARATHI T M [REG NO: RA2211003020338], SAINATH RAHUL A [REG NO: RA2211003020363]
at SRM Institute
of Science and Technology, Ramapuram, Chennai, under the guidance of Mr. A
VADIVELU, Assistant Professor Department of Computer Science and Engineering.
Place: Chennai
SAJAL KUMAR JHA
MUHOMMAD ALI
PRAKHAR MISHRA
“ALARM CLOCK”
ABSTRACT
Abstract iv
SMALL ADDITION
ADD SEQ NO INSIDE THE CONTENT LIKE BELOW
1.1 MOTIVATION
1.2 PROBLEM STATEMENT
1.3 OBJECTIVE
1.4 SCOPE
2. EXISTING SYSTEM
3.DESIGN
3.1 ARCHITECTURE DIAGRAM
3.2 ER DIAGRAM
3.3 UML DIAGRAM
4.PRPOSED SYSTEM
4.1 MODULES
4.2 ADVANTAGES
4.3 METHODS
5.IMPLEMENTATION
5.1 ALGORITHM
5.1.1 SEAT
LIST OF FIGURES
3.2 ER Diagram 3
Wndw Window
Tkinter Tk interface
App Application
MOTIVATION:
The motivation behind a alarm clock app is to provide a convenient way for users to
wake up early in the morning You want to customize the sound, design, and features of your
alarm clock to suit your personal preferences and needs to challenge yourself and learn new skills,
such as programming, electronics, or design to create something unique and original that reflects
your personality and style.
wanted to have fun and enjoy the process of making something from scratch.
PROBLEM STATEMENT:
OBJECTIVE:
SCOPE:
2
CHAPTER
3 DESIGN:
ARCHITECTURE DIAGRAM:
ER DIAGRAM:
3
UML DIAGRAM:
4
CHAPTER 4
PROPOSED
SYSTEM
This application provides authority to the admin of the library so that the
library has full control over the application and maintains the application
without direct involvement of the library user. This helps in the employment of
a person to maintain this application and also reduces the risk of application
crash or any kind of trouble that affects the application. This app also contains
a login page which contains only one username and password which can only
be known the admin or the library employee which provides high security.
MODULES:
5
ADVANTAGES :
Flexibility:
Implementing a flexible seating system allows patrons to have more
options and freedom in choosing their preferred seating arrangements, which
can enhance their comfort and productivity.
Enhanced collaboration:
Depending on the library's objectives, a seating system can be designed to
promote collaboration and interaction among library users, facilitating group
work and knowledge sharing.
6
METHODS :
Seating assignment:
Libraries may choose to assign specific seats or areas to patrons based on
their needs or preferences. This can be done manually by library staff or
through automated systems.
Seating charts:
Creating seating charts can help visualize and organize seating
arrangements in the library. These charts can be displayed at the library
entrance or on digital platforms to guide patrons in finding available seats.
Management software:
Libraries can utilize specialized management software or integrated
library systems (ILS) that include features for managing seating arrangements.
These software solutions can help with seat reservations, tracking seat
availability, and generating seating reports.
7
CHAPTER 5
IMPLEMENTATION
ALGORITHM:
import datetime
import time
import winsound
def alarm():
while True:
set_alarm_time = f"{hour.get()}:{minute.get()}:
{second.get()}"
time.sleep(1)
current_time = datetime.datetime.now().strftime("%H:
%M:%S")
if current_time == set_alarm_time:
print("Time to Wake up")
winsound.PlaySound("sound.wav",
winsound.SND_ASYNC)
This algorithm uses the datetime, time, and winsound modules in Python. It defines a
function alarm() that runs an infinite loop and checks the current time against the set
alarm time. If the current time matches the set alarm time, it plays a sound using the
winsound module.
8
IMPLEMENTATION IN PYTHON:
9
10
clock = Tk()
clock.title("DataFlair Alarm Clock")
clock.geometry("400x200")
time_format=Label(clock, text= "Enter time in 24
hour format!",
fg="red",bg="black",font="Arial").place(x=60,y=12
0)
addTime = Label(clock,text = "Hour Min
Sec",font=60).place(x = 110)
setYourAlarm = Label(clock,text = "When to wake
you up",fg="blue",relief =
"solid",font=("Helevetica",7,"bold")).place(x=0,
y=29)
clock.mainloop()
#Execution of the window.
11
IMPLEMENTATION IN JAVA:
import
javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
// display
JPanel frontPanel = new JPanel();
frontPanel.setLayout(new BoxLayout(loginPanel, BoxLayout.Y_AXIS));
soundPanel.add(sound1);
soundPanel.add(sound2);
soundPanel.add(sound3);
soundPanel.add(sound4);
soundPanel.add(sound5);
add(alarm);
snoozeButton.addActionListener(new ActionListener()
12
// Handle login logic here
// For simplicity, assume successful log
}
});
// Reservation Panel
JPanel reservationPanel = new JPanel();
reservationPanel.setLayout(new
FlowLayout());
// Seat count
availableSeats = 50; // Initial available seats
seatLabel = new JLabel("Available Seats: " + availableSeats);
add(reservationPanel);
reserveButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// Handle seat reservation logic here
// For simplicity, just update seat
count updateSeatCount(-1);
}
});
// Logout Button
logoutButton = new JButton("Logout");
add(logoutButton);
logoutButton.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// Handle logout logic here
// For simplicity, just exit the application
System.exit(0);
}
});
}
14
CHAPTER 6
RESULT AND
DISCUSSION
OUTPUT IN PYTHON:
15
AVAILABLE SEATS
RESERVED SEATS
16
OUTPUT IN JAVA:
LOGIN PAGE:
17
CHAPTER 7
CONCLUSIO
N
The ALARM CLOCK Application is a Desktop application which runs on any latest
Windows Platform. There are many alarm clock apps available for different platforms. Here
are some of the most popular ones:
The Clock: Alarm Clock & Timer is a free app available on Google Play Store that
offers a reliable alarm clock with extreme functions. It combines all of the
functionality you need into one simple, beautiful package. It is designed to create, edit
and remove multiple alarms in the easiest way. It can be used to wake up in the
morning or setup reminders or TODOs for your daily tasks. The app also features a
smart alarm clock that allows you to set alarms and timers by using voice commands
via Google Assistant 1.
Alarms & Clock app is a built-in app in Windows 10 that allows you to set alarms
and timers. The app works even if it’s closed or your device is locked. You can also
set future date alarms and change the time zone of your clock 2.
The Clock is a built-in app in Windows 11 that offers new and exciting features like
Focus Sessions to the users 3.
Google Clock is a free app available on Google Play Store that allows you to set
alarms, timers, and stopwatches. The app also features a bedtime mode that helps you
maintain a consistent sleep schedule 4.
Alarmy (Sleep If U Can) is a free app available on Google Play Store that requires
you to complete certain tasks before the alarm stops ringing. This feature ensures that
you wake up on time 4.
These apps offer various features such as multiple alarms, customizable alarm sounds, white
noise for sleeping, sleep timer, unlimited alarms, different themes, weather forecast, smart
alarm clock, voice commands via Google Assistant, Focus Sessions, bedtime mode, and
more. Some apps like Alarmy (Sleep If U Can) require you to complete certain tasks before
the alarm stops ringing to ensure that you wake up on time. These apps are designed to help
you wake up feeling refreshed and energized.
However, there are potential downsides to using an alarm clock app such as sleep anxiety,
stress from sudden wake-ups, disruption of natural circadian rhythms, reduced battery
consumption features, and more 5678. Therefore it’s important to choose an app that suits your
needs and preferences.
The alarm clock project was designed to implement all of the basic features that one would
normally expect to find on a standard digital alarm clock. The features included standard
18
twelve-hour time, clock/alarm setting functionality, an alarm snooze feature, and an alarm.
19
CHAPTER 8
REFRENCE
20