Number Systems and Codes: Binary, Hexadecimal, Octal, and ASCII

Test your knowledge of different number systems including binary, hexadecimal, and octal, along with ASCII code representations.

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is a binary number?

  1. 101011
  2. 12345
  3. ABCDEF
  4. 0x1234
Question 2 Multiple Choice (Single Answer)

What is the hexadecimal representation of the decimal number 255?

  1. FF
  2. 100
  3. 11111111
  4. 1111111111111111
Question 3 Multiple Choice (Single Answer)

Convert the octal number 755 to decimal.

  1. 493
  2. 503
  3. 513
  4. 523
Question 4 Multiple Choice (Single Answer)

Which of the following is an ASCII code for the letter 'A'?

  1. 65
  2. 97
  3. 101
  4. 110
Question 5 Multiple Choice (Single Answer)

What is the binary representation of the hexadecimal number 1A?

  1. 11010
  2. 11110
  3. 11101
  4. 11001
Question 6 Multiple Choice (Single Answer)

Which of the following is a valid octal number?

  1. 101
  2. 789
  3. 1111
  4. 1777
Question 7 Multiple Choice (Single Answer)

Convert the decimal number 1234 to hexadecimal.

  1. 4D2
  2. 4C2
  3. 4E2
  4. 4B2
Question 8 Multiple Choice (Single Answer)

What is the ASCII code for the digit '5'?

  1. 48
  2. 49
  3. 50
  4. 51
Question 9 Multiple Choice (Single Answer)

Convert the binary number 11001101 to decimal.

  1. 205
  2. 206
  3. 207
  4. 208
Question 10 Multiple Choice (Single Answer)

Which of the following is a valid hexadecimal number?

  1. G1H
  2. 123Z
  3. FF00
  4. ABCD
Question 11 Multiple Choice (Single Answer)

Convert the octal number 345 to binary.

  1. 111001001
  2. 111001101
  3. 111010011
  4. 111010111
Question 12 Multiple Choice (Single Answer)

What is the ASCII code for the uppercase letter 'C'?

  1. 67
  2. 68
  3. 69
  4. 70
Question 13 Multiple Choice (Single Answer)

Convert the hexadecimal number 2AF to decimal.

  1. 687
  2. 688
  3. 689
  4. 690
Question 14 Multiple Choice (Single Answer)

Which of the following is a valid binary number?

  1. 101011
  2. 11110001
  3. 100011111
  4. 1111111111111111
Question 15 Multiple Choice (Single Answer)

Convert the decimal number 1023 to binary.

  1. 1111111111
  2. 1111111110
  3. 1111111101
  4. 1111111100