...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
...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
...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
...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
...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
...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
...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
...|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
...INFANT’S MILK Brand (Nestle) | Standard Preparation | Per scoop | Per 1000 ml | Descriptions | | | Calorie (kcal) | Protein (g) | Fat (g) | Calorie (kcal) | Protein (g) | Fat (g) | | 0-12 monthsLactogen 1 Infant Formula GOS FOS + DHA Gentle Plus700 g = RM 18.35 | Scoop size =4.47 g1 litre = 134 g formula + 900 ml water*Refer to Table 1 | 22.3 | 0.5 | 1.2 | 668.7 | 14.1 | 34.8 | Per 100 gCHO = 55.7 gDHA = 48.0 mgOmega 6 = 4.2 gOmega 3 = 515 mg | 6 months-3 yearsLactogen 2Follow up FormulaLcomfortis +DHA Gentle Plus700g = RM 17.70 | Scoop size =4.7 g1 litre = 141 g formula + 900 ml water7 scoops = 210 ml 3 times per day | 22.3 | 0.7 | 1.0 | 669.8 | 20.2 | 30.9 | Per 100 gCHO = 55.3 gDHA = 40 mgOmega 6 = 3.4 gOmega 3 = 420 mg | 1-3 yearsLactogen 3 GrowLcomfortis + DHAActiv Grow700g = RM 17.40 | 1 litre = 147 g + 900 ml waterServing size : 34 gPer serving : 233 ml = 34 g +210 ml water 1 scoop = 4.9 g = 30 ml7 scoops = 210 ml 3 times per day | 22.3 | 0.7 | 0.9 | 668.9 | 20.1 | 27.3 | Per 100 gCHO = 58.3 gDHA = 27 mgOmega 6 = 2.9 gOmega 3 = 385 mgCalcium = 787 mg | 3-6 yearsLactogen 4 KidLcomfortis + DHAActiv Grow700g = RM 17.40 | 1 litre = 147 g + 900 ml waterServing size : 36 gPer serving : 233 ml = 36 g +210 ml water1 scoop = 5.1 g = 30 ml7 scoops = 210 ml 2-3 times per day | 23.2 | 0.7 | 0.9 | 668.9 | 20.1 | 26.9 | Per 100 gCHO = 58.3 gDHA = 27 mgOmega 6 = 3.0 gOmega 3 = 385 mgCalcium = 712 mg | 1-3 yearsNAN GrowPro Grow, Optipro, Lipid Smart, DHA & ARA700g...
Words: 1139 - Pages: 5
...butter and jelly sandwiches, cereal with milk, fruit smoothies and turkey sandwiches. It is also important to continue to exercise to ensure that the weight gain is mostly muscle. In particular, resistance training will be an important factor for building muscle. Although it will take some time, the slower the weight gain, the more likely it will be to be muscle gain not fat or water gain. Losing Weight Weight loss is a more common goal than weight gain. Losing weight involves a negative energy balance. This can be achieved by increasing exercises and decreasing caloric intake. Determining Calorie Needs: What is Calorie? A calorie is defined as the heat required to raise the temperature of 1 gram of water 1 degree Celcius. Because this is relatively small amount, scientists use larger unit Calories (upper case C), also called a kilocalorie (abbreviated kcal). The Calorie or kilocalorie, is 1, 000 calories. Total energy expenditure (TTE) is the total number of calories of your body needs on a daily basis and determined by the following: . Your basal metabolic rate (BMR). . The thermic...
Words: 483 - Pages: 2
...Case 1.1: RunKeeper Discussion Questions 1. Which of the characteristics of successful entrepreneurs, discussed in this chapter, do you see in Jason Jacobs? To what degree do you think these characteristics have contributed to RunKeeper’s success? The characteristic that best describe Jason Jacobs is execution intelligence. Jason Jacobs was able to execute his business idea successfully. He raised money, developed a business model, and put a venture team of six persons. Jason Jacobs launched RunKeeper application in 2008. This application allows runners to track and share their runs. The execution intelligence that Jason Jacobs implemented to RunKeeper’s application has allowed his application to be one of the top selling apps in the ITunes store. Also, this application has more than two million downloads with a high retention rate. 2. To what extent do you think RunKeeper’s basic business idea “adds value” to the lives of its customers? Who is the ideal candidate to be a RunKeeper customer? RunKeeper creates to its customers an exemplary user experience. RunKeeper’s basic download is for free; this allowed its customer to enjoy of the basic features that RunKeeper offers to them. Customers can pay $10 dollars to upgrade to a premium service which offers additional features. The ideal candidates to be a RunKeeper customer are the runners and athletic people since they are interested in tracking their progress. 3. To what degree do you think it would be easy or...
Words: 616 - Pages: 3
...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
...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