Question:medium

Which of the following are valid hexadecimal numbers?
• [(i)] 1A3F
• [(ii)] 29GF
• [(iii)] FF12
• [(iv)] 7BHE

Show Hint

A hexadecimal number can contain only: \[ 0-9 \quad \text{and} \quad A-F \] If you find letters such as G, H, I, J, etc., the number is immediately invalid.
  • (i), (ii) and (iv)
  • (i), (ii) and (iii)
  • (i) and (iii)
  • (i), (iii) and (iv)
Show Solution

The Correct Option is C

Solution and Explanation


Step 1:
Checking number (i): 1A3F The characters present are: \[ 1,\ A,\ 3,\ F \] All of these belong to the valid hexadecimal set. Therefore, \[ 1A3F \] is a valid hexadecimal number.

Step 2:
Checking number (ii): 29GF The characters present are: \[ 2,\ 9,\ G,\ F \] The letter G does not belong to the hexadecimal digit set. Therefore, \[ 29GF \] is not a valid hexadecimal number.

Step 3:
Checking number (iii): FF12 The characters present are: \[ F,\ F,\ 1,\ 2 \] All characters belong to the hexadecimal digit set. Therefore, \[ FF12 \] is a valid hexadecimal number.

Step 4:
Checking number (iv): 7BHE The characters present are: \[ 7,\ B,\ H,\ E \] The letter H is not allowed in hexadecimal notation. Therefore, \[ 7BHE \] is not a valid hexadecimal number.

Step 5:
Writing the final result. Valid hexadecimal numbers are: \[ (i)\quad \text{and}\quad (iii) \] Hence, the correct option is: \[ {(C)\ (i)\ \text{and}\ (iii)} \]
Was this answer helpful?
0


Questions Asked in Karnataka PGCET exam