1 / 10

Unit 2.6 Data Representation Lesson 1 ‒ Numbers

Unit 2.6 Data Representation Lesson 1 ‒ Numbers. LIST ALL THE NAMES FOR MEASURING MEMORY SIZES. Recap: Sizes. Bit 1 or a 0 Nibble 4 bits Byte 8 bits, 2 Nibbles Kilobyte (KB) 1 KB = 1024 Bytes Megabyte (MB) 1 MB = 1024 KB GigaByte (GB) 1 GB = 1024 MB

erv
Download Presentation

Unit 2.6 Data Representation Lesson 1 ‒ Numbers

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. Unit 2.6 Data RepresentationLesson 1 ‒ Numbers

  2. LIST ALL THE NAMES FOR MEASURING MEMORY SIZES

  3. Recap: Sizes • Bit 1 or a 0 • Nibble 4 bits • Byte 8 bits, 2 Nibbles • Kilobyte (KB) 1 KB = 1024 Bytes • Megabyte (MB) 1 MB = 1024 KB • GigaByte (GB) 1 GB = 1024 MB • TeraByte (TB) 1 TB = 1024 GB • PetaByte (PB) 1 PB = 1024 TB

  4. Transistors - switches

  5. Why Binary? • Binary is a number system that is made up of only 1 or 0. • Because there is only 2 possibilities we say that this is a base 2 number system. • We use binary because a CPU is made up of millions of transistors, that can be in one of 2 states (on/off) • Computers use the binary number system to represent data.

  6. Binary number system Computers need to be able to work with numbers and therefore our Denary number system needs converting into Binary. Binary number system is represented as follows:

  7. Converting Binary to Denary The binary number 10110111 can be converted to Denary as: If a ‘1’ is present in that column, then you need to add that number to the others… This means you get: 128 + 0 + 32 + 16 + 0 + 4 + 2 + 1 = 183

  8. Activity 2 Try converting these 8 bit numbers into their denary equivalent. • 11101010 • 01011101 • 01100101 • 11111111

  9. Converting Binary to Denary Converting 183 into Binary involves the following steps: • 1. Does 128 go into 183? Yes so put a 1 Under 128. This leaves 55. • 2. Does 64 go into 55? No so put a 0 under 64. This leaves 55 still. • 3. Does 32 go into 55? Yes so put a 1 under 32. The leaves 23. • 4. Does 16 go into 23?. Yes so put a 1 under 16. This leaves 7. • 5. Does 8 go into 7? No so put a 0 under 8. This still leaves 7. • 6. Does 4 go into 7? Yes so put a 1 under 4. This leaves 3. • 7. Does 2 go into 3? Yes so put a 1 under 2. This leaves 1. • 8. Does 1 go into 1? Yes so put a 1 under 1.

  10. Activity 3 Try converting these denary numbers into their 8 bit binary equivalent: • 27 • 131 • 96 • 241

More Related