Question
1. (4 pts) Consider all bit strings of length five. a) How many possible values are there without restriction? b) How many begin with 01?
1. (4 pts) Consider all bit strings of length five.
a) How many possible values are there without restriction?
b) How many begin with 01?
c) How many begin with 01 and end with 10?
d) How many begin with 01 or end with 10?
2.(8 pts) Suppose that a "word" is any string of five letters. Repeated letters are allowed. For our purposes, vowels are the letters a, e, i, o, and u.
a) How many words are there?
b) How many words begin with a vowel?
c) How many words begin with a vowel or end with a vowel?
d) How many words have no vowels?
e) How many words have exactly one vowel?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started