Option: Data Representation

Slides:



Advertisements
Similar presentations
Information Representation
Advertisements

Technology ICT Option: Data Representation. Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
1 A Balanced Introduction to Computer Science, 2/E David Reed, Creighton University ©2008 Pearson Prentice Hall ISBN Chapter 12 Data.
Bits and Bytes.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Higher Computing Data Representation.
Computing Higher - Unit 1… Computer Systems 1 Higher Computing Unit 1 – Topic 1 Data Representation.
Bits & Bytes: How Computers Represent Data
Representing Information Digitally. Digitization Initially transforming data for computer use Assigning people social security numbers The creation of.
Chapter 1 Data Storage(2) Yonsei University 1 st Semester, 2014 Sanghyun Park.
Representing Nonnumeric Data Everything is really a number.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Chapter 2 Computer Hardware
AS LEVEL ICT2 Processing Different Types of Information.
What is a computer? A computer is a device that:
Types of Data. Numbers Text Pictures Sound Video.
Marr CollegeHigher ComputingSlide 1 Higher Computing: COMPUTER SYSTEMS Part 1: Data Representation – 6 hours.
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Data Representation The storage of Text Numbers Graphics.
DATA REPRESENTATION CHAPTER DATA TYPES Different types of data (Fig. 2.1) The computer industry uses the term “MULTIMEDIA” to define information.
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.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Representing Characters in a Computer System Representation of Data in Computer Systems.
Processing Data. Representing Numbers  Recap on Binary Numbers  Binary digit (1 or 0) – known as a ‘bit’, short for BInary digiT – bits generally grouped.
Software Design and Development Storing Data Part 2 Text, sound and video Computing Science.
Millions of electronic pulses move through your computer every second. Computers are capable of processing thousands of functions in the time it takes.
Data Representation. In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers.
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.
Binary Representation in Text
Binary Representation in Text
Data Representation.
Image and Sound Representation
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
GCSE COMPUTER SCIENCE Data 2.2 Characters and Images.
Understanding binary Understanding Computers.
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Data Representation.
Data Representation.
Everything is a number Everything in a computer memory and on storages is a number. Number  Number Characters  Number by ASCII code Sounds  Number.
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Level 3 Extended Diploma Unit 19 Computer Systems Architecture
Computer Systems Nat 4/5 Data Representation Lesson 4:
Binary Representation in Audio and Images
Data Transfer ASCII FILES.
Intermediate 2 Computing
BITS & BYTES.
Data Representation ASCII.
Representing Nonnumeric Data
Folders out, planners out…
Images in Binary.
Representing Images 2.6 – Data Representation.
Ch2: Data Representation
Summer Term Year 10 Slides
BITS & BYTES.
Chapter 2 Data Representation.
Plan Attendance Files Posted on Campus Cruiser Homework Reminder
How Computers Store Data
Learning Intention I will learn how computers store text.
Option: Data Representation
Computer Systems Nat 4/5 Data Representation Lesson 4:
WJEC GCSE Computer Science
Chapter 3 - Binary Numbering System
Lecture 36 – Unit 6 – Under the Hood Binary Encoding – Part 2
Presentation transcript:

Option: Data Representation Technology ICT Option: Data Representation

Data Representation In our everyday lives, we communicate with each other using analogue data. This data takes the form of: Sound Images Letters Numbers Colours etc. This type of data can vary and because of this, it cannot be easily represented in a computer.  

Data Representation Computer - electronic device - handles binary data Transistors represent the binary data. Transistor is on - binary 1 Transistor off - binary 0. Using transistors, binary codes are devised to represent numbers, letters, colours, sounds etc. In this binary system, each 0 or 1 is called a binary digit (Bit). By placing them side by side, we can create binary codes 1 Bit 10 2 Bit 1011 4 Bit 10010011 8 Bit

Data Representation If we extend this system, we could use it to represent numbers. From the right-hand side, the binary digits could represent the numbers 128, 64, 32, 16, 8, 4, 2, 1 etc. Decimal Number Binary 12 1100 1 16 10000 2 10 32 100000 3 11 60 111100 4 100 1100100 5 101 111 1101111 6 110 156 10011100 7 185 10111001 8 1000 223 11011111 Decimal Number Binary 12 1100 1 16 10000 2 10 32 100000 3 11 60 111100 4 100 1100100 5 101 111 1101111 6 110 156 10011100 7 185 10111001 8 1000 223 11011111 Decimal Number Binary 12 1100 1 16 10000 2 10 32 100000 3 11 60 111100 4 100 1100100 5 101 111 1101111 6 110 156 10011100 7 185 10111001 8 1000 223 11011111 Decimal Number Binary 12 1100 1 16 10000 2 10 32 100000 3 11 60 111100 4 100 1100100 5 101 111 1101111 6 110 156 10011100 7 185 10111001 8 1000 223 11011111

Is there anybody there, said the Data Representation From the numbers example, we can see that the computer can handle data as long as it is presented in binary form. The analogue numbers have become digital data. If it was possible to create codes to represent all our analogue data, it would appear as groups of 0’s and 1’s and could be converted to digital data. The computer could then handle this data. This conversion process is called digitising data: RED Is there anybody there, said the traveller, knocking on the 101101001001000010010001000100001011010101010101111000101010101010001010011111001010100101010101010101010011100110010101111010100101010001010101001010010100101000100011

Data Representation Word-procressing is the most basic type of data processing. In Wordprocessing, the keyboard holds the character set which includes:   The alphabet in upper and lower case The numbers from 0 to 9 Misc. characters - space, &, %, £, €, ½, ? Etc. To digitise these characters, a sequence of 8-Bits (0’s and 1’s) is allocated to each character. This sequence of 8-Bits is called a Byte. A Byte is the amount of storage required to store one character from the character set.

Data Representation Therefore: It is possible to represent 256 characters using this system. A Byte sequence is assigned to each character on the keyboard and there are lots to spare for special characters etc. These Byte codes can be set in a table to produce the American Standard Code for Information Interchange (ASCII). If a character from the table is typed into the computer, it will occupy 1 Byte of the computers main memory (RAM) and if it is saved to a disk drive, it will occupy 1 Byte of storage space. Therefore:   T4 is 2 Bytes long Technology is 10 Bytes long Design and Communications Graphics is 34 Bytes long (the 3 spaces count)

Data Representation In the ASCII table, the bit sequences (codes) are listed in Binary and each code is named according to its Decimal value:   The 256 codes are divided into sections: 0 to 31 - System codes - Esc (27), Backspace (8) 32 to 127 - Lower ACSII - common keyboard characters. 128 to 254 - Higher ASCII - Newer codes like the € and language symbols

Data Representation When the computer keyboard is being used, the ASCII codes are sent to the computer as the characters are typed: 0101010000110100   The computer combines the stream of Bits into Bytes: 01010100 and 00110100 These are then converted to ASCII numbers (84 and 52) and displayed on screen: T4

Data Representation Not all data can be represented as characters To process images and sound in a computer, they must be represented as binary codes.   An image can be represented as a map of binary codes If the image is zoomed, the individual pixels can be seen as either black or white. In a black and white image, only 1 Bit is needed to represent each pixel as the pixel can only be black or white.  

Data Representation This is called a Bitmapped image as the bits used to represent the image are arranged into a grid of Bits A more complex image is shown below and the grid and map of Bits is clearly visible: The only difference between this and a colour image is the number of Bits needed to represent each pixel In 24-bit colour, 24 Bits are needed for each pixel etc

Data Representation Sound can also be stored in a computer as binary codes Analogue sound is represented as a wave. To represent the varying values of a soundwave, it’s height must be measured at regular intervals and the measurements given binary codes. This process is called Sampling and the number of samples taken in a second is called the sampling rate The sampled measurements make up the digital sound file Sampling rate Analogue signal Time Amplitude