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

  • Satisfactory Essays

    Sc235 Unit 4 Assignment

    • 440 Words
    • 2 Pages

    The heart is what some determine to be the most important organ in our bodies and one of the biggest contributors. It is one of the major organs that if we did not have, it would not be possible for us to live. The heart is about the size of a fist and is broken down into four chambers, the aorta, superior vena cava, pulmonary artery, and the coronary artery. The four chambers include the right and left atrium and the right and left ventricle. The heart is responsible for supplying oxygen and blood to the entire body. Blood passes through these four chambers and then exits and pumps into the rest of the body. The heart also has three layers of walls…

    • 440 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    I am the original owner of this document. Any changes required on this document please directly contact me first. I will provide further detail on this.…

    • 404 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The company I work for is a telecommunication company that delivers high performance connectivity for multinational clients, among other services we provide Internet Services, voice and unified communications and dedicated point to point connections between almost any point in the world.…

    • 314 Words
    • 2 Pages
    Satisfactory 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