ISRO Scientist/Engineer CSE 2014Discrete Mathematics › Not yet assigned to a topic
ISRO Scientist/Engineer CSE 2014 PYQ: The number of bit strings of length 8 that will either start with 1 or end with 00 is?
The number of bit strings of length 8 that will either start with 1 or end with 00 is?
- A32
- B128
- C160Correct answer
- D192
Answer
(C) $160$
Approach
Use the inclusion-exclusion principle. Count bit strings of length 8 that start with 1, add those that end with 00, then subtract the overlap (strings that both start with 1 and end with 00) since they were counted twice.
Reviewed by ISRO IQ Editorial Team.