A Caesar Shift cipher is a type of mono-alphabetic substitution cipher where each letter of the plain text is shifted a fixed number of places down the alphabet. For example, with a shift of 1, letter A would be replaced…
In cryptography, frequency analysis is the study of the frequency of letters or groups of letters in a ciphertext. The method is used as an aid to breaking substitution ciphers (e.g. mono-alphabetic substitution cipher, Caesar shift cipher, Vatsyayana cipher). Frequency…
A mono-alphabetic cipher (aka simple substitution cipher) is a substitution cipher where each letter of the plain text is replaced with another letter of the alphabet. It uses a fixed key which consist of the 26 letters of a “shuffled…
For this challenge we will investigate how to create a 2D array to store the value from 1 to 100 in a 10×10 array. We will then write an algorithm to shuffle the content of this array. See the code…
Our aim is to implement a shuffling algorithm to shuffle a deck of playing cards. To do so, we will use a list called deck to store the 52 cards of the deck as follows: deck = ["Ace of hearts","2…
Boggle is a word game based on a 4×4 grid of 16 letters. Each time the game is played a new grid is generated. In the real game this is done by shaking a cube that contains 16 letter dice.…
Are you confident with your knowledge of network design concepts? Can you identify the purpose of the main network components used to set up a LAN or a WAN? You can find out more about key network design concepts on…
What3words is a geocode system used to communicate a location on planet Earth using only 3 words instead of using complex longitude and latitude coordinates. What3words have assigned each 3m square in the world a unique 3-word address that will…
String? In computer science, a string is a piece of text or a collection of characters. String Length? The length of a string represents the number of characters it contains. In pyhon you can use the function len() to find…
The purpose of this challenge is to write a Python program that will receive, as an input, a binary number expressed using a normalised floating point representation (using a 5-bit mantissa and a 3-bit exponent). The program will then calculate…