Health and Fitness Tracker
Health and Fitness Tracker
COMPUTER SCIENCE
CLASS: XII
Under the Guidance of
Mrs.L.Nisha
Submitted by
1. DHANASHREE.V
2.NANDHANA.S.J
3.KIRUTHIGA.T
SRI SWAMY INTERNATIONAL SCHOOL
Affiliated to CBSE, New Delhi Affln. No. 1930458
MASINAYAKANPATTY, AYOTHIYAPATTANAM,
SALEM – 636 103.
PROJECT REPORT
ENTITLED
by _ Reg.No.____
Teacher-In-Charge Principal
Examiners
02 OBJECTIVES
03 SOFTWARE SPECIFICATIONS
04 EXISTING SYSTEM
05 PROPOSED SYSTEM
06 FRONT END
07 BACK END
08 SOURCE CODE
09 OUTPUT
10 TESTING
11 FUTURE ENHANCEMENT
12 CONCLUSION
13 BIBLIOGRAPHY
INTRODUCTION
INTRODUCTION
I. Windows OS
II. Python
III. Mysql
EXISTING SYSTEM
EXISTING SYSTEM
The existing system is not totally automated. Though the system is
computerized to a particular extent, it has to do a lot of manual
work.
The different processes involved are:
To maintain:
• Calorie Tracking
• User-Friendly Interface
• Workout Modes
• Heart beat tracking
Nowadays, people are very busy and they don’t find much time to
monitor their fitness and health so we use digital intelligence to
monitor the health.
PROPOSED SYSTEM
PROPOSED SYSTEM
It is used for:
web development (server-side),
software development,
mathematics,
system scripting.
Why Python?
Python works on different platforms (Windows, Mac, Linux,
Raspberry Pi, etc).
Python has a simple syntax similar to the English language.
Python has syntax that allows developers to write programs with
fewer lines than some other programming languages.
Python runs on an interpreter system, meaning that code can be
executed as soon as it is written. This means that prototyping
can be very quick.
Python can be treated in a procedural way, an object-oriented
way or a functional way.
Good to know
The most recent major version of Python is Python 3, which we
shall be using in this tutorial. However, Python 2, although not
being updated with anything other than security updates, is still
quite popular.
In this tutorial Python will be written in a text editor. It is
possible to write Python in an Integrated Development
Environment, such as Thonny, Pycharm, Netbeans or Eclipse
which are particularly useful when managing larger collections
of Python files.
2. Improved Productivity
Python is a very productive language. Due to the simplicity of
Python, developers can focus on solving the problem. They don’t
need to spend too much time in understanding
the syntax or behavior of the programming language. You write
less code and get more things done.
3. Interpreted Language
Python is an interpreted language which means that Python
directly executes the code line by line. In case of any error, it
stops further execution and reports back the error which has
occurred. Python shows only one error even if the program has
multiple errors. This makes debugging easier.
4. Dynamically Typed
Python doesn’t know the type of variable until we run the
code. It automatically assigns the data type during execution.
The programmer doesn’t need to worry about declaring variables
and their data types.
1. Slow Speed
4. Database Access
5. Runtime Errors
As we know Python is a dynamically typed language so the data type of
a variable can change anytime. A variable containing integer number may
hold a string in the future, which can lead to Runtime Errors.Therefore
Python programmers need to perform thorough testing of the applications.
Python standard library
1. TensorFlow:
This library was developed by Google in collaboration
with the Brain Team. It is an open-source library used for high-
level computations. It is also used in machine learning and deep
learning algorithms. It contains a large number of tensor
operations. Researchers also use this Python library to solve
complex computations in Mathematics and Physics.
2. Matplotlib:
This library is responsible for plotting numerical data.
And that’s why it is used in data analysis. It is also an open-
source library and plots high-defined figures like pie charts,
histograms, scatterplots, graphs, etc
.
3. Numpy:
The name “Numpy” stands for “Numerical Python”. It is
the commonly used library. It is a popular machine learning
library that supports large matrices and multi-dimensional data.
It consists of in-built mathematical functions for easy
computations. Even libraries like TensorFlow use Numpy
internally to perform several operations on tensors. Array
Interface is one of the key features of this library.
4. SciPy:
The name “SciPy” stands for “Scientific Python”. It is an
open-source library used for high-level scientific computations.
This library is built over an extension of Numpy. It works with
Numpy to handle complex computations. While Numpy allows
sorting and indexing of array data, the numerical data code is
stored in SciPy. It is also widely used by application developers
and engineers.
5. PyBrain:
The name “PyBrain” stands for Python Based Reinforcement
Learning, Artificial Intelligence, and Neural Networks library. It is an
open-source library built for beginners in the field of Machine Learning.
It provides fast and easy-to-use algorithms for machine learning tasks. It
is so flexible and easily understandable and that’s why is really helpful
for developers that are new in research fill
BACK – END
BACK – END
What is Database?
A database is an application that stores the organized collection
of records. It can be accessed and manage by the user very easily.
It allows us to organize data into tables, rows, columns, and
indexes to find the relevant information very quickly. Each
database contains distinct API for performing database operations
such as creating, managing, accessing, and searching the data it
stores. Today, many databases available like MySQL,
Sybase, Oracle, MongoDB, PostgreSQL, SQL Server, etc.
What is MySQL?
MySQL is currently the most popular database management
system software used for managing the relational database. It is
open-source database software, which is supported by Oracle
Company. It is fast, scalable, and easy to use database
management system in comparison with Microsoft SQL Server
and Oracle Database. It is commonly used in conjunction
with PHP scripts for creating powerful and dynamic server-side or
web-based enterprise applications.
It is developed, marketed, and supported by MySQL AB, a
Swedish company, and written in C programming
language and C++ programming language. The official
pronunciation of MySQL is not the My Sequel; it is My Ess Que
Ell. However, you can pronounce it in your way. Many small and
big companies use MySQL. MySQL supports many Operating
Systems like Windows, Linux, MacOS, etc. with C, C++, and Java
languages.
MySQL is a Relational Database Management System (RDBMS)
software that provides many things, which are as follows:
*Database Schema:*
```
CREATE DATABASE
fitness_tracker;
USE fitness_tracker;
1í% Œï0RO0R[RŒ%DE%O0DT
E| :?ASSW0RDf0f0
AEIOÆTO T%4O0R[RSRúOL
1 O: i : t a t m|:m t|aiIi
RCTRTOïœoìaëDœmæŁíOR[RSÁDEñSŒ¥áO0R[RSBYDESÆÛ¥p
AEIOMTO TM#O0R[RSRïOL
1í% Œï0RO0R[RŒ%DEAO0DT
AOODTRSTDOOCBTJSTO
C AEIOMTO
TM#O0R[RSRïOL
enter t\e sectio8 /Oü Wantto zccess:....(1,2,3OfÄ)..........2
älLLl\G PR0CEDJRE:|reip\t in \ps......Ä\D.......COSt in rvpees]
('Up', 'fORs')
('2fp', 'TfRs')
('Jf¢', '1OORs')
('4fp', '12fRs')
('Up', '1fORs')
('1Ofp', '2TfRs')
('2Ofp', 'f2fRs')
('JOfp', 'TTfRs')
('4Ofp', '1O2fRs')
('fOfpÜ12TfRs')
('1OOfpÜ2f2ORs')
('1fOfpüJTTORs')
('2OOfpÜfO2ORs')
('2fOfpÜ62TORs')
('JOOfpÜTf2ORs')
('Jfofp' '8TTORs')
('4OOf¢'’ '1OO2ORs')
('4fofp'’ '112TORs')
('fOOfp 12f2ORs')
WELCOMETO 0ATMA\C0JRIERSER¥ICE:
1. COvrier Oräer ana cvstomer äetzils
2.äiIIinpyrOceävre
J.COvrier service äO/S
4.e›it
enter t\e sectio8 ÿOü Wantto zccess:....(1,2,3Of4)........:
TESTING
TESTING
TESTING METHODS
Software testing methods are traditionally divided into black
box testing and white box testing. These two approaches are used to
describe the point of view that a test engineer takes when designing
test cases.
BLACK BOX TESTING
Black box testing treats the software as a "black box," without
any knowledge of internal implementation. Black box testing methods
include: equivalence partitioning, boundary value analysis, all-pairs
testing, fuzz testing, model-based testing, traceability matrix,
exploratory testing and specification-based testing.
SPECIFICATION-BASED TESTING
The black box tester has no "bonds" with the code, and a tester's
perception is very simple: a code must have bugs. Using the principle,
"Ask and you shall receive," black box testers find bugs where
programmers don't. But, on the other hand, black box testing has been
said to be "like a walk in a dark labyrinth without a flashlight,"
because the tester doesn't know how the software being tested was
actually constructed.
That's why there are situations when (1) a black box tester
writes many test cases to check something that can be tested by only
one test case, and/or (2) some parts of the back end are not tested at
all. Therefore, black box testing has the advantage of "an unaffiliated
opinion," on the one hand, and the disadvantage of "blind exploring,"
on the other.