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

Slides:



Advertisements
Similar presentations
Nat 4/5 Computing Science Lesson 1: Binary
Advertisements

Chapter 4: Representation of data in computer systems
Base 10 Denary Decimal
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Micro optics: Fibers and Butterflies. Total internal reflection.
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.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
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,
Data Representation The method of data representation in a computer system depends upon the type of data which is being used. Three types of data are considered.
OBJECTIVES  Explain why a computer represents data in the form of binary  Explain the terms related to data storage: bit, byte, character, word  Calculate.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
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.
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Lesson Objectives To understand the basic hardware of computers, and how they are made up To be able to compare performance of computers with price.
Thursday 8 th October, 2015 Information Technology Fundamentals of Hardware & Software.
How We Measure Memory. At the Bottom of things A piece of digital information is always stored as a sequence of binary states. What’s that mean you ask???
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.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.7 Instructor: Lin Chen Sept 2013.
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.
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
Nat 4/5 Computing Science Data Representation Lesson 3: Storing Text
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:
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
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
इंट्रस्टिंग बनने के लिए आपको इंट्रस्टेड होना पड़ेगा।
Nat 4/5 Computing Science Input, Output and Backing Storage
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
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.
Computer Systems Nat 4/5 Computing Science Data Representation
Numerical Representation
Presentation transcript:

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

1.What are two advantages of using the binary system? 2.Convert the number 56 into binary 3.Convert the following binary number into decimal:

Less rules of arithmetic Easy to represent two values Voltage loss = no loss of data 56 = = 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?  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? Nat 4/5

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

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  If you go to a smaller unit you should end up with more! 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  If you go to a smaller unit you should end up with more of them! 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 Nat 4/5

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

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 Nat 4/5