here score is what the no of ones in the string
we are given that
string must contains 10’s 1
and
the string must start and end with 1
and
2 0s cant be consecutive so we have to fill zeros in the gap
1 _1 _1_1 _1 _1 _1 _1 _ 1_1
so here we have 10’s 1 and 9 gap
so we can fill 9 gaps with 0 zero,1zeros,2 zeros, 9 zeros
filling 9 gaps with no zero=9C0
filling 9 gaps with one zero=9c1
filling 9 gaps with 2 zero=9C2
filling 9 gaps with 3 zero=9C3
filling 9 gaps with 4 zero=9C4
filling 9 gaps with 5 zero=9C5
filling 9 gaps with 6 zero=9C6
filling 9 gaps with 7 zero=9C7
filling 9 gaps with 8 zero=9C8
filling 9 gaps with 9 zero=9C9
so total combinations possible is =9C0+9C1+9C2+9C3+9C4+9C5+9C6+9C7+9C8+9C9
=2^(9)
=512