1. Home
  2. GK Questions
  3. Computer Awareness
  4. Data Representation

Data Representation — GK Questions with Answers

40 questions
  1. How many number systems are commonly used with computers?
    1. One
    2. Two
    3. Three
    4. Four (binary, decimal, octal, hex)
    Show answer

    Answer: (D) Four (binary, decimal, octal, hex)

    Binary, decimal, octal and hexadecimal.

  2. In which system does a computer calculate internally?
    1. Decimal
    2. Hexadecimal
    3. Octal
    4. Binary
    Show answer

    Answer: (D) Binary

    Digital circuits recognise only 0 and 1.

  3. Every letter, digit and special character is a unique combination of —
    1. 8 bytes
    2. 8 KB
    3. 8 characters
    4. 8 bits
    Show answer

    Answer: (D) 8 bits

    One character = 8 bits = 1 byte.

  4. Which of these cannot be a binary number?
    1. 1101
    2. 0110
    3. 10201
    4. 1111
    Show answer

    Answer: (C) 10201

    A binary number cannot contain a digit like 2.

  5. What is the base of the hexadecimal system?
    1. 2
    2. 8
    3. 10
    4. 16
    Show answer

    Answer: (D) 16

    Hex = 16 digits: 0–9 and A–F.

  6. Which hexadecimal number is invalid?
    1. 1FA3
    2. B07E
    3. 4C2Z
    4. 9D5A
    Show answer

    Answer: (C) 4C2Z

    Z is not a hex digit (only up to F).

  7. One hexadecimal digit equals how many binary bits?
    1. Three
    2. Four
    3. Eight
    4. Sixteen
    Show answer

    Answer: (B) Four

    16 = 2⁴, so 4 bits.

  8. Compared with binary, the octal system needs —
    1. Fewer digits
    2. More digits
    3. The same digits
    4. None of these
    Show answer

    Answer: (A) Fewer digits

    One octal digit stands for 3 bits.

  9. What is the binary form of decimal 37?
    1. 101001
    2. 100111
    3. 100101
    4. 100000
    Show answer

    Answer: (C) 100101

    Divide by 2 and read the remainders bottom to top.

  10. Decimal value of binary 110110 —
    1. 54
    2. 56
    3. 48
    4. 35
    Show answer

    Answer: (A) 54

    32 + 16 + 4 + 2 = 54.

  1. Hexadecimal form of decimal 100 —
    1. 46
    2. C4
    3. 96
    4. 64
    Show answer

    Answer: (D) 64

    100 = 6 × 16 + 4.

  2. Decimal value of hex 3E —
    1. 78
    2. 62
    3. 59
    4. 58
    Show answer

    Answer: (B) 62

    E = 14; 3 × 16 + 14 = 62.

  3. Decimal value of octal 725 —
    1. 477
    2. 454
    3. 725
    4. 469
    Show answer

    Answer: (D) 469

    7 × 64 + 2 × 8 + 5 = 469.

  4. Octal form of decimal 200 —
    1. 013
    2. 310
    3. 320
    4. 301
    Show answer

    Answer: (B) 310

    200 = 3 × 64 + 1 × 8 + 0.

  5. Hex form of binary 11100101 —
    1. E5
    2. 5E
    3. E3
    4. D5
    Show answer

    Answer: (A) E5

    1110 = E and 0101 = 5.

  6. Octal form of binary 1101111 —
    1. 751
    2. 167
    3. 157
    4. 117
    Show answer

    Answer: (C) 157

    001 101 111 → 1 5 7.

  7. Binary form of hex 7F —
    1. 11110111
    2. 01111111
    3. 01111110
    4. 11111110
    Show answer

    Answer: (B) 01111111

    7 = 0111 and F = 1111.

  8. Binary form of octal 64 —
    1. 100110
    2. 110010
    3. 011001
    4. 110100
    Show answer

    Answer: (D) 110100

    6 = 110 and 4 = 100.

  9. Hex form of octal 17 —
    1. 11
    2. 17
    3. F
    4. 8
    Show answer

    Answer: (C) F

    17₈ = 001 111 = F.

  10. Octal form of hex 3C —
    1. 74
    2. 34
    3. 47
    4. 63
    Show answer

    Answer: (A) 74

    3C = 0011 1100 → 111 100 = 74.

  1. How many different values can 7 bits make?
    1. 14
    2. 49
    3. 128
    4. 256
    Show answer

    Answer: (C) 128

    2⁷ = 128 (ASCII-7).

  2. What is the largest decimal number that 6 bits can hold?
    1. 63
    2. 64
    3. 12
    4. 32
    Show answer

    Answer: (A) 63

    2⁶ − 1 = 63 (111111).

  3. How many different values can one byte represent?
    1. 4
    2. 16
    3. 64
    4. 256
    Show answer

    Answer: (D) 256

    2⁸ = 256.

  4. In BCD, how many bits are used for each decimal digit?
    1. 2
    2. 4
    3. 7
    4. 8
    Show answer

    Answer: (B) 4

    BCD = 4 bits per digit.

  5. The full form of ASCII —
    1. American Special Computer for Information Interaction
    2. American Standard Computer for Information Interchange
    3. American Special Code for Information Interchange
    4. American Standard Code for Information Interchange
    Show answer

    Answer: (D) American Standard Code for Information Interchange

    Standard Code for Information Interchange.

  6. Which widespread code gives every character its own 8-bit pattern —
    1. UNICODE
    2. ASCII
    3. BCD
    4. EBCDIC
    Show answer

    Answer: (B) ASCII

    ASCII is the most widespread.

  7. In EBCDIC, what is the maximum number of characters possible?
    1. 356
    2. 756
    3. 556
    4. 256
    Show answer

    Answer: (D) 256

    8 bits → 2⁸ = 256.

  8. Which code represents non-English characters such as Chinese and Japanese?
    1. EBCDIC
    2. ASCII
    3. BCD
    4. UNICODE
    Show answer

    Answer: (D) UNICODE

    Unicode is meant for all languages.

  9. Pick the item that is not a computer code.
    1. EBCDIC
    2. ASCII
    3. CISC
    4. UNICODE
    Show answer

    Answer: (C) CISC

    CISC is a processor design.

  10. The one’s complement of binary 100110 —
    1. 011001
    2. 100110
    3. 011010
    4. 111111
    Show answer

    Answer: (A) 011001

    Flipping every bit gives 011001.

  1. Which bit is the sign bit?
    1. The rightmost
    2. The middle
    3. The leftmost (MSB)
    4. Any
    Show answer

    Answer: (C) The leftmost (MSB)

    The MSB shows the sign of the number.

  2. When is the output of an AND gate 1?
    1. Any one input is 1
    2. Both inputs are 1
    3. Both inputs are 0
    4. The inputs differ
    Show answer

    Answer: (B) Both inputs are 1

    AND = true only if both are true.

  3. When is the output of an OR gate 0?
    1. Both inputs are 0
    2. Any one input is 0
    3. Both inputs are 1
    4. Never
    Show answer

    Answer: (A) Both inputs are 0

    OR = false only if both are false.

  4. Which gate is also called an inverter?
    1. OR
    2. NOT
    3. XOR
    4. NAND
    Show answer

    Answer: (B) NOT

    The NOT gate flips the input.

  5. If both inputs of a NAND gate are 1, the output is —
    1. 1
    2. 0
    3. Undefined
    4. Both
    Show answer

    Answer: (B) 0

    NAND = inverse of AND.

  6. When is the NOR gate output high (1)?
    1. 00
    2. 01
    3. 10
    4. 11
    Show answer

    Answer: (A) 00

    NOR = inverse of OR; output 1 for 00.

  7. Which are the universal gates?
    1. NAND and NOR
    2. AND and OR
    3. XOR and OR
    4. Only AND
    Show answer

    Answer: (A) NAND and NOR

    All gates can be made from these two.

  8. A NAND gate is an AND gate followed by —
    1. NOT gate
    2. OR gate
    3. AND gate
    4. XOR gate
    Show answer

    Answer: (A) NOT gate

    AND + NOT = NAND.

  9. When is the output of an XOR gate 1?
    1. The inputs are the same
    2. Both inputs are 1
    3. The inputs differ
    4. Both are 0
    Show answer

    Answer: (C) The inputs differ

    XOR = “exactly one” true.

  10. In decimal→binary, the last remainder is called —
    1. LSB
    2. MSB
    3. Sign bit
    4. Parity bit
    Show answer

    Answer: (B) MSB

    The last remainder = Most Significant Bit.

More chapters in this subject