0% found this document useful (0 votes)
87 views

Alaarm - Project1 3

The document summarizes an alarm clock project created by Harshita Ajaria using Python. The project allows a user to set an alarm time and message. When the alarm time matches the current time, the alarm rings and displays the message. Tkinter is used to create the graphical user interface. Modules like datetime, time, pygame mixer, and tkinter messagebox are imported to set the alarm time, play alarm music, and display messages. Flow diagrams and UML diagrams are included to illustrate the workflow and classes/objects involved. Screenshots show the interface allowing the user to input the time and message, and confirmations displayed when the alarm stops.

Uploaded by

krishna
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)
87 views

Alaarm - Project1 3

The document summarizes an alarm clock project created by Harshita Ajaria using Python. The project allows a user to set an alarm time and message. When the alarm time matches the current time, the alarm rings and displays the message. Tkinter is used to create the graphical user interface. Modules like datetime, time, pygame mixer, and tkinter messagebox are imported to set the alarm time, play alarm music, and display messages. Flow diagrams and UML diagrams are included to illustrate the workflow and classes/objects involved. Screenshots show the interface allowing the user to input the time and message, and confirmations displayed when the alarm stops.

Uploaded by

krishna
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/ 20

Geetanjali Institute of Technical Studies

Udaipur

An
Training Report

Department of Computer Science &Engineering

Submitted By:

Harshita Ajaria

Roll No.: 20EGICS040

Project – Alarm Clock

Department of Computer Science & Engineering


Geetanjali Institute of Technical Studies
Rajasthan Technical University
March -2023

Submitted To :
Dr Mayank Patel
Table of Contents

Chapter Content Page No.

Chapter 1 Introduction of Technology Learned 1

Chapter 2 Introduction of Project 4

Chapter 3 Module Flow Diagram & UML 6

Diagram

Chapter 4 Project Working and Screen Shots 10

Chapter 5 Result 14

Chapter 6 Conclusion and future Scope 16

Chapter 7 References 15
Chapter 1

Introduction of Technology Learned

Python is a widely used general-purpose ,high level programming


language. It was created by Guido van Rossum in 1991 and further
developed by the python Software Foundation. It was designed with an
emphasis on code readability, and its syntax allows programmers to
express their concepts in fewer lines of code.

Python is a programming language that works you quickly and


integrate systems more efficiently.

Reasons for increasing popularity


• Emphasis on code readability , shorter codes , ease of writing
• Programmers can except logical concepts in fewer lines of code
in comparison languages such as C++ or java.
• Python supports multiple programming paradigms , like object
oriented , imperative and functional programming or procedural.
• There exists inbuilt functions for almost all of the frequently used
concepts.
• Philosophy is “simplicity is best”.

1
Language features
1. Interpreted
• There are no separate compilation and execution steps like
C and C++
• Directly run the program from the source code
• Internally, Python converts the source code into an
intermediate form called bytecodes which is then translated
into native language of specific computer to run it.
• No need to worry about linking and loading with libraries,
etc
2. Platform Independent
• Python programs can be developed and executed on
multiple operating system platform.
• Python can be used on Linux , Windows , Macintosh ,
Solaris and many more.

3. Free and Open Source; Redistributable

4. High Level Language

5. Simple

• Closer to English language; Easy to learn


• More emphasis on the solution to the problem rather than
the syntax

2
6. Embeddable

• Python can be used within C/C++ program to give scripting


capabilities for the program is users .

7. Robust

• Exceptional Handling features


• Memory management techniques in built

8. Rich library Support

1. The Python standard library is very vast


2. Known as the “batteries included” philosophy of Python.
It can help do various things involving regular expressions ,
documentation generation , unit testing ,threading , databases web
browsers ,CGI, email and many more.
3. Besides the standard library , there are various other high-quality
libraries such as the simple image manipulation library.

3
Chapter 2

Introduction of Project

The project is alarm clock , I made an alarm clock in python. So in the


alarm clock we usually set time for the alarm clock and then it rings
this is a basic idea of an alarm clock.

This Alarm Clock is a Graphic User Interface in which user will set
time like in hours and minutes (H:M) and user can also set a
message so that whenever the alarm rings , that message will be
shown on the screen.

We are making this Alarm Clock in python by importing some


modules like : -

• From tkinter import *


• Import datetime
• Import time
• From pygame import mixer
• From import tkinter messagebox

Tkinter is the most commonly used library for developers GUI in


python . It is a standard interface to the Tk GUI shipped with python.
As Tk and tkinter are available on the most of Unix platforms as well
as the windows systems, developing GUI applications with tkinter
becomes the fastest and easiest.

4
In python , date and time are not a datatype of their own , but a
module named datetime can be imported to work with the date as well
as time. Python datetime module comes built into Python, so there is
no need to install it externally.

Time module is for an idealized naïve data, assuming the current


Gregorian calender always was , and always will be , in effect. Its
attributes are year ,month and day.

To rings the alarm tone with have inserted music with the help of
module pygame mixer , the mixer module has a limited number of
channels for playback of sounds

Tkinter messagebox is to show the message which is set by the user.

If user didn’t set time and try to set alarm then the message will
shown that please enter valid time for the user concerns

5
Chapter 3

Module Flow Diagram & UML Diagram

Flow Diagram:
A flow diagram, or flowchart, is a specific type of activity diagram that
communicates a sequence of actions or movements within a complex
system. A flow diagram is a powerful tool for optimizing the paths of
people, objects, or information.
A flowchart is a type of diagram that represents a workflow or process.
A flowchart can also be defined as a diagrammatic representation of an
algorithm, a step-by-step approach to solving a task. The flowchart
shows the steps as boxes of various kinds, and their order by connecting
the boxes with arrows.
UML Diagram:
The Unified Modeling Language (UML) is a general-purpose,
developmental, modeling language in the field of software
engineering that is intended to provide a standard way to visualize the
design of a system.
Mainly, UML has been used as a general-purpose modeling language
in the field of software engineering. However, it has now found its way
into the documentation of several business processes or workflows.
For example, activity diagrams, a type of UML diagram, can be used
as a replacement for flowcharts. They provide both a more standardized
way of modeling workflows as well as a wider range of features to
improve readability and efficiency.

6
Use Case Diagram:

Set
Alarm

Set
message

Alarm rings
submit when alarm time
is equal to
current time

Press ok then
alarm stops

7
Class Diagram

ADMIN
Submit
Alarmtime=StringVar(
B1=button(command = a)
)
msgi = StringVar( )
def a( )

def a( )

Music
mixer.init( ) Message
Msg=StringVar ( )
Def a( )
Message.showerror(
)
Def a( )

8
Flow Diagram:

start

Input time Input message

if input
enters

no yes

Invalid data, submit Music play


insert input

Ok message press

Stop music

9
Chapter 4
Project Working and Screen Shots
We are making this Alarm Clock in python by importing some
modules like : -

• From tkinter import *


• Import datetime
• Import time
• From pygame import mixer
• From import tkinter messagebox

Tkinter is the most commonly used library for developers GUI in


python . It is a standard interface to the Tk GUI shipped with python.
As Tk and tkinter are available on the most of Unix platforms as well
as the windows systems, developing GUI applications with tkinter
becomes the fastest and easiest.

In python , date and time are not a datatype of their own , but a
module named datetime can be imported to work with the date as well
as time. Python datetime module comes built into Python, so there is
no need to install it externally.

Time module is for an idealized naïve data, assuming the current


Gregorian calender always was , and always will be , in effect. Its
attributes are year ,month and day.

10
To rings the alarm tone with have inserted music with the help of
module pygame mixer , the mixer module has a limited number of
channels for playback of sounds

Tkinter messagebox is to show the message which is set by the user.

If user didn’t set time and try to set alarm then the message will
shown that please enter valid time for the user concerns

In this input time is a label and has an entry box

Message is also a label and has an entry box

Submit button is for give the command which calls the function
11
def a( ): is our command which is giving by pressing the button.

If you press ok then music stops

If you didn’t enter any data then the message will be shown to you

12
13
Chapter 5

Result

14
Chapter 6

Conclusion and Future Scope


Our project is only a humble venture to satisfy the needs to manage
their project work. Several user friendly coding have also adopted. This
package shall prove to be a powerful package in satisfying all the
requirements of the alarm. The objective of software planning is to
provide a frame work that enables the manger to make reasonable
estimates made within a limited time frame at the beginning of the
software project and should be updated regularly as the project
progresses.

At the end it is concluded that we have made effort on following points.

Future Scope of the Project:

In a nutshell, it can be summarized that the future scope of the


project circles around
• We can set timer.
• We can add count down timer.
• We can add email option
So the system will automatically send an email on the date set by user

15
Chapter 7

References

1. https://www.youtube.com/watch?v=gfDE2a7MKjA

2. https://www.geeksforgeeks.org/python-programming-
language/

3. https://www.w3schools.com/python/

16
Internship Rubrics
Name of Student : RTU Roll No. :
Score
Performance Scale 1 Scale 2 Scale 3 Scale 4 Score 5
(Numerical
Criteria (0-20%) (21-40%) (41-60%) (61-80%) (81-100%)
)
• Presentation was • Content of the • Content of the • Content of the • Content of the
not proper, presentation presentation was presentation was presentation was well
communication skills was well well defined, PPT well defined, PPT defined, PPT was well
were not upto the defined, PPT was well formed, was well formed, formed,
mark. was well communication communication skills communication skills
• Modules were not formed, skills was ok and was ok and some were very good and
Presentation & working properly. communication some questions questions were not questions answered
Viva voce skills was ok and were not answered were up to the mark
some questions answered • Some defined • All defined objectives
were not • Some defined objectives were not are achieved
answered objectives were achieved. • Each module working
• Some defined not achieved. • Each module is well and properly
objectives were working. demonstrated.
not achieved.
• Not Upgraded • Some Upgraded • Not Upgraded • Introduced some • Introduced new ideas,
according to according to according to new ideas, and and stimulated
industry oriented industry industry oriented stimulated discussion.
technical knowledge oriented technical discussion. • Upgraded according to
technical knowledge. • Gained some industry oriented
Learning knowledge. • Managed the technical knowledge. technical knowledge.
• Very effective in assigned task and • Effective in managing • Very effective in
managing the tries to achieve all the assigned task and managing the assigned
assigned task goals. tries to achieve all task and tries to
and tries to goals. achieve all goals.
achieve all goals.
• No objectives • Some objectives • Some objectives • Almost All objectives • All defined objectives
achieved are achieved are achieved are achieved are achieved
• Modules are not • Some Modules • Some Modules • Modules are working • Each module working
working properly. are not working. are working properly. well and properly
Implementatio • System working is • System working properly. • Some modules of demonstrated.
not satisfactory. is not • Design of the project are well • All modules of project
n • Design of the project satisfactory. project is integrated but are well integrated and
is unacceptable. • Design of the acceptable. system working is system working is
project is satisfactory. satisfactory.
marginal • Design of the project
is acceptable.
• No knowledge about • Partial • Some knowledge • Some knowledge • Extensive knowledge of
departments, knowledge about about departments, all departments,
processes, products about departments, processes, products processes, products &
& work culture of departments, processes, & work culture of the work culture of the
the company processes, products & work company company
Industry • No Knowledge of products & work culture of the • Knowledge of • Knowledge of
professional ethical culture of the company professional ethical professional ethical
Orientation, issues, Team work company • Partial Knowledge issues and Team issues, Team work,
Professional Professional • No Knowledge of professional work. Professional Professional behavior
behavior and of professional ethical issues, behavior and and decision making.
Ethics & Moral decision making. ethical issues, Team work decision-making • Knowledge of
• No Knowledge of Team work Professional ability is missing. recruitment Process &
recruitment Process Professional behavior and • Some Knowledge of HR Policies
& HR Policies behavior and decision making. recruitment Process
decision making. & HR Policies

• Project report has • Project report • Project report has • Project report is • Project report is
several formatting has some some formatting according to the according to the
and grammatical formatting errors. specified format. specified format.
errors. errors. • Results are not • Results are not so • Results are presented
Report Writing • Results are not upto • Results are not upto the mark. impressive in very appropriate
the mark. upto the mark. • Project work is • Project work is done manner
• Project work is not • Project work is done • Project work is well
done properly. not done summarized and
properly. concluded

Faculty Name : Faculty Signature : Total Marks:

17
18

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy