Binary Code MCQ

Posted by

Binary Code MCQ

Binary Code MCQ, MCQ on Binary Code, Multiple Choice Questions on Binary Code, Objective Questions on Binary Code, Engineering MCQ, Digital Electronics MCQ,

Objective Type Questions

Q.1. The code used in digital systems to represent decimal digits, letters, and other special characters such as  +, -, ., *, etc. is

  • hexadecimal
  • octal
  • natural BCD
  • ASCII

Answer: ASCII

Q.2. The codes in which each successive code word differs from the preceding one in only one bit position are called

  • BCD codes
  • sequential codes
  • self-complementing codes
  • cyclic codes

Answer: cyclic codes

Q.3. Unit distance code is the other name of

  • sequential code
  • self-complementing code
  • cyclic code  
  • XS-3 code

Answer: cyclic codes

Q.4. For mathematical operations the code must be a

  • sequential code
  • cyclic code
  • self -complementing code
  • unit distance code

Answer: sequential code

Q.5. (11011)2 in BCD 8421 code is

  • 00011011
  • 00100111
  • 11011001
  • 01101100

Answer: 00100111

Q.6. (1D)16 in BCD 8421 code is

  • 00011101
  • 00101001
  • 00011101
  • 00100100

Answer: 00101001

Q.7. (44)8 in BCD 8421 code is

  • 01000100
  • 00100100
  • 00110110
  • 01100011

Answer: 00110110

Q.8. For a code to be self-complementing, the sum of all its weights must be

  • 6
  • 9
  • 10
  • 12

Answer: 9

Q.9. The following code is not a BCD code.

  • Gray code
  • XS-3 code
  • 8421 code
  • All of these

Answer: Gray code

Q.10. The parity of the binary number 11011001 is

  • even
  • not known
  • odd
  • same as the number of zeros

Answer: odd

Q.11. 2-out-of-5 code is

  • weighted code
  • self-complementing code  
  • non-weighted code
  • alphanumeric code  

Answer: non-weighted code

Q.12. 8421 code is

  • self-complementing code
  • weighted code
  • non-weighted code
  • alphanumeric code

Answer: weighted code

Q.13. 2421 code is

  • weighted self-complementing code
  • non-weighted self-complementing code
  • weighted non-self-complementing code
  • non-weighted and non-self-complementing code

Answer: weighted self-complementing code

Q.14. The minimum distance of ASCII code is

  • 1
  • 2
  • 3
  • 4

Answer: 1

Q.15. A code with a minimum distance of 3 can

  • detect double error and correct single error
  • detect and correct double error
  • detect single and correct double error
  • not detect and correct any error

Answer: detect double error and correct single error

Q.16. The minimum distance required for a code to detect and correct single bit error is

  • 1
  • 2
  • 3
  • 4

Answer: 3

Q.17. The minimum distance of a straight binary 4-bit code is

  • 0
  • 1
  • 2
  • 3

Answer: 1

Q.18. The minimum distance of a straight binary 5-bit code is

  • 0
  • 1
  • 2
  • 3

Answer: 1

Q.19. The distance between the two binary words 01101101 and 00110100 is

  • 2
  • 3
  • 4
  • 5

Answer: 4

Q.20. For a code to be a single-bit error correcting code, the minimum distance of that code must be

  • 1
  • 2
  • 3
  • 4

Answer: 3

Q.21. For 2-bit error detection, the minimum distance of that code must be

  • 2
  • 3
  • 4
  • 6

Answer: 3

Q.22. The 7-bit Hamming code is used to transmit

  • 3 data bits
  • 4 data bits
  • 7 data bits
  • no data bits

Answer: 4 data bits

Q.23. ASCII and EBCDIC codes are

  • BCD codes
  • numeric codes
  • alphanumeric codes
  • error correcting codes

Answer: alphanumeric codes

Q.24. ASCII code is a

  • 5-bit code
  • 7-bit code
  • 8-bit code
  • 10-bit code

Answer: 7-bit code

Q.25. EBCDIC code is a

  • 5-bit code
  • 7-bit code
  • 8-bit code
  • 10-bit code

Answer: 8-bit code

Q.26. A 15-bit Hamming code requires

  • 4 parity bits
  • 5 parity bits
  • 15 parity bits
  • none of these

Answer: 4 parity bits

Q.27. How many bits are needed to encode all the letters (26), 10 symbols and all numerals (10)?

  • 4
  • 5
  • 6
  • 7

Answer: 7

Q.28. Which of the following codes is known as the 8421 code?

  • Gray code
  • XS-3 code
  • ASCII code
  • BCD code

Answer: BCD code

Q.29. ASCII

  • is a subset of 8-bit EBCDIC
  • is used only in western countries
  • is version II of the ASC standard
  • has 128 characters including control characters

Answer: has 128 characters including control characters

Q.30. The XS-3 code is a

  • cyclic code
  • weighted code
  • self-complementing code
  • error-correcting code

Answer: self-complementing code

Q.31. In which code do the successive code characters differ in only one position?

  • Gray code
  • XS-3 code
  • 8421 code
  • Hamming code

Answer: Gray code

Q.32. In which of the following codes do the successive characters differ in only 1-bit position?

  • 8421 code
  • 2421 code
  • cyclic code
  • binary code

Answer: cyclic code

Q.33. Which of the following is a self-complementing code?

  • XS-3 code
  • Gray code
  • Hamming code
  • cyclic code

Answer: XS-3 code

Q.34. The word length of the Hamming code to represent decimal digits is

  • 4
  • 5
  • 6
  • 7

Answer: 7

Q.35. The number of parity bits in a 12-bit Hamming code is

  • 4
  • 5
  • 6
  • 8

Answer: 4

Objective Questions on Number System

Leave a Reply

Your email address will not be published. Required fields are marked *