Consider all bit strings of length 12 How many have 8 0s and 4 1s that have exactly 3 consecutive...
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 exactly four 1's?
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.
Problem 3 (Counting binary strings) 20 marks/ Consider all bit strings of length 15. 1. How many begin with 00? 2. How many begin with 00 and end with 11? 3. How many begin with 00 or end with 10? 4. How many have exactly ten 1's? 5. How many have exactly ten 1's such as none of these 1's are adjacent to each other? Provide detailed justifications for your answers. Problem 3 (Counting binary strings) 20 marks/ Consider all...
How many binary sequences of length 20 are there that(a) Start with a run of 0s—that is, a consecutive sequence of (at least) one 0—then a run of 1s, then a run of 0s, then a run of 1s, and finally finish with a run of 0s?(b) Repeat part (a) with the constraint that each run is of length at least 2.
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?
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
Discrete mathematics 2) Let be eumber of ternary strings (of 0s, 1s and 2s) of length n that have no adjacent even digits. For example, so (the empty string), s3 (the strings 0, 1 and 2), while s2 5: 01, 0, 12, 2 because the strings 00,02, 20, 22 are not allowed, as they have adjacent even digits. As another example, the string 10112 is allowed, while the strings 10012 and 120121 are not allowed (a) Find #3; (b) find...
an urn contains 12 red How many positive integers between 100 and 500 inclusive, a. are divisible by 7? b. are odd? c. have the same three decimal digits? (e.g. 333) d. have distinct digits? (e.g. 123, 234, etc.) How many bit strings of length 8 contain a. exactly three 1s? b. at most three 1s? c. at least three 1s? d. an equal number of Os and 1s?
Hexadecimal digits are 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, and F. (Please explain briefly) How many hexadecimal strings of length ten have at least three E’s? How many hexadecimal strings of length ten have exactly two A’s and at most two B’s? How many hexadecimal strings of length ten have six digits from the set 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 and four digits from the set...