wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Number of bit strings of length 5 with two or more consecutive zeros is______.

A
12
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
16
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
19
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
17
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is C 19
option (a)

Number of bit srings of length
5=25=32

Indirect counting:

Let us enumerate number of invalid strings.

Case 1: Number of bit strings with no zeros = 1

Case 2 : Number of bit strings with one zero
= 5C1=5

Case 3: Number of bits strings with two separated zeros
= 4C2=6

Case 4 : Number of bit strings with three separated zeros
3C3=1

Required number of strings
=32(1+5+6+1)

= 19

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Factorising Numerator
QUANTITATIVE APTITUDE
Watch in App
Join BYJU'S Learning Program
CrossIcon