# Number Systems and Codes in Digital Logic Design MCQs

Q1. Convert hexadecimal value 16 to decimal..

A. 22(10).

B. 16(10).

C. 10(10).

D. 20(10).

Q2. Convert the following decimal number to 8-bit binary : 187.

A. 10111011(2).

B. 11011101(2).

C. 10111101(2).

D. 10111100(2).

Q3. Convert binary 111111110010 to hexadecimal..

A. EE2(16).

B. FF2(16).

C. 2FE(16).

D. FD2(16).

Q4. Convert the following binary number to decimal : 010112.

A. 11.

B. 35.

C. 15.

D. 10.

Q5. Convert the binary number 1001.00102 to decimal..

A. 90.125.

B. 9.125.

C. 125.

D. 12.5.

Q6. One hex digit is sometimes referred to as a(n):.

A. Byte.

B. Nibble.

C. Grouping.

D. Instruction.

Q7. Which of the following is the most widely used alphanumeric code for computer input and output?.

A. Gray.

B. ASCII.

C. Parity.

D. EBCDIC.

Q8. If a typical PC uses a 20-bit address code, how much memory can the CPU address?.

A. 20 MB.

B. 10 MB.

C. 1 MB.

D. 580 MB.

Q9. Convert 59.72(10) to BCD..

A. 111011.

B. 1011001.011.

C. 1110.11.

D. 010110010111001 0.

Q10. Convert 8B3F(16) to binary..

A. 35647.

B. 11010.

C. 101100111110001 1.

D. 100010110011111 1.

Q11. Which is typically the longest: bit, byte, nibble, word?.

A. Bit.

B. Byte.

C. Nibble.

D. Word.

Q12. Assign the proper odd parity bit to the code 111001..

A. 1111011.

B. 1111001.

C. 111111.

D. 11111.

Q13. Convert decimal 64 to binary..

A. 0 1010010.

B. 0 1000000.

C. 0 0 110110.

D. 0 1001000.

Q14. Convert the following octal number to decimal : 17(8).

A. 51.

B. 82.

C. 57.

D. 15.

Q15. Convert the following binary number to octal : 010111100(2).

A. 172(8).

B. 272(8).

C. 174(8).

D. 274(8).

Q16. How many binary digits are required to count to 100(10)?.

A. 7.

B. 2.

C. 3.

D. 100.

Q17. The BCD number for decimal 347 is ________..

A. 1100 1011 1000.

B. 0011 0100 0111.

C. 0011 0100 0001.

D. 1100 1011 0110.

Q18. The binary number for octal 45(8) is ________..

A. 100010.

B. 100101.

C. 110101.

D. 100100.

Q19. The sum of 11101 + 10111 equals ________..

A. 110011.

B. 100001.

C. 110100.

D. 100100.

Q20. Convert the following binary number to decimal : 10011010(2).

A. 154.

B. 155.

C. 153.

D. 157.

Q21. The decimal number 188 is equal to the binary number ________..

A. 10111100.

B. 111000.

C. 1100011.

D. 1111000.

Q22. Convert the following binary number to octal : 001101011(2).

A. 153(8).

B. 351(8).

C. 253(8).

D. 352(8).

Q23. A binary number's value changes most drastically when the ________ is changed..

A. MSB.

B. FreQncy.

C. LSB.

D. Duty cycle.

Q24. Convert decimal 213 to binary..

A. 11001101.

B. 11010101.

C. 1111001.

D. 11100011.

Q25. The decimal number for octal 74(8) is ________..

A. 74.

B. 60.

C. 22.

D. 62.

Q26. The sum of the two BCD numbers, 0011 + 0011, is ________..

A. 110 0.

B. 0 111.

C. 00 11.

D. 1100.

Q27. Convert binary 01001110 to decimal..

A. 4E.

B. 78.

C. 76.

D. 116.

Q28. Which is not a word size?.

A. 64.

B. 28.

C. 16.

D. 8.

Q29. The binary number 1110 is equal to the decimal number ________..

A. 3.

B. 1.

C. 7.

D. 14.

Q30. Convert the following octal number to binary : 76(8).

A. 110111(2).

B. 111110(2).

C. 111100(2).

D. 100111(2).

A. 121035.

B. CA35.

C. 53AC1.

D. 530121.

Q32. Convert the following decimal number to octal : 281.

A. 134(8).

B. 431(8).

C. 331(8).

D. 133(8).

Q33. When using even parity, where is the parity bit placed?.

A. Before the MSB.

B. After the LSB.

C. In the parity word.

D. After the odd parity bit.

Q34. Convert the following octal number to decimal : 35(8).

A. 71.

B. 17.

C. 92.

D. 29.

Q35. Convert binary 11001111 to hexadecimal..

A. 8F(16).

B. CE(16).

C. DF(16).

D. CF(16).

Q36. Convert 1731(8) to decimal..

A. 216.4.

B. 985.

C. 3D9.

D. 1123.

Q37. An analog signal has a range from 0 V to 5 V. What is the total number of analog possibilities within this range?.

A. 5.

B. 50.

C. 250.

D. Infinite.

Q38. Hexadecimal letters A through F are used for decimal equivalent values from:.

A. 1 through 6.

B. 9 through 14.

C. 10 through 15.

D. 11 through 17.

Q39. Convert the following decimal number to 8-bit binary : 35.

A. 000 100102.

B. 000 100112.

C. 00 1000112.

D. 00 1000102.

Q40. Convert the following hexadecimal number to binary : C9(16).

A. 10111001(2).

B. 10111011(2).

C. 10011100(2).

D. 11001001(2).

Q41. Convert the following decimal number to hexadecimal : 125.

A. 7D(16).

B. D7(16).

C. 7C(16).

D. C7(16).

Q42. A decimal 11 in BCD is ________..

A. 0000 1011.

B. 0000 1100.

C. 000 10001.

D. 000 10010.

Q43. What is the resultant binary of the decimal problem 49 + 01 = ?.

A. 0 1010101.

B. 00 110101.

C. 00 110010.

D. 00 110001.

Q44. The difference of 111 - 001 equals ________..

A. 100.

B. 111.

C. 1.

D. 110.

Q45. Convert the binary number 1100 to Gray code..

A. 00 11.

B. 1010.

C. 1100.

D. 1001.

Q46. The binary number 11101011000111010 can be written in hexadecimal as ________..

A. DD63A16.

B. 1D63A16.

C. 1D33A16.

D. 1D63116.

Q47. Which of the following is an invalid BCD code?.

A. 00 11.

B. 1101.

C. 0 101.

D. 1001.

Q48. Convert the Gray code 1011 to binary..

A. 1011.

B. 1010.

C. 0 100.

D. 1101.

Q49. Determine the decimal equivalent of the signed binary number 11110100 in 1's complement..

A. 116.

B. -12.

C. 11.

D. 128.

Q50. Convert the following decimal number to BCD : 127.

A. 0 11100100001.

B. 111010001.

C. 00 1010111.

D. 000 100100111.

Q51. Digital electronics is based on the ________ numbering system..

A. Decimal.

B. Octal.

C. Binary.

Q52. An informational signal that makes use of binary digits is considered to be:.

A. Solid state.

B. Digital.

C. Analog.

D. Non-oscillating.

Q53. The 1's complement of 10011101 is ________..

A. 0 1100010.

B. 10011110.

C. 0 1100001.

D. 0 1100011.

Q54. The binary number 101110101111010 can be written in octal as ________..

A. 51562(8).

B. 56577(8).

C. 65627(8).

D. 56572(8).

A. 711.

B. 2C7.

C. 811.

D. 1C9.

Q56. Convert the decimal number 151.75 to binary..

A. 10000111.11.

B. 11010011.01.

C. 00 111100.

D. 10010111.11.

Q57. Convert the following octal number to binary : 104(8).

A. 001000100(2).

B. 100000001(2).

C. 0010100(2).

D. 1000001(2).

Q58. 3428 is the decimal value for which of the following binary-coded decimal (BCD) groupings?.

A. 1101000100100 0.

B. 1101000010100 0.

C. 01101001000001 0.

D. 11010000110101 0.

Q59. The binary-coded decimal (BCD) system can be used to represent each of the 10 decimal digits as a(n):.

A. 4-bit binary code.

B. 8-bit binary code.

C. 16-bit binary code.

D. ASCII code.

Q60. The decimal number 18 is equal to the binary number ________..

A. 11110.

B. 10001.

C. 10010.

D. 1111000.

Q61. The 2's complement of 11100111 is ________..

A. 11100110.

B. 000 11001.

C. 000 11000.

D. 000 11010.

Q62. Convert the following decimal number to BCD : 469.

A. 100101101 000.

B. 010001101 001.

C. 100001101 001.

D. 100101100 100.

Q63. Express the decimal number -37 as an 8-bit number in sign-magnitude..

A. 10100101.

B. 0 0100101.

C. 11011000.

D. 11010001.

Q64. Convert the following BCD number to decimal : 010101101001(bcd).

A. 539.

B. 2551.

C. 569.

D. 1552.

Q65. The binary number 11001110 is equal to the decimal number ________..

A. 12.

B. 206.

C. 127.

D. 66.

Q66. The binary number for F3A(16) is ________..

A. 1 11100111010.

B. 1 11100111110.

C. 0 00000111010.

D. 0 00011000100.

Q67. Convert the following BCD number to decimal : 100000000011(bcd).

A. 8003.

B. 803.

C. 1003.

D. 103.

Q68. Convert the following hexadecimal number to binary: 14B(16).

A. 101101000001(2).

B. 000101001011(2).

C. 000101001101(2).

D. 110101000001(2).

Q69. What is the result when a decimal 5238 is converted to base 16?.

A. 327.375.

B. 12.166.

C. 1388.

D. 1476.

Q70. The octal number for binary 1101110101110110 is ________..

A. 654521(8).

B. 556561(8).

C. 156656(8).

D. 156566(8).

Q71. Convert the following hexadecimal number to decimal: 1CF(16).

A. 463.

B. 4033.

C. 479.

D. 4049.

Q72. Convert the binary number 1011010 to hexadecimal..

A. 5B.

B. 5F.

C. 5A.

D. 5C.

Q73. Convert the following decimal number to hexadecimal: 74.

A. A4(16).

B. B4(16).

C. 4A(16).

D. 4B(16).

Q74. Convert hexadecimal C0B to binary..

A. 1 10000001011.

B. 1 10000001001.

C. 1 10000001100.

D. 1 10100001011.

Q75. Convert binary 1001 to hexadecimal..

A. 9(16).

B. 11(16).

C. 101(16).

D. 10(16).

Q76. What is the decimal value of the hexadecimal number 777?.

A. 191.

B. 1911.

C. 19.

D. 19111.

Q77. Convert 11001001(2) to decimal..

A. 201.

B. 2001.

C. 20.

D. 210.

Q78. Convert the following decimal number to octal: 39.

A. 63(8).

B. 36(8).

C. 47(8).

D. 74(8).

Q79. The American Standard Code for Information Interchange (ASCII) uses how many individual pulses for any given character?.

A. 1.

B. 2.

C. 7.

D. 8.

Q80. Convert the following hexadecimal number to decimal :  B5(16).

A. 212.

B. 197.

C. 165.

D. 181.

Q81. The BCD number for decimal 16 is ________..

A. 10110.

B. 10000.

C. 10010.

D. 11100000.

Q82. Alphanumeric codes should include as a minimum:.

A. the capacity to represent the alphabet upper- and lowercase characters and the decimal numbers in a straight binary format..

B. the capacity to code all possible decimal numbers in a direct octal representation of BCD codes..

C. the alphabet upper- and lowercase letters, the decimal digits, the seven punctuation marks, and other characters or symbols..

D. the ability to represent decimal numbers greater than 128^10�in a straight binary format..

Answer= the alphabet upper- and lowercase letters, the decimal digits, the seven punctuation marks, and other characters or symbols.

Q83. The base of the hexadecimal system is:.

A. eight..

B. sixteen..

C. ten..

D. two..

Q84. Assign the proper even parity bit to the code 1100001..

A. 11100001.

B. 1100001.

C. 1100001.

D. 1110101.

Q85. Select one of the following statements that best describes the parity method of error detection..

A. Parity checking is best suited for detecting single-bit errors in transmitted codes..

B. Parity checking is not suitable for detecting single-bit errors in transmitted codes..

C. Parity checking is capable of detecting and correcting errors in transmitted codes..

D. Parity checking is best suited for detecting double-bit errors that occur during the transmission of codes from.

Answer= Parity checking is best suited for detecting single-bit errors in transmitted codes.

Q86. Which of the following is the primary advantage of using the BCD code instead of straight binary coding?.

A. Fewer bits are required to represent a decimal number with the BCD code..

B. The relative ease of converting to and from decimal..

C. BCD codes are easily converted to hexadecimal codes..

D. BCD codes are easily converted to straight binary codes..

Answer= The relative ease of converting to and from decimal.

Q87. How many BCD code bits and how many straight binary bits would be required to represent the decimal number 643?.

A. 12 BCD, 12 binary.

B. 12 BCD, 10 binary.

C. 12 BCD, 9 binary.

D. 16 BCD, 9 binary.