The number of bit strings of length 10 that contain either five consecutive 0’s or five consecutive 1’s is

This question was previously asked in
NIMCET 2015 Official Paper
View all NIMCET Papers >
  1. 64
  2. 112
  3. 220
  4. 222

Answer (Detailed Solution Below)

Option 4 : 222
Free
NIMCET 2020 Official Paper
10.7 K Users
120 Questions 480 Marks 120 Mins

Detailed Solution

Download Solution PDF

Calculation:

Observe first 5 consecutive 0s

Summation rule: the first 5 consecutive 0’s could start at position 1, 2, 3, 4, 5, or 6

Start at the first position

Other 5 bits can be anything: 25 = 32

Start at the second position

The first bit must be a 1

There are various possibilities that can be included in it.

Remaining bits can be anything: 24 = 16

Start at third position

The second bit must be a 1 due to above-mentioned reason.

First bit and last 3 bits can be anything: 24 = 16

Starting at 4,5 and 6 positions

Same as starting at positions 2 or 3: 16 each

Total = 32 + 16 + 16 + 16 + 16 + 16 = 112

The five consecutive 1’s ensue the same pattern and have different like 112 possibilities

There would be two cases counted twice (that we thus need to exclude): 0000011111 and 1111100000
Total = 112 + 112 - 2 = 222

Latest NIMCET Updates

Last updated on Jun 12, 2025

->The NIMCET 2025 provisional answer key is out now. Candidates can log in to the official website to check their responses and submit objections, if any till June 13, 2025.

-> NIMCET exam was conducted on June 8, 2025.

-> NIMCET 2025 admit card was out on June 3, 2025.

-> NIMCET 2025 results will be declared on June 27, 2025. Candidates are advised to keep their login details ready to check their scrores as soon as the result is out.

-> Check NIMCET 2025 previous year papers to know the exam pattern and improve your preparation.

Get Free Access Now
Hot Links: teen patti classic teen patti joy apk teen patti all teen patti casino apk teen patti real cash