Preview

Prg221 Team Assignmanet

Good Essays
Open Document
Open Document
500 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Prg221 Team Assignmanet
Learning Team X - Week 2 Assignment
The first phase of our team’s project is to develop a program that calculates the user’s daily caloric balance. The first phase of the program development cycle is to identify the tasks or requirements needed for the program. Below is a list of those activities that we have identified:
1. Get Name
2. Get Gender
3. Get Weight
4. Get Calories Consumed for Breakfast
5. Get Calories Consumed for Lunch
6. Get Calories Consumed for Dinner
7. Get Calories Consumed for Snacks
8. Get Time spent doing Heavy Activities
9. Get Time spent 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 = (name, age, gender)
2. GetCalConsumed = (Breakfast, Lunch, Dinner, Snack)
3. GetCalExpended = (time spend doing activities?)
4. GetHeartRate = (Heavy Activity, Moderate Activity, Light

You May Also Find These Documents Helpful

  • Powerful Essays

    Janet (taxpayer) residing in Australia is named as the sole beneficiary of a property (1.85 hectares) with a large homestead as a result of the death of a relative on 7/10/2010. The property is not used for commercial purposes and at the date of death, the property was valued at $1.45million. Settlement took place on 21/12/2010. After moving into the homestead shortly after taking ownership, she planned to take a one-year trip which she had been planning for some time in late 2011. The taxpayer felt that the homestead was far too large for her (she is single),…

    • 2094 Words
    • 9 Pages
    Powerful Essays
  • Satisfactory Essays

    According, to the Body Mass Index (BMI) this s an indicator that will help people determine a possible change for a longer life span than the average person, which mean they are most lightly to be overweight ,and not at all over weight, even a possibility to be obesity. The intervals come from each of the following numbers 17 to 22, 23 to 24,999, 25to 29.9 and 30. Now you can see 17 and 22 is in between. This is a compound inequality statement but rather than inclusive which mean that the 17< BMI is 30 can also be written as (30, +00). Although, I will calculate my BMI and explain the formula I used to back these number up with as my results. Many times other BMI can be very misleading, this reason I will prove. Now, I come to my final evaluation and the reasons why they “probably are not overweight” now to use the set and interval notations of numbers along with the simple graph chart of…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    The concerns here on Guam are very high, especially for full or half body to body contact sports. I know for sure football and rugby are the most popular contact sports held on Guam. There are other contact sports such as basketball and soccer. But the main thing is, the coaching staff on Guam should consider to really take the time to approach any type of injuries that occurs on and off the field. A good example would be the time I played basketball for the Southern High Dolphins my freshmen year. It was my first time trying out a sport in my first year of high school, we had our first game against the Simon Sanchez High School Sharks. I remember a contact that a buddy of mine had experienced as he was making a layup, the defender dipped under…

    • 355 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    drawing511

    • 329 Words
    • 10 Pages

    User 0.. * Friend 1 UserID (key) 0 ..* FriendID(key) 1 UserID1 UserID2 Date 1 Password…

    • 329 Words
    • 10 Pages
    Satisfactory Essays
  • Good Essays

    While making a program in .NET for commercial usages, there are many methods which are used to prevent reverse engineering and unauthorized usage of that particular program. While keeping the code 's functionality intact, the obfuscation methodology changes the coding in such a way that it becomes quite difficult even with tools to reverse engineer. Remember it becomes difficult not impossible to reverse engineer an obfuscated code. There are numerous ways and means to…

    • 793 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    LYT2 Task2

    • 4061 Words
    • 12 Pages

    Stein, S. S., Gerding, E. H., Rogers, A. C., Larson, K. K., & Jennings, N. R. (2011). Algorithms…

    • 4061 Words
    • 12 Pages
    Satisfactory Essays
  • Satisfactory Essays

    How To Start A Food Log

    • 331 Words
    • 2 Pages

    You can either write everything down or use an online log. Fitday, MyFitnessPal, Bodybuilding.com and other online platforms provide all of the tools needed to track your food intake.…

    • 331 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Diet and Exercise

    • 1027 Words
    • 5 Pages

    Cal and KJ are abbreviations for the terms Calories and Kilojoules; these terms are 2 different ways of measuring energy. It can be quite confusing though as often food is measured in kilojoules and exercise in Calories. This makes it tough to compare the two, however there is a way of transferring Calories into kilojoules, this is the method:…

    • 1027 Words
    • 5 Pages
    Better Essays
  • Good Essays

    A project report submitted in partial fulfillment of the requirements of Algorithms Design Course (ICS353) for the completion of degree of Bachelor of Science in Computer Engineering…

    • 624 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Once all the module are tested separately then One engineer with integrate all the modules into chip level design. This chip level design it tested by instantiated it in the chip level verification environment. This environment can be coded in VERA, E language and /or system C or system verilog.…

    • 2409 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    Module1 - Number systems and code. Number systems - Efficiency of number system, Decimal, Binary, Octal, Hexadecimalconversion from one to another- Binary addition, subtraction, multiplication and division, representation of signed numbers, addition and subtraction using 2’s complement and I’s complement. Binary codes - BCD code, Excess 3 code, Gray code, Alphanumeric code, Error detection codes, Error correcting code. Module II - Logic Gates and Boolean Algebra. Logic Gates - Basic logic gates- AND, OR, NOT, NAND, NOR, Exclusive OR, Exclusive NOR gates- Logic symbols, truth table and timing diagrams. Boolean Algebra - Basic laws and theorems , Boolean functions, truth table, minimization of boolean function using K map method, Realization using logic gates and universal gates. Module III - Combinational and Sequential Logic Circuits. Combinational circuits - Half adder, Full Adder, Parallel binary adder, Subtracter, Magnitude Comparator, Decoders, Encoders, Multiplexers, Demultiplexers, Parity bit generator, PLA. Sequential circuits - Flip Flops – RS, JK, T and D Flip Flops, Edge triggered Flip Flops, Master slave Flip Flops. Module IV - Registers and counters. Registers - Serial in serial out, Serial in Parallel out, Parallel in serial out, Parallel in Parallel out registers, Bidirectional shift registers, universal shift registers. Counters - Synchronous and asynchronous counters, UP/DOWN counters, Modulo-N Counters, Cascaded counter, Programmable counter, Counters using shift registers, application of counters. Module V - Introduction to computers. Basic components of a computer , I/O devices - Input and output devices, printers, Display devices, Scanners. Mother Board - components of mother board. Secondary storage devices Hard disk- components of hard disk, data storage in hard disk, disk geometry.CD Family, DVD.…

    • 325 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Wala Lang

    • 2802 Words
    • 12 Pages

    3.1 Calendar of Activities 3.1.1 Description of Activities 3.1.2 GANTT Chart of Activities 3.2 Resources 32 R 3.2.1 Hardware 3.2.1 Software…

    • 2802 Words
    • 12 Pages
    Powerful Essays
  • Good Essays

    Online Bus Reservation

    • 1113 Words
    • 5 Pages

    Method of solution (description of the approach to be used to solve the problem, including major algorithms and data structures to be employed…

    • 1113 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Teleimmersion

    • 4761 Words
    • 20 Pages

    under my guidance as in partial fulfillment of B.Tech Degree in Computer Science of SVKM’s MPSTME, Shirpur Campus, during the academic year 2010-2011 (Trimester VII).…

    • 4761 Words
    • 20 Pages
    Powerful Essays
  • Good Essays

    Attendance System

    • 14645 Words
    • 59 Pages

    Department of Computer Science and Engineering National Institute of Technology Rourkela Rourkela-769 008, Orissa, India…

    • 14645 Words
    • 59 Pages
    Good Essays