Discussion
A mask to keep the low six bits of a byte is
Answer: C
Correct answer: 0x3F
Six bits set is 0011 1111, which is \( 0x3F \). A quick check: a mask of n low bits is \( 2^n - 1 \), so \( 64 - 1 = 63 \), and 63 in hexadecimal is \( 0x3F \). The distractor \( 0x60 \) confuses the count of bits with their positions.
No comment is present. Be the first to comment.
Loading…
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