Computer Systems Nat 4/5 Computing Science Data Representation

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

Computer Systems Nat 4/5 Data Representation Lesson 4: Storing Graphics.
assumes basic arithmetic
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Computer Logic Distinction between analogue and discrete processes and quantities. Conversion of analogue quantities to digital form. Using sampling techniques.
Computer Storage & Representing Numbers CE 311 K - Introduction to Computer Methods Daene C. McKinney.
Data Representation Int 2 Computing Unit 1 – Computer Systems St Kentigern’s Academy.
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
OBJECTIVES  Explain why a computer represents data in the form of binary  Explain the terms related to data storage: bit, byte, character, word  Calculate.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
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.
Computer Systems Nat 4.5 Computing Science Data Representation Lesson 4: Representing and Storing Graphics EXTENSION.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Thursday 8 th October, 2015 Information Technology Fundamentals of Hardware & Software.
Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
Lesson Aim (Data representation) To be able to: Convert B/D & D/B Convert D/H & H/D Convert H/B & B/H Perform simple binary arithmetic Represent a number.
 Computers are 2-state devices › Pulse – No pulse › On – Off  Represented by › 1 – 0  BINARY.
Number Systems Part 2. Counting in Binary DecimalBinary
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
Bits & Bytes Why computers use binary. Analog Signals Analog signals : constantly changing values – Difficult to make precise.
Starter Using two’s Complement form convert the following from Denary to Binary using 8 bits. Answer on mini whiteboard Using two’s.
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Nat 4/5 Computing Science Lesson 1: Binary
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Fundamentals of Computer Science
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
Objectives Today: P4 Data Types – Floating Points P4 Variable Quiz P3 Iteration and Selection Practical Are you logged on? Then come around the table Unit.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Storing Graphics Nat 5 Data Representation Lesson 4a: Storing Graphics
Computer basics.
© 2003, Cisco Systems, Inc. All rights reserved.
Data Representation.
Lesson Objectives Aims You should be able to:
How do Computers Work ?.
Computer Systems Nat 4/5 Data Representation Lesson 4:
Recap Add these numbers together in binary
Lesson Objectives Aims
Numerical Representation
Memory Parts of a computer
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
3 - STORAGE: DATA CAPACITY CALCULATIONS
STORAGE DEVICES Towards the end of this unit you will be able to identify the type of storage devices and their storage capacity.
Denary to Binary Numbers & Binary to Denary
इंट्रस्टिंग बनने के लिए आपको इंट्रस्टेड होना पड़ेगा।
Working with Powers Definition of Powers Integer Exponents
How do computers work? Storage.
Numerical Representation
Fundamentals of Data Representation
Computer Systems – Unit 1
Data Representation – Numbers
Numerical Representation
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Why computers use binary
Binary System.
Representation of real numbers
Computer Systems Nat 4/5 Data Representation Lesson 4:
AS Level ICT Selection and use of storage requirements, media, and devices: storage and storage capacity Unit 1 Topic a - Selection and use of storage.
Numerical Representation
Presentation transcript:

Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation

REVISION What are two advantages of using the binary system? Convert the number 56 into binary Convert the following binary number into decimal: 1100 1100

ANSWERS Less rules of arithmetic Easy to represent two values Voltage loss = no loss of data 56 = 0011 1000 1100 1100 = 204

Lesson Aims By the end of this lesson all pupils will be able to List storage terms in ascending order: Bit, Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte Convert to and from bit->Petabyte

Lesson Aims – N5 By the end of this lesson all pupils will be able to Describe what is meant by floating point representation Use and explain the terms mantissa and exponent

Storage Terms Which is bigger, pennies or pounds? Nat 4/5 Storage Terms Which is bigger, pennies or pounds? It is important to be able to sort terms into the correct order. If buying a phone would you take a 512Mb version or a 4Gb version? Why?

Higher up = bigger Storage Terms Petabyte (Pb) Terabyte (Tb) Nat 4/5 Storage Terms Petabyte (Pb) Terabyte (Tb) Gigabyte (Gb) Megabyte (Mb) Kilobyte (Kb) Byte Bit x1024 x1024 x1024 x1024 x8 Higher up = bigger

Converting Between Terms Nat 4/5 Converting Between Terms If going from a smaller unit to a larger unit you divide. If you wanted to know how many Megabytes were in 2048Kb then you would divide by 1024. If you go to a smaller unit you should end up with more!

Converting Between Terms Nat 4/5 Converting Between Terms If going from a larger unit to a smaller unit you multiply. If you wanted to know how many Gigabytes were in 5 TB then you would multiply by 1024. If you go to a smaller unit you should end up with more of them!

What about the other numbers? Nat 4/5 What about the other numbers? So far we know how to store integers These are whole Numbers But what if we want to store real numbers Numbers with decimal fractions 27.5 needs another way to represent it. This method is called floating point representation

Floating Point Representation Nat 4/5 Floating Point Representation The structure of a floating point(real) number is as follows: 3.0 * 108 Only the mantissa and the exponent are stored. The base is implied (known already) As it is not stored this will save memory capacity Exponent Mantissa Base

Summary In ascending order Nat 4/5 Summary In ascending order Bit, Byte, Kilobyte, Megabyte, Gigabyte, Terabyte, Petabyte 8 bits in a byte 1024 KB = 1 MB and so on… Floating point representation is used to represent Real numbers That is numbers with a decimal portion