By the end of this session you should be able to... Understand character sets and why these are used within computer systems. Understand how characters.

Slides:



Advertisements
Similar presentations
GCSE Computing#BristolMet Session Objectives#10 MUST define the term sample rate COULD explain how sound can be sampled and stored in digital form SHOULD.
Advertisements

WHAT’S THIS? ….. WHAT CHANGES? Uptown Funk 1 Uptown Funk 2. Uptown Funk 3.
Types of Computers & Computer Hardware Computer Technology.
Revision tip: Focus on the things you find difficult first.
An Introduction to Scanning and Storing Photographs and Graphics Bryn Jones Aug 2002
Representation of Data in Computer Systems
GCSE Computing#BristolMet Session Objectives#9 MUST identify the data needed for a computer to display an image correctly (metadata) SHOULD describe the.
© GCSE Computing Candidates should be able to:  explain the representation of an image as a series of pixels represented in binary  explain the need.
AS LEVEL ICT2 Processing Different Types of Information.
Agenda Last class: Memory, Digitizing Numbers Today: Digitizing: Text
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Do it now activity Can you work out what the missing symbols are and work out the order they should be in if the table shows smallest to largest KB kilobyte.
Marwan Al-Namari 1 Digital Representations. Bits and Bytes Devices can only be in one of two states 0 or 1, yes or no, on or off, … Bit: a unit of data.
COMP135/COMP535 Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 2 Lecture 2 – Digital Representations.
Representation of Data in Computer Systems
Revison Part three – some bits that aren’t explicitly mentioned in the spec.
Information Systems Design and Development Media Types Computing Science.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Lesson 6 Binary Understand what Binary Code means and apply this knowledge Understand how data is represented using bit systems and be able to change decimal.
OCR Computing OGAT Data Types. What OCR need you to know… Data Types a) Primitive data types, integer, real/floating point, character,
OBJECTIVE AND OUTCOMES Objective: To be able to create images in binary format and understand the part metadata plays in recreating images. Outcomes:
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Text and Images Key Revision Points.
Unit 2.6 Data Representation Lesson 3 ‒ Images
DATA REPRESENTATION - TEXT
Image and Sound Representation
GCSE COMPUTER SCIENCE Data 2.2 Characters and Images.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Data Storage and Compression.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
File Compression 3.3.
Data Representation.
Arithmetic Shifts and Character Representation
Lesson Objectives Aims You should be able to:
Denary to Binary Numbers & Binary to Denary
Image and Sound Representation
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Types of Computers & Computer Hardware
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
BTEC NCF Dip in Comp - Unit 02 Fundamentals of Computer Systems Lesson 10 - Text & Image Representation Mr C Johnston.
Multimedia: Digitised Sound Data
Intermediate 2 Computing
3 - STORAGE: DATA CAPACITY CALCULATIONS
CS Principles U2L3 Encoding B&W Images.
Data Encoding Characters.
Folders out, planners out…
Representing Characters
An Introduction to Scanning and Storing Photographs and Graphics
Data Representation.
Bitmap, Vector, Pixels, Resolution, Metadata.
Representing Images 2.6 – Data Representation.
Web Design and Development
1. Explain how ASCII is used to represent text in a computer system
Introduction to IT and Types of Computers
Topics Introduction Hardware and Software How Computers Store Data
Representing Sound 2.6 – Data Representation.
Do it now activity Last lesson we learnt about how images are stored on a computer. Can a computer decide what colours to use in an image? How does a.
Computer Systems.
Number Systems Instructions, Compression & Truth Tables.
Do it now activity Last lesson we learnt about how images are stored on a computer. Can a computer decide what colours to use in an image? How does a.
Learning Intention I will learn how computers store text.
Do it now activity Use the coloured pencils to complete the do it now activity. Stick in your book.
Recap In previous lessons we have looked at how numbers can be stored as binary. We have also seen how images are stored as binary. This lesson we are.
ASCII LP1.
WJEC GCSE Computer Science
ASCII and Unicode.
Presentation transcript:

By the end of this session you should be able to... Understand character sets and why these are used within computer systems. Understand how characters are represented in binary. Understand how images are represented in binary. Understand how sound can be sampled and stored in computer systems. Understand the need for compression and types of compression.

Good Practice Write the date at the top of a new page at the start of every lesson When you see the pen symbol, copy down what is on the board (you can put it into your own words). Your book will be checked regularly, it must be presentable. When you see the book symbol with a page number, you should turn to that page in your text book. Page: 00

Characters When you press a key on the keyboard, code is generated that is converted into a symbol. ASCII (American Standard Code for Information Interchange) is an industry standard. Unicode is an extension of ASCII but instead of 7 bits uses up to 32 bits

Task Find on the internet the Unicode and ASCII tables. Print them out and stick them in your book. You do not need to know these off by heart!

Python task Every character in Python makes use of ASCII codes. That is to say each character you use has a relevant code within a table. To see these codes we use ord and chr. So for example: print (ord(‘a’)) gives 97 and print (chr(97)) gives a. Have a go at using ord and chr in Python. Remember to print screen and annotate your work to be stuck in your book.

Python continued Now we know it is possible to find the reference number for an ASCII character in Python it is also possible to find the binary for this character. Task – type print(bin(ord(‘a’))) to see the binary for the letter a. Have a go at using bin ord and bin chr in Python. Remember to print screen and annotate your work to be stuck in your book.

Question Why is it useful to know the ASCII code and binary for a character? When might a computer programmer make use of ASCII codes? Think about the international nature and collaborative nature of modern program development.

These are the same?!

Well yes. Both of the previous images were made up of pixels A pixel is the smallest element on the screen that makes up the image The more bits per pixel, the greater the depth or range of colours

Metadata Metadata is information about the image data that allows the computer to recreate the image from the binary data in the file. This must contain the height and width in pixels and the colour depth in bpp (bits per pixel)

Task Using Software on the computer create different size images of different quality. Explain why these images have been different colour depths and resolution. Stick the images and write ups in your exercise book

Exam question How does the resolution of an image affect the size of the file? What do we mean by image size? What metadata is stored with an image file? If an image has its colour depth decreased what is the effect? How many colours can be represented using a 4-bit colour depth?

Sound Sound is represented in computers as binary just like images. It is the metadata that tells the computer what type of file it should treat the data as. Sound waves are analogue but computers work in binary, so peaks and troughs are converted into 1s and 0s The more times the computer samples the wave the larger the file will be.

Task Draw a sound wave in your book and show how a computer would represent this. What do you notice?

Instructions When a computer is instructed to run a program it is directed to the start address for these data instructions. A program instruction has two parts, the operator and the operand It is the operators job to tell the CPU what to do and the operands job to tell the CPU what to apply the instruction to.

Exam questions Why are there so few tracks on a typical audio CD? How does the sample rate affect the quality of the playback for an MP3 sound track? What effect does a high bit rate have on the number of sound files that can be stored on a CD? Explain how instructions are coded in binary in a computer. Explain how a computer distinguishes between instructions and data.

Data compression Imagine you have a very large file you wish to send over a network. We know that networks have a limited bandwidth, we also know people want things straight away! So compression of data is important if we want to send data more quickly and keep computer users happy!

Lossy and Lossless Compression Lossy compression involves removing some of the data from the file for compression. Lossless compression involves storing coded information about a file so it can be re-created later. Example: The = 1 cat = 2 and = 3 dog = 4 The sentence, ‘the cat and the dog’ could be 1,2,3,1,4 Page:

Compression task Think of as many reasons as you can and complete the table below. Lossy advantages Lossy disadvantages Reasons why you might use lossy Lossless advantages Lossless disadvantages Reasons why you might use lossless

Exam Questions 1.Explain why compression must be lossless when sending a computer program as an attachment. (2 marks) 2.Explain why vector images can’t be lossy. (2 marks) 3.Describe an advantage of lossy compression when sending images over a network. (2 marks)