Thursday 29 January 2015

Encryption January 29th and 30th

Encryption

This lesson and next lesson we are going to explore encryption in more detail:

Task 1
Make sure that you have the following definition
A  key is used to encrypt plain text into meaningless cipher text, the same key is used to decrypt the data back into its original form. Only someone who knows the key can decrypt the cipher. If you don’t have the key you need to crack the code.
Task 2
Watch the following film about the Enigma machine.  Afterwards in your own words try to write a summary of how it works.

Use the YouTube video ‘158,962,555,217,826,360,000’ to introduce the Enigma machine: http://www.youtube.com/watch?v=G2_Q9FoD-oQ

Task 3

Introduce the Codebreaker challenge: http://turinggame.sciencemuseum.org.uk. Pupils to work in pairs to tackle the challenge.


Homework:  Last week you created a Caesar Cipher.  Your task this week is to create your own cipher.   You will need to show how it works.  It must be secure but also you must show how to translate the enciphered text back into plain text. This can be done in 
Post your answers to the blog by Thursday 5th February at 5.00pm

Task 4
First of all let’s look at the following video about the Caesar Cipher.  Make sure that you have a short description of how the Caesar Cipher works.
Try to send some messages to your partner using the Caesar Cipher
TASK 5

Use a Caesar cipher to decode and encode these messages.
Plain text
Shift
Encrypted text
THE ENIGMA MACHINE WAS INVENTED BY THE GERMANS
+3

COLOSSUS WAS THE WORLD’S FIRST DIGITAL COMPUTER
+4


+5
YMJ HFJXFW HNUMJW NX FS JCFRUQJ TK WTRFS NSLJSZNYD

-3
QEB HBV FP EFAABK RKABO QEB CILTBO MLQ
Task 6
With a partner, produce a step-by-step guide to using a Caesar cipher to produce an encoded message.
Task 7

Produce a step-by-step guide to decrypting messages that have been encoded using a Caesar cipher.

Thursday 22 January 2015

Encryption




Learning Outcomes

Understand the need for data encryptionUnderstand how a Caesar cipher algorithm works


Starter


Crack this code:

WKH WUHDVXUH LV KLGGHQ XQGHU WKH SDOP WUHH 

Clue W=T

Task 1

Write a definition of encryption

Resources
http://www.codesandciphers.org.uk/enigma/index.htm
http://www.teach-ict.com/technology_explained/encryption/encryption.html

http://www.richkni.co.uk/php/crypta/freq.php







January 22nd Run length Encoding Co:mpression






Today we are going to complete some exercises on  Run Length Encoding (RLE)


Homework   AJT

By next lesson RESEARCH and make a CAESER cipher.


Task 1

In your books or in your Google doc write a definition of RLE.  Include the source

Task 2
Use the Run Length Encoding Calculator to encode these text strings.
Text string
Answer
AAAABBBBBBBBBCADDDDEEFFFFFFFF

ABCABCABCABCABCABCABCABCABCS

BBGGYYAACCFFEEBBGGYYAACCFFEE


Which one compresses the most?

Why is this?

Describe in English the process the RLE calculator follows to encode a piece of text.





Task 3
An RLE compression algorithm works by removing repeated data and replacing it with a number representing the run length of that item.
·         Fill in the gaps to complete this algorithm.
1. Start with the first character in the string.
2. Write down the number 1.
3. Compare the first character with the next character on the right.
4. If they are the same, ___________________________________.
5. If they are not the same, ________________________________.
6. Move on to the next character on the right.
7. Go back to step 2 and repeat until you reach the end of the string.
8. _____________________________________________________.
Task 4

        Test out the algorithm using these data strings:

o   AAAABBBBBBBBBCADDDDEEFFFFFFFF
o   ABCABCABCABCABCABCABCABCABCS

o   BBGGYYAACCFFEEBBGGYYAACCFFEE





































Thursday 15 January 2015

January 15tth Lossy and Lossless Data


Lesson 3 Lossy and Lossless Data







Today's worksheet can be found at this area:

https://docs.google.com/a/gillotts.org.uk/document/d/12qRZ_FHdQJMOldtY8qNcf-W9TLtdEEo41EwINjLi1U0/edit



Homework CAJT 23rd January

Read through and complete the following worksheet:


http://csunplugged.org/sites/default/files/activity_pdfs_full/unplugged-03-text_compression.pdf




Thursday 8 January 2015

January 8th and 9th: Bitmaps and Compression







Learning Objectives

You will learn to:





Task 1:

The first task today is to ensure that you have notes in your yellow notebooks on Bitmaps and Compression.  We will look at the Teach-ICT.com resources:

http://www.teach-ict.com/gcse_computing/ocr/214_representing_data/bitmap/miniweb/index.htm


ENSURE THAT THESE NOTES ARE COMPLETE BY NEXT LESSON

EXTENSION AND HOMEWORK

1. Examine the files  A, B and C which can be found at:

Student shared/Subjects/Creative Technologies/GCSE Computing/Activity 1:1

2. Next complete the following questions:


Activity 1.1
Fill in this table to help you see what a difference compression makes to file size.

File A
File B
File C
How many characters does the file contain?



What type of content does the file contain?



What is its file size before compression?



What is its file size after compression?



What is its compression ratio (decompressed size/compressed file size)?




Which file compresses the most? Explain why.














Monday 5 January 2015

January 5th

January 5th Compression and Encryption

Go to the following worksheet

https://docs.google.com/document/d/1ZtlWYQwi7nDsKEV4dplkhBLyN0qWi7od2qrjbM7BUZk/edit


Save in your area.  

We are going to work on this today.