Introduction:
This document describes the first assignment for Problem Solving and Programming.
The assignment is intended to provide you with the opportunity to put into practice what you have learnt in the course by applying your knowledge and skills to a simple encryption technique and the implementation of a game called Two-Dice Pig.
This assignment is an individual task that will require an individual submission. You will be required to present your work to your practical supervisor during your practical session held in week 8 of the study period. Important: You must attend the practical session that you have been attending all study period in order to have your assignment marked.
This document is a kind of specification of the required end product that will be generated by implementing the assignment. Like many specifications, it is written in English and hence will contain some imperfectly specified parts. Please make sure you seek clarification if you are not clear on any aspect of this assignment.
Question:
Part I: Encryption
You are required to write a Python program that performs simple encryption and decryption on strings
entered by the user. To do so, you are to use one of the simplest and most widely known encryption
techniques known as the Caesar Cipher. The Caesar Cipher is named after Julius Caesar who used it
for private correspondence.
Part II: Two-Dice Pig
You are required to write a Python program that plays a game of Two-Dice Pig with the user.
Get It Done! Today
Every Assignment. Every Solution. Instantly.
Deadline Ahead? Grab Your Sample Now.