Flashcards › Technology & Coding › Computer Science

Binary, Hexadecimal and Data Units

Counting in base 2 and base 16, converting numbers, and how much data units hold.

88 cardsGrades 6–8, Grades 9–12, College, Adult#binary#hexadecimal#number systems#data units

0 of 88 known
88 cards
  • Binary uses which digits?Question
    0 and 1 (base 2)
  • Decimal uses which digits?Question
    0 to 9 (base 10)
  • Hexadecimal uses which digits?Question
    0 to 9 and A to F (base 16)
  • Octal uses which digits?Question
    0 to 7 (base 8)
  • BitQuestion
    A single binary digit
  • ByteQuestion
    8 bits
  • NibbleQuestion
    4 bits, one hex digit
  • Place values in an 8-bit byteQuestion
    128, 64, 32, 16, 8, 4, 2, 1
  • Binary 0 in decimalQuestion
    0
  • Binary 1 in decimalQuestion
    1
  • Binary 10 in decimalQuestion
    2
  • Binary 11 in decimalQuestion
    3
  • Binary 100 in decimalQuestion
    4
  • Binary 101 in decimalQuestion
    5
  • Binary 110 in decimalQuestion
    6
  • Binary 111 in decimalQuestion
    7
  • Binary 1000 in decimalQuestion
    8
  • Binary 1001 in decimalQuestion
    9
  • Binary 1010 in decimalQuestion
    10
  • Binary 1111 in decimalQuestion
    15
  • Binary 10000 in decimalQuestion
    16
  • Binary 11111111 in decimalQuestion
    255
  • Binary 10101010 in decimalQuestion
    170
  • Binary 1100100 in decimalQuestion
    100
  • Binary 100000 in decimalQuestion
    32
  • Decimal 12 in binaryQuestion
    1100
  • Decimal 20 in binaryQuestion
    10100
  • Decimal 25 in binaryQuestion
    11001
  • Decimal 50 in binaryQuestion
    110010
  • Decimal 64 in binaryQuestion
    1000000
  • Decimal 100 in binaryQuestion
    1100100
  • Decimal 128 in binaryQuestion
    10000000
  • Decimal 255 in binaryQuestion
    11111111
  • Decimal 10 in hexQuestion
    A
  • Decimal 11 in hexQuestion
    B
  • Decimal 12 in hexQuestion
    C
  • Decimal 13 in hexQuestion
    D
  • Decimal 14 in hexQuestion
    E
  • Decimal 15 in hexQuestion
    F
  • Decimal 16 in hexQuestion
    10
  • Decimal 31 in hexQuestion
    1F
  • Decimal 32 in hexQuestion
    20
  • Decimal 100 in hexQuestion
    64
  • Decimal 255 in hexQuestion
    FF
  • Decimal 256 in hexQuestion
    100
  • Hex FF in decimalQuestion
    255
  • Hex 10 in decimalQuestion
    16
  • Hex 1A in decimalQuestion
    26
  • Hex 20 in decimalQuestion
    32
  • Hex 7F in decimalQuestion
    127
  • Hex 80 in decimalQuestion
    128
  • Binary 1111 in hexQuestion
    F
  • Binary 1010 in hexQuestion
    A
  • Binary 11110000 in hexQuestion
    F0
  • Hex FF in binaryQuestion
    11111111
  • Hex 0F in binaryQuestion
    00001111
  • Powers of 2: 2^8Question
    256
  • Powers of 2: 2^10Question
    1,024
  • Powers of 2: 2^16Question
    65,536
  • Powers of 2: 2^32Question
    4,294,967,296
  • Number of values in 1 byteQuestion
    256 (0 to 255)
  • Number of values with n bitsQuestion
    2 to the power n
  • Number of values in 4 bitsQuestion
    16
  • Largest unsigned 8-bit numberQuestion
    255
  • Kilobyte (KB)Question
    About 1,000 bytes (1,024 in older binary usage)
  • Megabyte (MB)Question
    About 1 million bytes
  • Gigabyte (GB)Question
    About 1 billion bytes
  • Terabyte (TB)Question
    About 1 trillion bytes
  • Kibibyte, mebibyte (KiB, MiB)Question
    Units based on exactly 1,024
  • Hex color #FF0000Question
    Red
  • Hex color #00FF00Question
    Green
  • Hex color #0000FFQuestion
    Blue
  • Hex color #FFFFFFQuestion
    White
  • Hex color #000000Question
    Black
  • ASCIIQuestion
    A code that gives each character a number, e.g. A is 65
  • ASCII 'A' in decimalQuestion
    65
  • ASCII 'a' in decimalQuestion
    97
  • ASCII '0' in decimalQuestion
    48
  • UnicodeQuestion
    A standard that gives a number to characters from all languages and emoji
  • UTF-8Question
    A common way to store Unicode characters in bytes
  • Two's complementQuestion
    The method computers use to store negative numbers in binary
  • Binary addition: 1 + 1Question
    10 (that is, 0 carry 1)
  • Binary addition: 101 + 11Question
    1000
  • Logic gate ANDQuestion
    Outputs 1 only if both inputs are 1
  • Logic gate ORQuestion
    Outputs 1 if at least one input is 1
  • Logic gate NOTQuestion
    Flips the input
  • Logic gate XORQuestion
    Outputs 1 if inputs differ
  • Why computers use binaryQuestion
    Electronic switches have two states, on and off

Download this deck

Want paper cards? Paste the plain-text download into the flashcard maker.

More Computer Science decks