All Exams Test series for 1 year @ ₹349 only
Question

How many bit strings of length ten either start with a 1 bit or end with two bits 00?

The correct answer is

640

There are \(2^9\) strings starting with 1 and \(2^8\) ending with 00. Their intersection fixes three bits and has \(2^7\) strings. Inclusion–exclusion gives \(2^9+2^8-2^7=512+256-128=640\).

Was this answer helpful?

Important Questions from Generating Functions - Teaching

  1. The general solution of recurrence relation

    \(a_r-5a_{r-1}+6a_{r-2}=4^r,\ r\ge2\) is:

  2. Every bounded sequence has

  3. How many are there to place 8 indistinguishable balls into four distinguishable bins?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App