Demonstrate debugging and testing skills writing code

Assignment Help Programming Languages
Reference no: EM132409843

ITECH1400 Foundations of Programming Assignment - Biorhythms: Theory & Practice

Overview - In this assignment you will provide a Python script which will calculate the Biorhythms for any individual and present the data graphically using libraries and a common algorithm.

Learning Outcomes Assessed - The following course learning outcomes are assessed by completing this assessment:

K1. Identify and use the correct syntax of a common programming language.

K2. Recall and use typical programming constructs to design and implement simple software solutions.

K3. Reproduce and adapt commonly used basic algorithms.

K4. Explain the importance of programming style concepts (documentation, mnemonic names, indentation)

S2. Write and implement a solution algorithm using basic programming constructs.

S3. Demonstrate debugging and testing skills whilst writing code.

A1. Develop self-reliance and judgement in adapting algorithms to diverse contexts.

A2. Design and write program solutions to identified problems using accepted design constructs.

Assessment Details -

Theory -

Biorhythms were developed by Wilhelm Fließ, a colleague of Sigmund Freud, in the 19th century and were very popular in the 1970s (Troutman, 1978); despite criticisms they are still used today in fields such as work safety to sports performance (Arab, Omidvari, & Nasiripour, 2014; Habibi, Mohammadi, Ghanbary Sartang, & Zeinodini, 2016; Zareian, Rabbani, & Saeedi, 2014).

The theory underlying Biorhythms proposes that, from birth, three cycles: physical, emotional and intellectual affect our performance. Understanding these cycles can help to optimise our potential.

571_figure.png

Although there are many references available, the paper by Troutman (1978) has been attached as an early computer application.

(Spend a little time looking at the code at the end of this paper. Consider all the GO TO statements in the code and how it affects readability. Would this code be easy to modify? Debug? Compare this with the way we write code today - refer to the 3 structures given by Boehm and Jacopini in the additional material in week 1.)

Your main task is to develop a Python application that can display Biorhythms for any person given their date of birth and the target date. You should be able to provide the Biorhythms for a suitable spread around the target date as well.

Two algorithms to determine the day of any date have been provided - you are to implement one of these in a function which you call in your code to add the day of the week to your graph annotation.

Using a few carefully chosen dates, demonstrate that your day of the week function works correctly. (Here we don't use a Python library function for this so that you might better appreciate libraries.)

Practice -

The last stage is to apply the Biorhythm code that you have implemented. There are many ways to do this, for example:

Choose a favourite sports person - Roger Federer or Serena Williams for example. How were their Biorhythms in their last tennis match? Did they win? If not what were their adversary's Biorhythms like?

Take a celebrity - a famous actor - Clark Gable or Marilyn Monroe. Clark Gable had a heart attack on November 5, 1960 and died shortly after. What were his Biorhythms like around this time?

Biorhythms indicate that we are at our peak when all three curves are at their maximum. How often could we expect to experience this in our lifetimes? 10, 50 or 100 times or more? Modify your code to determine this.

Discuss your own ideas with your lecturer or tutor.

A report is to be submitted in this assignment. There is a discussion section in the report in which you can apply step 6 in the six-step problem solving process and ask the four questions often used in evaluating a solution.

Attachment:- Programming Assignment Files.rar

Reference no: EM132409843

Questions Cloud

What would you keep the same about the way race collected : Post your thoughts about the way the United States collects information about race and ethnicity on the Census form. In addition, what would you keep the same.
Part of the unburned marshmallow fell off before : How do the following experimental errors affect the final calculation of the kilocalories per gram for a food item. Be specific as to whether the final value
What is the empirical formula of the unknown compound : What is the empirical formula of the unknown compound? Insert subscripts as needed.
Discuss strategies that law enforcement officers can use : This week, you will read "The Case for Procedural Justice: Fairness as a Crime Prevention Tool." This article discusses strategies that law enforcement.
Demonstrate debugging and testing skills writing code : Recall and use typical programming constructs to design and implement simple software solutions and Explain the importance of programming style concepts
Discuss to what extent you were able to assess group goals : Evaluation of group processes: Identify the type of group. Discuss to what extent you were able to assess group organization and goals. Application of ethics.
Describe the methods used to test the hypotheses : A description of the purpose of the research, the hypotheses, and the methods used to test the hypotheses. A description of the variables that were measured.
Analyze your personal fit and suitability for the profession : Analyze your personal fit and suitability for the profession based on characteristics of effective counselors. Discuss the personal growth areas you identified.
Describe the variables used in the research : Describe the variables used in the research and how they were measured. Describe any assessments that were used. Discuss the types of reliability that were.

Reviews

Write a Review

Programming Languages Questions & Answers

  Unit 1 programming assignment problem

Unit 1 Programming Assignment help and solution, HND level 4, Assessment help - Determine the debugging process and explain the importance of a coding standard.

  Define a linear search

List all the steps used to search for 7 in the sequence given in Exercise for both a linear search and a binary search.

  Write function to compute average temperature for the month

Write the function, print_temps(), with same two parameters plus count of hot days. Print neat table of temperatures. At same time, compute average temperature for the month.

  Write program that inputs integers from keyboard

Write a program that inputs 20 integers from the keyboard and stores them in an array called A. You are then To: Output the numbers in the original input order.

  Design a class named rectangle to represent a rectangle

(The Rectangle class ) Following the example of the Circle, design a class named Rectangle to represent a rectangle. The class contains: Two double data fields named width and height that specify the width and height of the rectangle. The defa..

  Assume you have bought an old semi-furnished house and need

assume you have bought an old semi-furnished house and need to renovate it before moving in. generally renovation work

  Write program with procedure which draws shape

Write down program with procedure which draws a shape of your choice. Your program must then call the procedure 10 times to draw the shape at 10 random locations.

  Build a program for a shopping plazz

Build a program for a shopping plaza. Shopping store which allows its customers to shop in its showrooms. Peter england, levis, and kids kemp and finally generate the bill amount to be paid

  Build the program based on the skeleton code provided

YOUR TASKS - You are required to build the above program based on the skeleton code provided. You may define additional function if necessary

  Create a static variable called numemployees

Create a static variable called numEmployees that holds an int and initialize it to zero. This will allow us to count all the Employee objects created in the main class.

  Write a perl program that manage browser cookies

One of the main strengths of the Perl programming language is its support for text manipulation. In this assignment, you will use it for writing a Perl program that can manage a simplified version of the so-called "browser cookies".

  Features of object oriented programming

Write a 200- to 300-word short-answer response to the following: Describe the main features of Object Oriented Programming - Encapsulation, Inheritance and Polymorphism

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd