Construct a finite-state machine that determines whether the word computer has been read as the last eight characters in the input read so far, where the input can be any string of English letters.
A Moore machine
Want to see the full answer?
Check out a sample textbook solutionChapter 13 Solutions
DISCRETE MATHEMATICS LOOSELEAF
- PLEASE TYPE ONLY*** Exercise 5.11.2: Counting binary strings. Count the number of binary strings of length 10 subject to each of the following restrictions. There is only one binary string of length ten with no 1's: 00000000000. There are 210 binary strings of length ten. Therefore the number of binary strings of length ten with at least one 1 is 210 - 1. (b) The string has at least one 1 and at least one 0. (c) The string contains exactly five 1's or it begins with a 0. Exercise 5.11.4: Counting integer multiples. (b) How many integers in the range 1 through 140 are integer multiples of 2, 5, or 7?arrow_forwardData were collected from a random sample of 330 home sales from a community in 2003. Let Price denote the selling price (in $1,000), BDR denote the number of bedrooms, Bath denote the number of bathrooms, Hsize denote the size of the house (in square feet), Lsize denote the lot size (in square feet), Age denote the age of the house (in years), and Poor denote a binary variable that is equal to 1 if the condition of the house is reported as "poor." An estimated regression yields Price=129.9 +0.529BDR+25.5Bath +0.170Hsize +0.004Lsize +0.098Age-53.2Poor, R² = 0.78, SER=45.2. Suppose that a homeowner converts part of an existing family room in her house into a new bathroom. What is the expected increase in the value of the house? The expected increase in the value of the house is $. (Round your response to the nearest dollar.) Suppose that a homeowner adds a new bathroom to her house, which increases the size of the house by 109 square feet. What is the expected increase in the value of…arrow_forwardData were collected from a random sample of 220 home sales from a com- munity in 2013. Let Price denote the selling price (in $1000), BDR denote the number of bedrooms, Bath denote the number of bathrooms, Hsize denote the size of the house (in square feet) Lsize denote the lot size (in square feet), Age denote the age of the house (in years), and Poor denote a binary variable that is equal to 1 if the condition of the house is reported as "poor." An estimated regression yields Price = 119.2 + 0.485BDR + 23.4Bath + 0.156Hsize + 0.002Lsize + 0.090Age - 48.8Poor, R2 = 0.72, SER = 41.5. a. Suppose that a homeowner converts part of an existing family room in her house into a new bathroom. What is the expected increase in the value of the house? b. Suppose that a homeowner adds a new bathroom to her house, which increases the size of the house by 100 square feet. What is the expected increase in the value of the house? c. What is the loss in value if a homeowner lets his house run down so…arrow_forward
- Data were collected from a random sample of 320 home sales from a community in 2003. Let Price denote the selling price (in $1,000), BDR denote the number of bedrooms, Bath denote the number of bathrooms, Hsize denote the size of the house (in square feet), Lsize denote the lot size (in square feet). Age denote the age of the house (in years), and Poor denote a binary variable that is equal to 1 if the condition of the house is reported as "poor" An estimated regression yields: Price 126.4+0.5148DR 24.88ath+0.165Haize+0.002Lsize (25.3) (2:43) (9.48) (0.012) +0.095Age-51.7 Poor, R-0.76, SER-44.0 (0.330) (11.1) The f-statistic for the coefficient on BDR is (Round your response to three decimal places.) Is the coefficient on BDR statistically significantly different from zero? OA. Since the f-statistic 0.05, the coefficient on BDR is not statistically significantly different from zero. OC. Since the f-statistic 1.96, the coefficient on BDR is statistically significantly different from…arrow_forwardIn a survey of 120 people it was found that 65 read news week magazine,45 read time,42 read fortune,20 read both Newsweek and time,25 read both Newsweek and fortune,15 read both time and fortune,8 read all three magazine. find the number of people who read atleast one of the three magazine, find the number of people who read exactly one magazine and draw the Venn diagram to illustrate these facts 2. Each user on a computer system has a password,which is 6 to 8 characters long, where each character is an upper case letter or a digit.each password must contain atleast one digit.how many possible password are there. How many ways are there to place 10 indistinguishable balls into 8 distinguishable bins? 3. How many ways are there to choose 6 items from 10 distinct items when (a)the items in the choice are ordered and repetition is not allowed.(2) the items in the choice are ordered and repetition is allowed.arrow_forward2. An information source produces binary triplets {000, 111,010, 101, 001, 110, 100, 011} with corresponding prob- abilities {1/4, 1/4, 1/8, 1/16, 1/16, 1/16, 1/16). A binary code assigns a codeword of length - log₂ Pk to triplet k. Let X be the length of the string assigned to the output of the information source. (b) Find the pmf of X.arrow_forward
- Help me with my computational theory class homeworkarrow_forward1) Alice chooses her password using Pokemon name. She randomly picks X Pokemons, take the first 3 characters from each Pokemon's name, and concatenates them to form her password. Let's assume that there are a total of 210= 1024 Pokemons and the first 3 characters of their names are unique. Alice uses the password for her home wifi access point (using WPA2-PSK). Among the choices below, which is the smallest X that meets the security requirement. i) 8ii) 6iii) 2iv) 13v) 30vi) 4arrow_forwardAssume that to lig in to a computer network a paaword must be entered. A hacker who is trying to break into the system rendomly types one password every 12 seconds. If the hacker does not enter a valid password within 6 minutes, the system will not allow any further attempts to log in. The password consists of any sequence of two letters and three digits. Cases does not matter for the letters. Thus, B12q5 and b12Q5 are considered the same password. What is the probability that the hacker will be successful in discovering a valid passward? ( Hint: If E is an event, then P(E')=1-P(E), where E' is the complement of event E.)arrow_forwardHow many of these students like Haydn and exactly one of the other two?arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
- Elements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage Learning