Discussion
What is the number of bit patterns provided by a 7 bit code?
Answer: B
Correct answer: 128
Each bit is independently 0 or 1, so \( n \) bits give \( 2^n \) distinct patterns. With \( n = 7 \), \[ 2^7 = 128 \] patterns are available - which is exactly why 7-bit ASCII defines 128 characters. \( 2^6 = 64 \), \( 2^8 = 256 \) and \( 2^9 = 512 \) correspond to 6, 8 and 9 bits.
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