Premium Essay

Calorie Management

In:

Submitted By dab742
Words 2262
Pages 10
Calorie Management by Team A

PRG/211 - Algorithms and Logic for Computer Programming
June 29, 2015

Calorie Management
With rising obesity rates all across the United States of America, the team felt that it was necessary to build a program that could help citizens make healthier decisions and track those decisions on a day-to-day basis. The team set out to create a program that could manage and track a person’s daily calorie expended as it compares to their calorie intake. This program allows the consumers of the application be more conscientious of the choices they make as to how often they workout and what they choose to eat.
To better help you as investors understand the proprietary nature of our application along with the ease of use for the end consumer, we will discuss each of these details along with future updates for this application. Not only will this application continue to improve the lives of those who use it, but it will become a social and cultural phenomenon that will contribute to bettering the lives of all those who need it. The mass appeal of this application is that it is not only a weight loss application, but also one for those who are already healthy. It will help to provide a way for the user to maintain his or her already good habits they have learned on their own or through use of the application
The Program The program will ask for specific information about the user’s calories consumed, and calories expended. The calories consumed will then be added together, and the normal calories burned, plus any additional calories expended will be subtracted from the calories consumed. A display will show the calories consumed, calories expended, and the difference between the two. The user will be able to see the daily results of their calories consumed versus calories expended. The application itself is made up of four

Similar Documents

Free Essay

Calorie Management Visual Logic

...During this week we discussed the various components and variables that will encompass the program overall. We have determined that the program will need to obtain various information from the user during the entirety of the program. This is not to just run the program, but to also make the experience more user-friendly. We have determined that we will need to acquire the user's name, calorie limit/goal, total caloric intake, and if exercise was done, the total amount of calories burned. With the information is acquired from the user we can formulate the amount calories the user has left to stay within their goal. From there, we can provide a message to provide encouragement or praise depending whether or not the user is staying within their given goal. Lastly, we have determined that we will also need a greeting, a farewell, and thank you messages to make the whole user experience much more approachable. Next, we are aiming to formulate and layout the logical flow. We are also aiming to write out the various tasks and subtasks to accomplish the program. The general pseudo code is as follows: Start Display greeting text Ask for user's name and create variable for user's name Acquire the user's caloric limit/daily goal Ask for the user's total intake for the day Ask the user if they exercised and receive calories burned Calculate if the user is over or under goal and display the remaining calories for the day Show encouragement if user is over their limit...

Words: 273 - Pages: 2

Premium Essay

Calorie Management

...PRG/211 Algorithm Planning for Calorie Management Algorithm Planning for Calorie Management 1. We need to analyze the program.              By determining the information we are given and what results we need to get. What information do we need to calculate the calories daily. What calories are in the food and beverages. How many calories are burned daily. What is the required balance per person.  2. Design a program to solve the program.             The heart of the program development process.  3. Code the program.             Write statements in a computer language that will design what we need in the program. 4. Test the program.  Make sure the program solves the given problem. Make sure we are able to calculate the user's daily calorie balance.  Determine the modules that will be needed in the program. User Intake – Breakfast, Lunch, Dinner, Snacks, Drink User Activity – Sedentary, Light Active, Moderate Active, Very Active, and Extremely Active Pseudocode for Calorie Management Input Data Module Write “What was your daily meal calorie intake?” Input calorieIntake Write “Select your daily activity” Input dailyActivity Calorie Caluctions Module Set Totalcalories = calorieIntake- dailActivity Output Module Write “Your total calorie intake is: `` + Totalcalories End This a simple pseudocode for the calorie management program. The key variable are calorieintake the...

Words: 372 - Pages: 2

Free Essay

Calorie Management

...Calorie Management Over the course of this class and the few weeks that encompassed this learning process, we have learned several different conceptual applications for the integration of algorithms within the infrastructure of a company. The idea of using an algorithm or a program to influence or benefit our daily lives is an obvious choice for an application. We cannot use a program to cure cancer, diabetes or other wide ranging diseases, but we can use it to help with weight management, the mastery of which can lead to several different areas of improvement. By creating a program that will aid in the eradication of obesity, we can go a long way towards improving the mass health of the worldwide human population. The obesity rate in America has become an epidemic. According to Forecasting Obesity in America, obesity rates in America could be up as high as 86.3 percent by 2030 and in 40 years every single American could be overweight (Bialik, 2008). Those numbers may be a bit outlandish, but they are not far off given the current state of our nation. With that said, weight management boils down to a simple question of "Are we taking in fewer calories than we are burning?" and “Are we truly taking action to manage our weight?” We need to figure out a way to let individuals see the true results of their daily calorie intake and help he or she see exactly what affect it is having on their overall health. By helping individuals see those results we can hopefully help...

Words: 2321 - Pages: 10

Free Essay

Calorie Management Program

...PRG/211 – Week 5 Team B – Algorithm Planning Visual Logic CALORIE MANAGEMENT PROGRAM Week 2 Algorithm Planning Week 3 Program Variables for Calorie Management Week 4 Verification & workaround for Calorie Management Week 5 Learning Team Assignment ****************************************************** About the Assignment Imagine that your team of software developers won a contract to develop a program that will identify whether a person is balancing calories consumed with those being expended or burned by taking the following into account:   The balance of calories is calculated daily. Calories are consumed in both food and beverages. Calories can be identified from both product labeling and calorie counters located on the Internet. Calories are burned daily in both daily living and exercise. Calories expended or burned can be calculated using calorie calculators located on the Internet. The balance of calories may be displayed in either calories or pounds and ounces. The following are examples of the information that might be provided: Calories are in balance. _ _ _ more calories are consumed than expended. _ _ _ more calories are expended than consumed. No pounds/ounces were gained or lost. _ pounds _ _ ounces may have been gained. _ pounds _ _ ounces may have been lost. Use the following computation: One pound equals 3500 calories. THE PLAN Identify the criteria TEAM B will need to develop the required software. To do this, Team B must...

Words: 1400 - Pages: 6

Premium Essay

Calorie

...Calorie Management Solution Christopher Chioma, Matthew Duka, Jenelle Stallings, Partick Akina PRG/211 May 27, 2014 Julian Ammons Calorie Management Solution Introduction Development teams and programmers acquire the knowledge of writing code to enhance the power of computers to solve problems and perform various tasks (Trott, 2004). Research shows good communication with customers and organizations ensures a meticulous understanding of a distinct problem. Subsequently a program can be designed to meet needs and expectations of customers and organizations (Trott, 2004). Successfully solving problems with program software requires planning, analyzing, and program management to ensure all aspects of the problem meet the required expectations. I believe planning your program following the program development cycle, will enable you to use your time efficiently thus helping design error-free programs that produce the desired output. In the development cycle a programmer needs to first understand the problem by a extracting the requirements or requirements specification (Bronson & Rosenthal, 2005). The programmer then needs to analyze requirements using the information given to provide a repeatable, predictable process that improves productivity and quality results. Then coding takes place by writing statements in computer language to carry out the program design (Bronson & Rosenthal, 2005). After the program has been implemented software testing or validation phases...

Words: 1551 - Pages: 7

Free Essay

This Taste Good, It Must Not Be Healthy

...symbolize heaven and the sweetness of this treat. The chunks of chocolate are just a bonus to the ad, as chocolate is lovable by a majority of people. This ad has a lot of components and bright colors, but they all catch the attention and make the reader want and crave a perfectly sweet, delightful light snack that is also healthy to eat. The company did a fine job sending out the message to all ages and both sexes. First, Special K is a well-known brand to eat for low calorie, healthy snacks and breakfast items. When buying this product, the customer is aware of the motive of this brand. The ad shows that you can eat something that is not bad for your body but still tastes delicious. The Aristotelian Rhetorical Technique used behind this is pathos. It gives the feeling of satisfying ones cravings without it being horrible to the body, or gaining any weight. The value is health, and the ad is saying you can still have great health even if you buy this product and eat it. In addition to the low calorie snack, the ad shows a lot of red and pink colors, along with hearts, flowers, birds, balloons and even two baby angels. The colors are pretty, and symbolize fun and make the reader...

Words: 890 - Pages: 4

Premium Essay

Submissionm

...Topic: Why Dieting Makes you gain weight. Thesis: Dieting unfortunately can make you gain weight depending on many factors. There are a lot of positives for sticking to a diet but mainly there can be a lot of negative outcomes if you do not follow a diet the correct exercise and calorie intake you could find yourself gaining weight while doing the diet you are on. There are a multitude of different dieting plans, some more effective than others. Which is why some plans may or may not work the way you like. Main topic one. Dieting Can easily have negative influences on the way you exercise. Most diets will always require some form of cardio to be able to get the best results. Exercise is always key to be able to produce good results without gaining weight from improper dieting. Main topic two. Gaining weight during a diet is also due to the fact of the inconsistency of eating too much. Eating too little can cause other health related problems like catabolism. This happens when your body looks for other sources on food that hasn’t been eaten say your vital organs or muscle. Some studies show that you need at least 1200 calories per day for women and 1800 a day for men. Eating high calories can be harmful if you don’t exercise with it. Diet and exercise and necessary to not gain weight. Main topic three. There are many different types of diets that help with different circumstances on how you want to take care of your body. Being said the diet “keto” seems to be...

Words: 366 - Pages: 2

Free Essay

Diet Plan

...|Trains How often | | |Weight | |Trains How Much | | |Gender | |Type of Training | | | | |Time of Year | | |Calorie expenditure training day |Calculation |Total | |BMR |13.4 X BW + 692 | | |Training details...

Words: 264 - Pages: 2

Free Essay

Dbm 380 Ltwk2

...doing Moderate Activities 10. Get Time spent doing Light Activities 11. Get Time spent at Rest 12. 12. Define heavy activity Heart Rate 13. Define moderate activity Heart Rate 14. Define light activity Heart Rate 15. Define Heart Rate when at rest 16. Calculate Total Calories Consumed 17. Calculate Total Calories Expended 18. Calculate Calorie Balance 19. Convert Calorie Balance to Weight Gain/Loss 20. Display Total Calories Consumed (the result of the calculation in step 16) 21. Display Total Calories Expended (the result of the calculation in step 17) 22. Display Calorie Balance (the result of the calculation in step 18) 23. Display Weight Gain/Loss (the result of the calculation in step 19) Next, from the list of activities, we can now determine the modules that will be used in the program: 1. Get Personal Information 2. Get Calories Consumed 3. Get Calories Expended 4. Define Constants (Heart Rates) 5. Calculate Total Calories Consumed 6. Calculate Total Calories Expended 7. Calculated Calorie Balance 8. Convert Calorie Balance to Weight Gain/Loss 9. Display Results From this information we can then design a top-level algorithm for each of the modules: 1. GetPersonal =...

Words: 500 - Pages: 2

Free Essay

Prg/211 Calorie Count Tool

...Team B Calorie Count Tool PRG/211 May 5, 2014 Team B Calorie Count Tool PROBLEM STATEMENT Team B was asked to develop a program which would calculate the user’s daily intake of calories and measure those calories against the overall calories expended. The core purpose of this program will do two primary functions. First, it will record the user intake of calories as acquired through meals throughout the day. Second, the user will record caloric output associated with physical activity. This information will be calculated together to determine the caloric surplus or deficit for the user. In order for the program to execute accurately, and provide customized results, the user will be required to input personal data to include gender, age, weight, and height. This additional information is essential to determine the user’s default caloric burn rate, otherwise known as the basal metabolic rate (BMR). The BMR and the calories burned as a result of physical activity will be calculated against the intake of calories to determine the overall success for the user. As the program is executed it must: * Record user name, age, height, weight to enable more accurate calculations * Record the users specific caloric values entered for each meal * Record the user activity and caloric burn values for that activity * Calculate the basal metabolic rate (BMR) for the individual * Subtotal the total caloric values for the day * Combine the physical activity and...

Words: 1524 - Pages: 7

Premium Essay

Workout Statistics

...Feel the burn Which workout is best for you? Andy Darling is your guide Saturday 15 January 2005 The Guardian 1: Jogging/running The simplest yet most effective exercise in terms of caloric expenditure, because it's an entirely weightbearing activity, requiring greater energy output than if you were seated or supported by water. Softer surfaces require harder work and result in still higher caloric expenditure. Great for fat burning, and for the cardiovascular system (heart and lungs). Not so good in terms of muscle toning and flexibility. Can cause too much stress on knee joints, particularly on uphill runs. Calories burned in 30 minutes: Approximately 340 jogging, 560+ running 2: Pilates Created in the mid-20th century by Joseph Pilates, it uses mat and machine work to develop body awareness. It also teaches you how to use muscles more efficiently, bringing together strength and flexibility, two factors that don't always sit easily together. Great for instilling a sense of "how to move" and to hold oneself . Not so good in terms of calories burned. Calories burned in 30 minutes: Approximately 140 3: Indoor rowing An integral training aid for the multi-medalling GB water rowing crews, the Concept2 ergometer - "erg" for short - has given rise to a sport in its own right, with competitions around the world. Some come to it because their days of weight-bearing activity (ie running) are over, others use it for cross-training, burning nearly as many calories as running...

Words: 883 - Pages: 4

Premium Essay

6.03 Calories Lab

...Energy comes in a variety of forms: light, heat, motion, electricity, and so forth. The energy stored in food is measured in units of Calories. A Calorie is defined as the quantity of heat it takes to raise the temperature of 1 kg of water 1°C. (Don’t confuse Calories with calories: 1Calorie = 1000 calories – Tricky!) The energy in food is seen as heat because the energy is released as heat when food is combusted (or burned). Complete combustion results in the production of energy, carbon dioxide and water. Look for evidence of these products during the lab. In this lab, you will measure the amount of energy in calories in two types of nuts: peanuts and almonds. The accepted values for these nuts are 5180 calories/gram for peanuts and 5470 calories/gram for almonds. When you eat nuts, the energy in the nuts is...

Words: 504 - Pages: 3

Premium Essay

Important

...Combined heat and power (CHP) can offer a variety of economic benefits for large energy users. The economic benefits of CHP can include: * Reduced energy costs: The high efficiency of CHP technology can result in energy savings when compared to conventional, separately purchased power and onsite thermal energy systems. To determine if CHP is likely to offer a compelling return on investment at a particular site, the costs of the CHP system (capital, fuel, and maintenance) should be compared to the costs of purchased power and thermal energy (hot water, steam, or chilled water) that would otherwise be needed for the site. * Offset capital costs: CHP can be installed in place of boilers or chillers in new construction projects, or when major heating, ventilation, and air conditioning (HVAC) equipment needs to be replaced or updated. * Protection of revenue streams: Through onsite generation and improved reliability, CHP can allow businesses and critical infrastructure to remain online in the event of a disaster or major power outage. Determining the economic value of CHP as backup power is explored in the white paper, Calculating Reliability Benefits. * Hedge against volatile energy prices: CHP can provide a hedge against unstable energy prices by allowing the end user to supply its own power during times when prices for electricity are very high. In addition, a CHP system can be configured to accept a variety of feedstocks (e.g., natural gas, biogas, coal, biomass)...

Words: 602 - Pages: 3

Premium Essay

Case Study Aku

...amount of the fiber, which do not contribute to the calorie, had been deducted from the amount of the carbohydrate stated in this Food Calorie List (except for the “Vegetables”, where the amount of the fiber is stated in the parenthesis). 2 – Kcal/g is the value of calorie in 1g of the particular food. The value tells you the calorie density of the food; the higher the value, the denser calorie the food has. 3 – There are 2 ways of determining the calorie of the food using this Food Calorie List: ◦ Using the recommended serving size given, then refer to the respective calorie value stated in the “Calorie (Kcal)” column. ◦ Using Kcal/g as a factor. For example, if you weigh the Mee Kari using a kitchen scale and the weight is 100g (without the bowl's weight), therefore the calorie of the weighed Mee Kari should be 0.77 x 100g = 77kcal (Notice that 0.77 is the Kcal/g of the Mee Kari). Panduan Pengguna 1 – Kandungan serat (tidak mempunyai nilai kalori) telah pun ditolak daripada jumlah karbohidrat yang dinyatakan dalam Food Calorie List ini (kecuali kategori “Vegetables”, yang mana nilai seratnya dinyatakan dalam kurungan). 2 – Kcal/g adalah nilai kalori bagi 1g untuk sesebuah makanan. Ia memberitahu pengguna akan kepadatan kalori makanan tersebut. Semakin tinggi nilai Kcal/g, maka semakin padatlah kalori dalam makanan tersebut. 3 – Terdapat 2 cara dalam menentukan nilai kalori sesebuah makanan menggunakan Food Calorie List ini: ◦ Dengan menggunakan saiz hidangan yang...

Words: 4568 - Pages: 19

Premium Essay

Supertracker

...| | | | | | | | | | | | | | | | | ...

Words: 785 - Pages: 4