Syntax of a common programming language

Assignment Help Programming Languages
Reference no: EM132619414

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: EM132619414

Questions Cloud

Why useful to the way think about arabic culture : What is the main theme of the reading (The contexts of the literary tradition Actions)? Why useful to the way you think about Arabic culture?
Compute the monthly financial advantage : If Product X is discontinued, compute the monthly financial advantage (disadvantage) for the company of eliminating this product
What are the consolidated inventory and apic balances : In the consolidated financial statements of Jarrod, what are the consolidated inventory and APIC balances
How important are standardized tools in a pmo environment : Can you name examples of organizations that are organized with a project focus? Can you name examples of organizations that are not organized with a project foc
Syntax of a common programming language : Explain the importance of programming style concepts (documentation, mnemonic names, indentation) and Write and implement a solution algorithm
Contemporary legislation-american trade : Within contemporary legislation, find two trade policies that may be considered controversial and discuss how these affect American trade
Discuss the practice of reheating leftover foods : Discuss the practice of reheating leftover foods, along with examples and justification of whether or not this belief is true or false
Explain ethical business practices from the perspectives : Explain ethical business practices from the perspectives of small and large organizations. What are the key differences (if any)?
What Level of Uncertainty is Stem Hong currently facing : Describe the risk profile in which organisations are considering their strategic risk. What "Level of Uncertainty" is Stem Hong currently facing

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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