Task Title: Sonnets and Doublets
Subject Code: ITECH1400_ Assignment 1 (Foundations of Programming)
Objective: Main objective of this task is to apply the concept of Python programming language for String processing related algorithm.
Overview: This task is distributed into two parts. The first part is related to the testing of authorship in the literature. The second part of this assignment deals with the concept of the word-ladder.
In the first assignment, students suppose to implement a framework for Authorship verification. Using the target framework Student must make a survey on the Sonnets written by Shakespeare. The authorship system must deal with the following parameters:
- Count the occurrences of each letter4 in the text.
- Print the number of one-letter, two-letter, three-letter words, and so on.
- Number of occurrences of each different word in the text.
In the second assignment, students suppose to implement a Python code which will generate word-ladder between a given pair of start and end word.
- Python 3.7: 3.7 version of Python is the latest. Both the program ware implemented using the Python 3.7 version.
- PyCharm: Edu version of the PyCharm IDE is used for this assignment. The IDE helps in Python resource management and code writing.
- Source: link:https://osf.io/c6af4/
- File name: sonnet_shakespeare .txt
- File format: ANSI Text file
- Data format: Sonnet number in roman digit followed by sonnet lines. Sonnet number is the separator between two sonnets.
Figure 1: Sample output of the Word-ladder program
Figure 2: Output of the Authorship testing program
Expert’s Comments: To solve this task efficiently, the student must have in-depth knowledge of Algorithmic analysis and Python programming. In our course, we will not only learn how to solve this problem uniquely but also learn the entire processes. This task was entirely new for this session (September 2019) and based on our support, our students active the best from their faculty.
ITECH1400 Foundations of Programming
CRICOS Provider No. 00103D ITECH1400 Assignment 2 Sem 2 2019 Page 1 of 5
Biorhythms : Theory & P r a c tic e
In this assignment you will provide a Python script which will calculate the Biorhythms for an y
individual and present the data graphically using libraries and a common algorithm .
Timelines and Expectations
Percentage Value of Task : 20%
Due: Friday Sept 27 , 2019 @ 17:00 (week 11 )
Minimum time expectation: 20 hours
Learning Outcomes Assessed
The following course learning outcomes are assessed by completing this a ssessment:
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.
Biorhythms were developed by Wilhelm Fließ , a colleague of Sigmund Fr eud, in the 19 th 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 Bio rhythms proposes that, from birth, three cycles: physical, emotional and
intellectual affect our perfo rmance. Understanding these cycles can help to optimise our potential.
CRICOS Provider No. 00103D ITECH1400 Assignment 2 Sem 2 2019.docx Page 2 of 5
Although there are many references available, the paper by Troutman (1978) h as been attached as a n early
(Spend a little time looking at the c ode 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 a dd itional material in week 1.)
Your main task is to develop a Python application that can display Biorhythms for a ny 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 algorithm s to determine the day of any date ha ve been provided – you are to implement one of
these in a function which you call in y our code to add the day of the week to your graph annotation .
(https://blo g.artofmemory.com/how -to-calculate -the -day -of-the -week -4203.html )
Using a few carefully chosen dates, demonstrate that your day of the week fu nction works correctly .
(Here we don ’t use a Python library function for this so that you might better appreciate libraries. )
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 the ir adversary ’s Biorhythms
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 a round this time?
Biorhythm chart over the first 66 -day period after birth (after Wiki)
CRICOS Provider No. 00103D ITECH1400 Assignment 2 Sem 2 2019.docx Page 3 of 5
Biorhythms indicate that we are at our peak when all three c urves 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
Discuss yo ur own ideas with your lecturer or tutor.
A report is to be s ubmitted in this assignment. There is a discussion section in th e 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 .
More details on academic reports are available - please refer to th is link :
https://federation.edu.au/current -students/learning -and -study/online -help -with/guides -to-your -assessments
There are three important parts
1. General Guide to Writing and Study Skills
This section describes the content of a report – refer to page 34 – Abstract, Table of Contents,
Introduction, Conclusion and so on .
2. General Guide to Referencing
APA referencing style is described in this se ction – EndNote is also available to students
3. Assignment Layout and Appearance Guidelines
This section describes how the report should app ear: m argin sizes, fonts , how diagrams and
tables are presented and so on .
While you are encouraged to research and discuss your work with colleagues, the final product must
be all your own work. (Screen shots of a debugger might be useful in explaining how your code
Any help must be acknowledged as well as any resource material.
CRICOS Provider No. 00103D ITECH1400 Assignment 2 Sem 2 2019.docx Page 4 of 5
You must supply your program source code files and your document ation as a single zip file named as
You may supply your word processed documentation in either Microsoft Word or
LibreOffice/OpenOffice formats only – no proprietary Mac specific formats, please.
Assignments will be marked on the basis of fulfilment of the requirements and the quality of the work.
In addition to the marking criteria, marks may be deducted for failure to comply with the assignment
requirements, including (but not limited to):
• Incomplete implementation(s), and
• Incomplete submissions (e.g. missing files), and
• Poor spelling and grammar.
You might be asked to demonstrate and explain your work.
Biorhythms Item Mark
Basic Description of Biorhythms – in your own
words - significant parts of the three curves
including their relationship to one another
Description o f Biorhythms as sine and
cosine curves – including the importance of
phase and amplitude e.g. critical days
Pseudocode for the calculation of
Graphical display with significant parts of
the curves labelled
CRICOS Provider No. 00103D ITECH1400 Assignment 2 Sem 2 2019.docx Page 5 of 5
Graphical Display Annotation of the curves with day and date
using the algorithm provided or suitable
algorithm – description of the algorithm in
your own words . Do not use library function.
Demonstration that correct day/date
annotation is implemented in code
Practical application of your Biorhythm
code . Discuss you individual approach with
your lecturer/tutor . /10
Report 1 /10
FINAL MARK /20
Feedback will be provided in lectures and labs as well as on Moodle
Plagiarism is the presentation of the expressed thought or work of another person as though it is one's
own without properly acknowledging that person. You must not allow other students to copy your work
and must take care to safeguard against this happeni ng. More information about the plagiarism policy
and procedure for the university can be found at http://federation.edu.au/students/learning -and -
study/online -help -with/plagiarism .
Arab, F., Omidvari, M., & Nasiripour, A. A. (2014). Investigating of the effect of Biorhythm on work -related Accidents
Journal of Health and Safety at Work, 4 (2), 51 -58.
Habibi, E., Mohammadi, Z., Ghanbary Sartang, A., & Zeinodini, M. (2016). Investigatio n Effect of Biorhythm on Work -
Related Accidents in the Metal Industry (A Short Report). Iranian Journal of Health, Safety and Environment, 3 (3),
Troutman, J. G. (1978). Biorhythms: A Computer Program. The Two -Year College Mathematics Journal, 9 (2), 101 -103.
Zareian, E., Rabbani, V., & Saeedi, F. (2014). The Effect of Physical Biorhythm Cycle on Some Physical Fitness Factors
of Adolescent Volleyball Players (Vol. 2).
1 https://federation.edu.au/current -students/learning -and -study/online -help -with/guides -to-your -assessments