Component 1.9 Security and Data Management

Slides:



Advertisements
Similar presentations
 Wisegeek.com defines Data Compression as:  “Data compression is a general term for a group of technologies that encode large files in order to shrink.
Advertisements

Nat 4/5 - Software Design and Development – Low Level Operations - 1 National 4/5 – Computing Science Information Systems Design and Development Media.
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 14 Multimedia Networking.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
Lecture 10 Data Compression.
Task 01 – Explain how different types of graphical images relate to file formats, file conversions, formats and compression. Emily Riley.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Discovering Computers 2010 Chapter 2 The Internet and World Wide Web.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
Multimedia and The Web.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
1 CP Lecture 8 PC and Media exchange standards.
Common file formats  Lesson Objective: Understanding common file formats and their differences.  Learning Outcome:  Describe the type of files which.
Multimedia Specification Design and Production 2012 / Semester 1 / L3 Lecturer: Dr. Nikos Gazepidis
Digital Image Formats: An Explanation Guilford County SciVis V
BTEC National Level 3 Website Production. Lesson objectives To understand factors that influence website performance To understand factors that influence.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
File Size and File Formats. Digital cameras often save images in one of several formats: JPGBMPTIFFRAWOthers Most of these are unsuitable for use on the.
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Sound (analogue signal). time Sound (analogue signal) time.
Digital Image Formats: An Explanation Guilford County SciVis V
Information Systems Design and Development Media Types Computing Science.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Submitted To-: Submitted By-: Mrs.Sushma Rani (HOD) Aashish Kr. Goyal (IT-7th) Deepak Soni (IT-8 th )
Section 8.1 Section 8.2 Create a custom theme Design a color scheme
2.01 Understand Digital Raster Graphics
2.01 Understand Digital Raster Graphics
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
File Compression 3.3.
Arithmetic Shifts and Character Representation
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Lesson Objectives Aims You should be able to:
Image and Sound Representation
Vocabulary byte - The technical term for 8 bits of data.
Computer Science Higher
Data Compression.
2.01 Understand Digital Raster Graphics
Image Formats.
Lesson Objectives Aims You should know about: 1.3.1:
File Compression 3.3.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Associated Hardware and File Handling
3 - STORAGE: DATA CAPACITY CALCULATIONS
JPG vs GIF vs PNG What is the difference?
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
Data Compression.
Vocabulary byte - The technical term for 8 bits of data.
A computer display is made up of small squares, called pixels.
Data Compression CS 147 Minh Nguyen.
Chapter 3:- Graphics Eyad Alshareef Eyad Alshareef.
Digital Image Formats: An Explanation
Fun gym Cambridge Nationals R001.
Fun gym Cambridge Nationals R001.
short term and long term speed, capacity, compression formats, access
Web Design and Development
2.01 Understand Digital Raster Graphics
Storage Devices and Data Capacity
Working with images EIT, Author Gay Robertson, 2018.
Unit 1.3 Storage Lesson 2: Storing Data
2.01 Understand Digital Raster Graphics
Color and Images.
Lesson 5: Multimedia on the Web
Do Now! Convert the following sequence of bits into an image using the protocol we discussed (first 8 bits are lengthxwidth, Then fill in the rows pixel.
Computer Networks Lesson 4.
Utility Software compression; defragmentation; backing up; encryption Revision YouTube clip:
PRODUCTION PHASES CHANGES
GCSE COMPUTER SCIENCE Topic 3 - Data 3.9 Data Compression.
Exam Objectives: Identify Design Elements When Preparing Images
Presentation transcript:

Component 1.9 Security and Data Management Compression

Complete the Entry Ticket on Compression Starter: Entry Ticket Complete the Entry Ticket on Compression Extension: Explain using examples how video and image files can be compressed using lossy and lossless compression.

Learning Intentions and Outcomes To develop an understanding of how data is compressed to reduce the filesize Grade 4 Explain the term compression and its purpose Identify appropriate methods of compression for various digital products Grade 5-6 Explain using examples how lossy and lossless compression are used Explain using examples whether lost or lossless compression is the most appropriate for reducing the filesize of given digital products Grade 7 Analyse the importance of compression Evaluate scenarios to identify the best method of compression for a given digital product

Assessment Outcomes Explain how lossy and lossless data compression algorithms are used Calculate compression ratios

Starter Discussion Two types of compression: Lossy Lossless Lossy compression is used when it doesn’t matter if some of the quality is lost. For example a photograph or a video – you can lose a little quality and the product will still fulfil its intended purpose. Lossless compression is used when no information can be lost. For example when compressing the source code of a program! If you lost some of the source code the program may not function!

Starter Discussion The purpose of compression is to reduce the file size of a digital product. This may be so that it can be sent over a network quicker or so that it takes up less space on a hard drive.

Compression Purpose: Reduce file size Mostly used with sound, image and video file types Two types: Lossy compression (JPG, GIF, MP3) Lossless compression (PNG, TIF, SVG)

Lossy compression Permanently removes some data Recreates the file using the remaining data and uses algorithms to guess the removed content Uncompressed data is not the same as the original Would this technique work for compressing a computer program?

How lossy compression works Similarly coloured pixels are all made the same

Lossless image compression Finds groups of repeating data and records the data only once along with the number of times it was repeated = 12 x + 6 x When data is uncompressed it is restored exactly as it was in the original

Lossless text compression Finds patterns in the original text Encodes each pattern in a dictionary An eye for an eye, a tooth for a tooth . 0000 An_ 1 0001 eye 2 0010 _for_ 3 0011 an_ 4 0100 ,_ 5 0101 a_ 6 0110 tooth 7 0111

Lossless text compression 38 Characters including spaces = 38 bytes (assuming an 8-bit ASCII table is used) 48 bits = 12 bytes = 32% of original size (plus codes) . 0000 An_ 1 0001 eye 2 0010 _for_ 3 0011 an_ 4 0100 ,_ 5 0101 a_ 6 0110 tooth 7 0111 1 2 3 4 5 6 7 0001 0010 0011 0100 0101 0110 0111 0000

Transmission of data over IP Why use compression? Download speeds are increased Data allowances are reduced Voice can be transmitted fast enough to keep up with speech

Downloading a music track Dancing Queen by ABBA = 3m 51sec = 231 seconds MP3 quality = 128kbps CD quality = 1411kbps 231 x 128kbps = 29,568kbs / 1024 / 8 = 3.6MB OR: 231 x 1411kbps = 325,941kbs / 1024 / 8 = 39.79MB 11.5 times faster with a compressed file 36MB less download data used

Benefits of compression Smaller files = fewer packets = faster transmission Quicker to complete Reduces traffic over the Internet Less chance of collisions or transmission errors Improves download speed of video, sound (including speech used for VOIP systems) and image files Speeds up download of webpages that use images Reduces space on disk / servers Enables better streaming of music and video

Common file standards PDF – Fixed layout document that maintains its original appearance regardless of the software used to view it JPG – Lossy compressed files commonly used for website images GIF – Lossy compressed images using only 256 colours, used for simple web graphics PNG – Lossless compressed format using an alpha channel to preserve transparent backgrounds MP3 – Lossy music format

Grade 4: Compression Define the term compression Put the subtitle “Compression” in your book and answer the Grade 4 Exercises Extension Move on to the exam questions at the front of the room Define the term compression Explain the difference between the two compression techniques (lossy and lossless) Identify which compression technique is most appropriate for the following, giving examples to explain why for each: Source Code Word Document containing a Script for a film Database containing customer information Family photo from holiday – to be printed and put on a wall Selfie to upload to Facebook Short video clip to share on Instagram

Grade 5-7 Exam Questions Complete them Self Assess them Stick them in Bring them to me

Grade 8 Extension Look in the A-Level folder and complete the Grade D exercises about disaster planning and recovery.

Exit Ticket Complete the Exit Ticket and Stick it in your books.

Homework Graded Exercises Complete up to your Year 11 target grade in the graded exercises. Pre-Reading Pages 78-79 Lossy and Lossless compression