1 / 25

Binary

Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa. Binary. Objective 2: Add two 8-bit binary integers and explain overflow errors which may occur. Aim: Explain binary and binary units.

kristy
Télécharger la présentation

Binary

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Binary Objective 2: Add two 8-bit binary integers and explain overflow errors which may occur Aim: Explain binary and binary units Objective 3: Define the terms bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte

  2. 234 Binary Why Base 10? What is a denary number? talk to the hands!

  3. Binary 128 64 32 16 8 4 2 1s Why Base 2? 1100110100101010111101010100101110 What is a binary number? Binary is the universal language of computers 1010111101010101010100101100010100010001111100011010001000101001011101

  4. Binary 128 64 32 16 8 4 2 1s 1 1 1 0 1 0 1 0 234 Converting denary to binary 234-128=106 106-64=42 42-32=10 10-8=2

  5. Convert the following to 8 bit binary: Binary 16 47 00010000 00101111 34 255 00100010 11111111 Converting denary to binary - EXERCISE 128 11 10000000 00001011 132 127 10000100 01111111

  6. Binary Converting denary to binary – Online Game http://forums.cisco.com/CertCom/game/binary_game_page.htm

  7. THREE RULES! 0 + 0 = 0 0 + 1 = 1 1 + 1 = 0 (carry 1) Adding 8 bit binary numbers Binary 00101010 + 01101101 DEC Adding binary to binary 0 0 1 0 1 0 1 0 42 109 0 1 1 0 1 1 0 1 1 0 0 1 0 1 1 1 151 1 1 1

  8. OVERFLOW! ERROR OVERFLOW! ERROR Adding 8 bit binary numbers Binary 10010110 + 10011011 DEC Adding binary to binary 1 0 0 1 0 1 1 0 150 155 1 0 0 1 1 0 1 1 1 0 0 1 1 0 0 0 1 305 1 1 1 1

  9. Binary 00010010 + 01000011 = 10000101 + 00111110 = Adding binary to binary - EXERCISE 00101010 + 01101101 = 10010110 + 10001101 =

  10. Binary 00010010 + 01000011 = 0 0 0 1 0 0 1 0 0 1 0 0 0 0 1 1 0 1 Adding binary to binary - EXERCISE 0 1 0 1 0 1 1

  11. Binary 1000010 + 00111110 = 1 0 0 0 0 0 1 0 0 0 1 1 1 1 1 0 0 1 Adding binary to binary - EXERCISE 1 1 0 0 0 0 0 1 1 1 1

  12. Binary 00101010+ 01101101 = 0 0 1 0 1 0 1 0 0 1 1 0 1 1 0 1 Adding binary to binary - EXERCISE 1 0 0 1 0 1 1 1 1 1 1

  13. Binary 10010110+ 10001101 = 1 0 0 1 0 1 1 0 1 0 0 0 1 1 0 1 OVERFLOW! Adding binary to binary - EXERCISE 0 0 1 0 0 0 1 1 1 1 1 1

  14. Binary Tools to Help

  15. What is a bit? Binary Units A bit can either be a 1 or 0

  16. What is a byte? Binary Units A byte is 8 bits

  17. What is a nibble? Binary This is a mouse This is a mouse This is a mouse This is a mouse This This is a mouse This is a mouse This is a mouse This is a mouse This is a mouse Units A nibble is 4 bits A nibble is half a byte

  18. What is a Kilobyte (KB)? Binary x 1024 Units A kilobyte is 1024 bytes Why not 1000?

  19. What is a Megabyte (MB)? Binary A megabyte is 1024 kilobytes Units

  20. What is a Gigabyte (GB)? Binary A gigabyte is 1024 megabytes Units

  21. What is a Terabyte (TB)? Binary A terabyte is 1024 gigabytes Units

  22. What is a Petabyte (PB)? Binary A petabyte is 1024 terabytes Units

  23. Arrange the following in size order: Binary MEGABYTE GIGABYTE Units - EXERCISE PETABYTE TERABYTE NIBBLE BIT KILOBYTE BYTE

  24. Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Binary Objective 2: Add two 8-bit binary integers and explain overflow errors which may occur Aim: Explain binary and binary units Objective 3: Define the terms bit, nibble, byte, kilobyte, megabyte, gigabyte, terabyte

  25. Binary and Hexadecimal LESSON FILES http://edmundo.ecis.org/downloads/ CISCO BINARY GAME http://forums.cisco.com/CertCom/game/binary_game_page.htm BINARY UNITS http://www.teach-ict.com/gcse_new/computer%20systems/storage_units/miniweb/index.htm Web Resources

More Related