Skip to content

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?

  1. A
    32
  2. B
    128
  3. C
    160
    Correct answer
  4. D
    192

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.