0% found this document useful (0 votes)
13 views3 pages

ITP Project MyHealthTracker Updated

Uploaded by

Noami Zainie
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)
13 views3 pages

ITP Project MyHealthTracker Updated

Uploaded by

Noami Zainie
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/ 3

Semester 1 2022/2023

TMF1414 Introduction to Programming


Project (20%)
Due Date: 15th January 2024, before 5:00 pm

Learning Outcomes:
To demonstrate the ability of students to:
• Distinguish the basic problem-solving techniques in developing algorithms and
programs for given problems. [C4]
• Construct complete programs based on a given specification. [P4]
• Construct the process of top-down, stepwise refinement to benefit all related software
construction task. [P4]
• Justify the solution clearly and confidently. [A3, TS]

Objectives:
To demonstrate the ability of students to:
• design and develop a console program that receives inputs from user and display
correct outputs.
• apply modular programming to solve given problem effectively using functions; and
• use appropriate derived data types to manage data for the project. For instance,
array, structure and files.

Problem Statement(s):
In the modern fast-paced lifestyle, monitoring and managing personal health has become
increasingly important. Many individuals struggle with tracking various health
parameters like diet, exercise, sleep, and medication effectively. A user-friendly system,
My Health Tracker, is needed to simplify the process of monitoring and managing these
health parameters, enabling users to make informed decisions about their well-being.
Table 1 below shows the recommended health parameters.

Table 1: Health parameters recommendation for adult

Health Minutes per Sleep Hours per


Daily Caloric Intake
Parameter Week Night
Below < 800 <7
Recommended <150
Limit (Weight Loss) (Insufficient Sleep)

Recommended 800 - 2,400 7–9


150 - 300
Limit Level (Weight Maintenance) (Optimal Sleep)
Exceeding > 2,500 >9
Recommended > 300
Limit Level (Weight Gain) (Excessive Sleep)
Semester 1 2022/2023

Requirements:
Your system should be able to provide the following:

a) Allow users to enter and update their personal health details (Table 2).
b) Enable users to log daily dietary intake, exercise routines and sleep patterns, and
calories consumed.
c) Categorize and display health data based on input types (Food item list and exercise
type) [hints – Consider setting a list of choices for input types to discourage free-entry
options].
d) Save all data to a file for future reference and efficient data management, allowing for
viewing, editing, and updating.
e) Operate continuously until the user opts to exit. Keep in mind that all saved data
should be retrievable and loaded into the system upon restarting.
f) Display all weekly (Week 1 – Week 4) health data summaries (Table 3).
g) Generate the Monthly Health Summary Reports (Table 4) and provide a health
summary based on the table.

Table 2: Personal Health Details

Fields Sample Data


Name Cornelius James
Date of Birth 15/06/1994
Sex Male
Weight 75 kg
Height 180 cm
Health Goals Increase Stamina

Table 3: Week 1 - Sample Daily Health Data Tracker

Date Food Items Exercise Details Sleep Calories


Duration Consumed
01/01/2024 Oatmeal, Chicken Salad, Fruit 30 min Running 7 hours 550
Salad
02/01/2024 Fruit Smoothie, Rice Bowl, 45 min Yoga 6 hours 400
Mixed Nuts
03/01/2024 Eggs, Grilled Fish, Quinoa 1 hour Cycling 8 hours 600
04/01/2024 Greek Yogurt, Mixed Berries, 40 min Weightlifting 7 hours 450
Almonds
05/01/2024 Whole Grain Toast, Avocado, Rest Day (No 7.5 hours 500
Eggs Exercise)
06/01/2024 Spinach Salad, Grilled Chicken, 1 hour Swimming 6.5 hours 600
Walnuts
07/01/2024 Banana, Peanut Butter, Protein 30 min Jogging 7 hours 550
Shake
Semester 1 2022/2023

Table 4 - January 2024 Monthly Health Summary Reports

Total for
Health Parameter Week 1 Week 2 Week 3 Week 4
Month
Average Caloric Intake (Calories) 3650 1900 1500 1750 2200
Exercise Duration (Hours) 4.42 0.08 0.058 0.1 4.66
Average Sleep (Hours per Night) 7.21 6.5 7.5 8 7.25

January 2024 Health Summary:


Average Caloric Intake: Average Total caloric intake 2200 for the month of is in an
acceptable range.
Exercise Duration: The calculated monthly exercise duration of 4.66 hours and has met
the minimum recommended weekly exercise duration.
Average Sleep: The calculated monthly average sleep duration of 7.3 hours falls within
the recommended range of 7-9 hours per night for adults, indicating a reasonable sleep
pattern.

Deliverables:

A set of bug‐free program (c source code). LGNo_RegisteredGroupNo.c – eg:


LG12_Group01.c (LG – Lecture Group)

i. Project cover page


ii. Screenshots (sample run of your program) with explanation.
iii. Proof of discussion (WhatsApp or meeting record/pics).
iv. Flowchart
v. User manual
vi. Group presentation

Remarks:
• This project must be done in group of FIVE (5) or SIX (6) members;
• Plagiarizing will be penalized; no mark will be given;
• The project must be submitted through eleap.unimas.my (C source codes) as one zip
file and name it with your LectureGroupNumber_RegisteredProjectGroupNo, for
example “LG1_Group01.zip”. You must upload it to eleap.unimas.my by Monday,
15th January 2024, before 5.00pm;
• Any late submission will only receive 50% of the marks given for your program; and
• All projects MUST be presented and all group members should present during the
presentation session

You might also like