LO1 – Understand Computer Hardware

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

Number System C.I.T. Ch2.5. Denary, Binary, Hexadecimal Number System Denary Number System Ten is it’s base. Ten distinct values :0,1,2,3,4,5,6,7,8,9.
Hexadecimal In today’s lesson we will look at: the need for something other than binary how hexadecimal works how to convert between hexadecimal and binary.
Chapter 4.2 Binary numbers: Arithmetic
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
Binary “There are 10 types of people in the world… those that understand binary and those that don’t.”
Numbering Systems Decimal (Denary) base 10. Clumsy when dealing with computers. Other systems –Binary –Octal –Hexadecimal Convenient when dealing with.
Numeration Systems Introduction to Binary, Octal, and Hexadecimal.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Numbering Systems. CSCE 1062 Outline What is a Numbering System Review of decimal numbering system Binary representation range Hexadecimal numbering system.
Chapter 4: Representation of data in computer systems: Number OCR Computing for GCSE © Hodder Education 2011.
CMSC 104, Lecture 051 Binary / Hex Binary and Hex The number systems of Computer Science.
NUMBER SYSTEMS Binary Base 2 Octal Base 8 DecimalBase 10 HexadecimalBase 16.
Converting From decimal to Binary & Hexadecimal to Binary
Conversions Denary to Binary Method 1
Working with 8-bit bytes and hexadecimal
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
Candidates should be able to:
A)Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa b)Add two 8-bit binary integers and explain overflow errors which.
HEXADECIMAL NUMBERS.
Topic 14.1 Extended Hexadecimal  Decimal is base 10 and uses 10 digits (0,1,2,3,4,5,6,7,8,9).  Binary is base 2 and uses 2 digits (0,1).  Computers.
COMPUTER PROGRAMMING I Objective 1.02 Understand Numbering Systems.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
Hexadecimal (base 16) BY MAT D. What is hexadecimal  Hexadecimal is a number system like binary or denary that has 16 characters, the numbers 0-9 and.
The Hexadecimal Number System Representation of Data in Computer Systems.
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
CMSC 1041 Binary / Hex Binary and Hex The number systems of Computer Science.
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Conversions 1)Binary to Denary Method 1 Work out the position values of the binary bits and add those values together So above would be
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
Coding Part 2. Weight of the Digit 3672 Thousands (10 3 )Hundreds (10 2 )Tens (10 1 )Units (1) = Weights Decimal Example (3672) 10 Binary.
WHAT IS BINARY? Binary is a number system that only uses two digits: 1 and 0. Any information that processed by a computer it is put into sequence of.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary and Logic Computers use electrical signals that are on or off, so they have to see everything as a series of binary numbers. This data is represented.
Binary, Denary, Hexadecimal Conversion Binary Addition
Binary and Hexadecimal
Data Representation – numbers Binary conversion Hexadecimal Negative numbers Binary addition Binary shifts.
Different Numeral Systems
Lesson 1-15 AP Computer Science Principles
Numeric Data Representation
Discrete Mathematics Numbering System.
Hexadecimal Conversion
Binary numbers: Week 7 Lesson 1
Representation of data in computer systems
Tools of Web Development 1: Module A: Numbering Systems
Number System conversions
Visualizing Decimal and Binary
Lesson Objectives Aims You should be able to: Convert Denary to Binary
Representation of Data in Computer Systems
Number Systems Base 2, 10, 16.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Hexadecimal Conversions
Binary / Hex Binary and Hex The number systems of Computer Science.
Binary Lesson 3 Hexadecimal
Data Hexadecimal.
(return of the…) Data blast
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Data Binary Conversion.
Objective 1.02 Understand Numbering Systems
Binary Lesson 3 Hexadecimal
The basics of any electronic device means either electricity is flowing or it is not i.e. a switch is either on or off Computers are electronic devices.
Binary Lesson 4 Hexadecimal and Binary Practice
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Hexadecimal.
Computer Science 1 Review and finish Number base conversion
Section 6 Primitive Data Types
Presentation transcript:

LO1 – Understand Computer Hardware 1.8 Number Systems 1.9 Number Conversions

Tens Ones Hundreds Tens Ones 128 64 32 16 8 4 2 1 Number systems What is Binary? Because humans have 10 fingers, we count using a denary number system (base 10): We count to ten… Then we record it by placing a 1 in the 10s column… So the number 16 would be represented by one lot of 10 and 6 lots of one …and when we get to 100, we make a record of it by placing a 1 in the 100s column…and so on! So the number 128 would be represented by 1 lot of 100 plus 2 lots of 10 and 8 lots of one. In binary the only numbers you can use are 0s and 1s So the binary number above can be converted to denary by adding 64+16+8+1 = 89 Tens Ones 1 6 Hundreds Tens Ones 1 2 8 128 64 32 16 8 4 2 1

Binary to Denary: Denary to Binary: Number Systems continued… To convert a denary number to binary Convert the denary number 178 to Binary So look at the biggest number that will go into 178 which is 128 Put a 1 in the 128 column Then take the 128 off the 178 so 178-128= 50 So the biggest number that will go into 50 is 32. Put a 0 in the 64 column and a 1 in the 32 column. Then take the 32 off the 50 so 50-32=18 Put a 1 in the 1 in the 16 column. This leaves a remainder of 2 So the biggest number that will go into 2 is 2 leaving no remainder. Put a 0 in the 8 and 4 column, a 1 in the 2 column and a 0 in the 1 column. Always make sure all 8 columns are filled in to make a byte. 128 64 32 16 8 4 2 1 Binary to Denary: https://www.youtube.com/watch?v=q7nZbAUTSC4 1 1 Denary to Binary: https://www.youtube.com/watch?v=70lM1qAD5u4 1 1 1 1 1 1 1

In binary this is represented as 00010001 1 1 Number Systems Hexadecimal As we know, computers can only deal with 2 numbers (0 and 1). The problem for computer scientists is that very quickly, a fairly small denary number like 258 (3 digits long) becomes the massive binary number of 100000010 (9 digits!) in binary. To solve this issue, computer scientists came up with another number system to help them deal with base two numbers (binary) but without the long string of digits! 100 10 1 The denary number 17 7 In binary this is represented as 00010001 1 1 256 16 1 In hexadecimal this is represented as 11 (1 lot of 16 and 1 lot of 1). So the first column can represent up to 15 and the second column up to 255. 16^0=1 16^1=16 16^2=256 1 1

The Hexadecimal Number System Number Systems Hexadecimal The Hexadecimal Number System 100 10 1

Number Systems 100 10 16+15=31 (16x10)+(15x1) 160+15=175 Hexadecimal Denary Hexadecimal 1 2 3 4 5 6 7 8 9 10 A 11 B 12 C 13 D 14 E 15 F 100 10 One lot of 16 plus 15 (F) lots of 1 16+15=31 Ten (A) lots of 16 plus 15 (F) lots of 1 (16x10)+(15x1) 160+15=175

This equals 2 lots of 16 (32) and 14 (E) lots of 1 Number Systems Hexadecimal Converting Denary into Hexadecimal This is a little harder… We use the following method: Count how many 16s fit into the number Place the answer in the 16s column Place the remainder in the 1s column 100 10 1 46 ÷ 16=2 remainder 14 This equals 2 lots of 16 (32) and 14 (E) lots of 1

An Easier Method can be seen in this video: Number Systems Hexadecimal Converting Denary into Hexadecimal This is a little harder… We use the following method: Count how many 16s fit into the number Place the answer in the 16s column Place the remainder in the 1s column An Easier Method can be seen in this video: https://www.youtube.com/watch?v=NTiBqXm9u8Q 100 10 1 The following videos shows Hex to Denary: https://www.youtube.com/watch?v=bjpMvXd1TTQ 235 ÷ 16=14 remainder 11 This equals 14 (E) lots of 16 (32) and 11 (B) lots of 1