Kablow!

Binary numbers and conversion

खेलकर सीखें

इन सवालों के जवाब देकर एनर्जी कमाएं, फिर मछली पकड़ें और घूमें। कोई अकाउंट नहीं चाहिए।

शिक्षकों के लिए: Binary numbers and conversion (Computer Science, Data Representation) के लिए इस्तेमाल के लिए तैयार लेसन स्लाइड्स, रिवीज़न नोट्स — इन्हें अपने लेसन में इस्तेमाल करें, या टॉपिक को एक इंटरैक्टिव क्लास एक्टिविटी की तरह चलाएं जिसे आपके शिक्षार्थी लाइव गेम की तरह खेलें।

लेसन नोट्स

Why binary?

  • Digital circuits reliably distinguish two logic levels, represented as 0 and 1. Patterns of bits can encode numbers, text, images and sound.
  • The on/off switch picture is a simple model; actual logic levels correspond to defined voltage ranges.

Two logic states

Two logic states

Units

  • A bit is one binary digit; a nibble is four bits and a byte is eight.
  • Using decimal prefixes: kB = 1,000 bytes, MB = 1,000,000 bytes, and each larger SI prefix is a factor of 1,000. Binary prefixes KiB, MiB and GiB instead use factors of 1,024.

Place values (8-bit)

  • 128, 64, 32, 16, 8, 4, 2, 1.

Reading unsigned 1011

Reading unsigned 1011Place valueBit in 00001011Contribution12800640032001600818400212111

Converting binary to denary

  • Add the place values where there is a 1. 1011 = 8 + 2 + 1 = 11. 11001010 = 128 + 64 + 8 + 2 = 202.

Converting denary to binary

  • Subtract place values or divide by 2. 13 = 8 + 4 + 1 = 1101. Pad with zeros to 8 bits: 00001101.

Range

  • n bits can store 2n different values: 8 bits → 256 (0 to 255); 16 bits → 65,536.

Patterns and unsigned range

Patterns and unsigned rangeBits nPatterns: 2^nUnsigned values120 to 14160 to 1582560 to 25516655360 to 65535

Uses

  • Understanding binary is needed for storage, networking and data representation.

स्लाइड्स

Sign up free to view the lesson slides

Step through every slide for this topic — plus flashcards and revision notes — with a free account.

प्रैक्टिस सवाल

फ्री प्रीव्यू — 34 में से 8 सवाल। सभी देखने के लिए साइन अप करें।
  1. 1.What is a bit?

    Easy
    • Aa binary digit
    • Ba byte
    • Ca number
    • Da letter
  2. 2.How many bits are in a byte?

    Easy
    • A8
    • B4
    • C16
    • D2
  3. 3.How many bits are in a nibble?

    Easy
    • A4
    • B8
    • C2
    • D16
  4. 4.How many different values can 8 bits store?

    Easy
    • A256
    • B255
    • C128
    • D8
  5. 5.What is the largest unsigned eight-bit integer?

    Easy
    • A255
    • B256
    • C128
    • D127
  6. 6.What is 0101 in denary?

    Easy
    • A5
    • B3
    • C7
    • D10
  7. 7.What is 1111 in denary?

    Easy
    • A15
    • B16
    • C8
    • D14
  8. 8.What is unsigned binary 10000000 in denary?

    Easy
    • A128
    • B64
    • C255
    • D256

Unlock all 34 questions & more

इस टॉपिक के हर सवाल, स्लाइड्स, फ्लैशकार्ड और रिवीज़न नोट्स देखने के लिए फ्री अकाउंट बनाएं।

पास्ट पेपर

इस टॉपिक के लिए पास्ट-पेपर प्रैक्टिस जल्द आ रही है।
जल्द आ रहा है