What is the decimal equivalent of the binary number 1010?
Show answer & solution
Answer: (C) 10
1010₂ = 8 + 2 = 10.
Electrical Engineering · Digital Electronics & Microprocessors
30 questions, each with the answer and a worked solution.
Practice interactively and track your score →What is the decimal equivalent of the binary number 1010?
Answer: (C) 10
1010₂ = 8 + 2 = 10.
What is the binary equivalent of the decimal number 25?
Answer: (C) 11001
25 = 16 + 8 + 1.
What is the decimal value of the hexadecimal digit A?
Answer: (A) 10
Hex digits A–F represent 10–15.
What is the decimal value of the hexadecimal number FF?
Answer: (C) 255
FF = 15 × 16 + 15.
What is the decimal value of the octal number 17?
Answer: (B) 15
17₈ = 1 × 8 + 7.
What is the decimal value of the hexadecimal number 2F?
Answer: (C) 47
2F = 2 × 16 + 15.
How many bits make up one byte?
Answer: (C) 8
Four bits make a nibble.
What is the two's complement of the 4-bit binary number 0101?
Answer: (C) 1011
Invert to 1010 and add 1 to get 1011.
What is the range of signed numbers that can be represented by 8 bits in two's complement form?
Answer: (B) −128 to +127
Two's complement has one more negative number than positive.
What is the BCD code for the decimal digit 9?
Answer: (B) 1001
BCD uses four bits for each decimal digit from 0 to 9.
Which 4-bit combinations are invalid in BCD?
Answer: (D) 1010 to 1111
Only 0000 to 1001 represent decimal digits.
What is the main property of Gray code?
Answer: (D) Only one bit changes between successive values
Gray code is used in encoders to avoid errors.
What is the Gray code of the binary number 1011?
Answer: (D) 1110
Gray bits: 1, 1⊕0 = 1, 0⊕1 = 1, 1⊕1 = 0.
What is the excess-3 code of the decimal digit 5?
Answer: (C) 1000
Excess-3 = BCD + 3, so 5 + 3 = 8 = 1000.
How many bits does standard ASCII code use for each character?
Answer: (B) 7
Extended ASCII uses 8 bits.
What is the decimal ASCII code of the capital letter A?
Answer: (C) 65
Lowercase a is 97.
What is the principal purpose of error detection coding within digital communication?
Answer: (A) To identify corrupted data
Parity and CRC codes detect errors.
What is a parity bit used for?
Answer: (A) Detecting single-bit errors in transmitted data
Even or odd parity is chosen in advance.
Which code can both detect and correct single-bit errors?
Answer: (D) Hamming code
Hamming codes add several check bits.
How many bytes are there in one kilobyte in computer memory terminology?
Answer: (C) 1,024
1 KB = 2¹⁰ bytes.
What is the result of adding binary 1 + 1?
Answer: (C) 10
The sum is 0 with a carry of 1.
What is the binary equivalent of hexadecimal 3C?
Answer: (C) 00111100
3 = 0011 and C = 1100.
What is the decimal value of the binary fraction 0.101?
Answer: (C) 0.625
0.5 + 0.125 = 0.625.
How many different values can be represented with 10 bits?
Answer: (D) 1,024
2¹⁰ = 1,024.
What is the one's complement of 1100?
Answer: (A) 0011
One's complement inverts every bit.
What is a weighted code?
Answer: (B) A code in which each bit position has a fixed weight
BCD 8421 is a weighted code; Gray code is not.
Why is hexadecimal widely used in computing?
Answer: (A) Each hex digit represents exactly four binary bits, making binary values compact
Memory addresses are usually written in hex.
What is the hexadecimal equivalent of decimal 255?
Answer: (B) FF
255 = 15 × 16 + 15.
What is the decimal equivalent of the BCD number 0101 0011?
Answer: (B) 53
Each 4-bit group is one decimal digit.
What is the binary sum of 1011 and 0110?
Answer: (C) 10001
11 + 6 = 17 = 10001.