Discussion
The hexadecimal number system uses which base?
Answer: C
Correct answer: 16
Hexadecimal is base 16, using the digits 0 to 9 followed by the letters A to F for the values 10 to 15. It is used because each hexadecimal digit corresponds to exactly four bits, so binary can be written compactly and converted by inspection rather than by arithmetic. The byte 11010110 splits into 1101 and 0110, which are D and 6, giving D6. Octal, base 8, works the same way with three bits per digit, and was common in the era of 12-, 24- and 36-bit machines; hexadecimal took over once 8-, 16- and 32-bit words became standard, since those divide evenly by four. Hexadecimal is written with a prefix to avoid ambiguity: 0x in C and its descendants, or a trailing H in assembly. It appears throughout computing - memory addresses, colour codes such as #FF0000 for red, and MAC addresses are all hexadecimal.
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development