Explain the importance of programming style concepts

Assignment Help Other Subject
Reference no: EM132628266

ITECH1400 Foundations of Programming - Federation University

Assignment: Caesar Ciphers & Turtle Graphics

Learning Outcome 1: Identify and use the correct syntax of a common programming language.

Learning Outcome 2: Recall and use typical programming constructs to design and implement simple software solutions.

Learning Outcome 3: Explain the importance of programming style concepts (documentation, mnemonic names, indentation).

Learning Outcome 4: Utilise pseudocode and/or algorithms as a major program design technique.

Learning Outcome 5: Write and implement a solution algorithm using basic programming constructs.

Learning Outcome 6: Describe program functionality based on analysis of given program code.

Application of knowledge and skills

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

Part one - Caesar Ciphers

In this part you are to develop a Python application that will encrypt text from a file and also, given the key, decrypt text from a file. We shall use an easy cipher.

Shift ciphers, also known as Caesar ciphers, are obtained as follows:

2379_figure.jpg

 

Now the word COAL becomes FRDO - in this case, we have encrypted using a key of 3.

In the encryption mode, your application should ask the user for a filename which contains the plain text and the key to use for encryption. The decryption process is similar, but this time, the filename contains the encrypted text and when we give the key your application should return the original text (the arrows, shown above, go the other way).

Ideally your application should be able to handle single words, sentences, paragraphs and even whole books2.
You need to demonstrate your application and show that it is working correctly by using tests that you design.

Part two - Your Name in Turtle Graphics

Turtle graphics is built into the Python language and there are many resources freely available3. Here are some sample images:

2088_figure1.jpg

Although you must use Python 3 in this assignment, you have creative licence in doing this application - if you are unsure, please ask your lecturer/tutor.

As an example, something like this:

would just be a bare pass.

It is suggested that you develop your code starting from pseudo-code and then incrementally make it better. You are also asked to keep a journal; it is useful in confirming ownership of your work and, in case you don't reach your final goal it demonstrates your journey. The journal can consist of hand-written notes, diagrams, drawings, code-fragments, screen-shots and so on - put your journal in an Appendix - these pages are not counted in your report.

Throughout this assignment you are expected to apply and demonstrate the six steps of problem solving.

You might be asked to demonstrate, discuss or modify your work.

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.

This is an INDIVIDUAL ASSIGNMENT - and while you may discuss it with your fellow students, you must not share designs or code or you will be in breach of the university plagiarism rules.

Attachment:- Caesar Ciphers.rar

Reference no: EM132628266

Questions Cloud

What sort of financial structure would you recommend : You are responsible for the request for proposal (RFP) department in an MCO. Several employers have come to you looking for health insurance benefit offerings.
Discuss a time when god placed you in a situation : Discuss a time when God placed you in a situation that was different than where you thought you would be. How did you react? What was the outcome?
How to address advantage of a business opportunity : In a few points summarise how to address the problem or take advantage of a business opportunity. Organizational or industry impact.
Identify best practices and vulnerabilities in the work : Review the example of John James and the Minnesota Department of Revenue in Chapter 3 in the Public Value Scorecard textbook. Identify best practices.
Explain the importance of programming style concepts : Recall and use typical programming constructs to design and implement simple software solutions and Write and implement a solution algorithm using basic program
Describe in detail what are your options : You're the HR manager for a 24 X 7 call center. Part of your application process requires candidates to declare their ability to work varying work schedules.
Evaluate the code of conduct of levi strauss : Theresa and Mike understand that building the culture they envision requires effective communication, collaboration, and participative problem solving.
Analyze the auditor responsibility : Analyze the auditor's responsibility to determine whether a company can continue as going concern. From your analysis, propose at least two key factors auditor
What will be effects in the tax basis of transferred assets : What will be the effects in the tax basis of the transferred assets if §351 does apply? Does §351 apply to the proposed incorporation?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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