Each bit in the 15 bit string can take 2 possible values (0 and 1)
1. Number of strings starting with 00 = 213 = 8192
2. Number of strings starting with 00 and end with 11 = 211 = 2048
3. Begin with 00 or end with 11 = begin with 00 + end with 11 - begin with 00 and end with 11 = 213 +213 -211 =14336
4. Exactly 10 1's = 15C10 = 3003
We solve only 4 questions in one post. Please post again for other solutions.
Problem 3 (Counting binary strings) 20 marks/ Consider all bit strings of length 15. 1. How many ...
Exercise 8.12.20: Counting binary strings. (a) How many binary strings of length 12 do not have exactly four 1's? (b) How many binary strings of length 12 start with 101 or 1110? (e) How many binary strings of length 12 start with 00 or end with 00 or both?
Let A be the set of all bit strings of length 10. 1. How many bit strings of length 10 are there? How many bit strings of length 10 begin with 1101? How many bit strings of length 10 have exactly six 0's? How many bit strings of length 10 have equal numbers of O's and 1's? How many bit strings of length 10 have more O's than 1's? a. b. c. d. e.
Consider all bit strings of length 12. How many have exactly four 1's?
4. [6 marks] (Basic Counting) How many bit strings of length 10 contain either five consecutive 0s or five consecutive 1s?
consider all bit strings of length 12 How many have 8 0s and 4 1s that have exactly 3 consecutive 1s (allow 4 consecutive 1s)? A 90 В 72 С 45 D 36 E 9 consider all bit strings of length 12 How many have 8 0s and 4 1s that have exactly 3 consecutive 1s (allow 4 consecutive 1s)? A 90 В 72 С 45 D 36 E 9
Imprecise Counting - Long Runs in Binary Strings Let n=2^k for some positive integer k and consider the set Sn of all n-bit binary strings. Let c be an integer in {0,…,n−k}. Consider any j∈{1,…,n−k−c+1}. How many strings b1,…,bn∈Sn have bj,bj+1,…,bj+k+c−1=00…0? In other words, how many strings in Sn have k+c consecutive zeros beginning at position j? For each j∈{1,…,n−k+c+1}, let Xj be the subset of Sn consisting only of the strings counted in the previous question. Show that (n−k−c+1)∑(j=1)...
Multiple Choice How many strings of length 12 over the alphabet {a,b,c} have exactly three a's or have exactly three b's or have exactly three c's? (1?).22-3-(3) °(12):22-3-(?) (3) ° (13)-3-(1) QUESTION 20 Multiple Choice How many binary strings of length 12 have exactly six 1's or begin with a 0? ° (62) +211 -(0 ° (12) +201 - 1 ° (6) +211 -(5) ° (12) + 211
ework Sets Mult: Problem 7 Problern 7 Settings Previous Problem List Next (3 points) Problems A bit is a digit which can be either 0 or 1. A bit string is a sequence of bits. The length of a bit string is how many bits there are in it. The empty string is the one with zero bits in it (has length zero). lem 1 Hem 2 Tem 3 em 4 em 5 em 6 em 7 (a) How many...
Problem 3 a) How many strings are there of length 10 over the alphabet (a, b) with exactly five a's? b) How many strings are there of length 10 over the alphabet (a, b, c) with exactly five a's?
PROJECT 2-COUNTING SUBSETS (BINARY STRINGS Choose 6 letters of the English alphabet including all the different characters in your family name (If you have more than & diffecent characters, choose the first 61. Let X be the set di all lower case vensions of the letters you have chosen. Let S be the set of all binary strings of length 6 (0 Using cofrect set notation, list the elements in set X. (u) ust all the subsets of X with...