1) Consider the following definitions for sets of characters: Digits={0, 1, 2, 3, 4, 5, 6,...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
1) Consider the following definitions for sets of characters: Digits={0, 1, 2, 3, 4, 5, 6, 7, 8, 9} = Letters {a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, W, X, Y, Z } Special characters = { *, &, $, # } Compute the number of passwords that satisfy the given constraints. (a) Strings of length 6. Characters can be special characters, digits, or letters. (b) Strings of length 7, 8, or 9. Characters can be special characters, digits, or letters. (c) Strings of length 7, 8, or 9. Characters can be special characters, digits, or letters. The first character cannot be a letter. (d) Strings of length 6. Characters can be special characters, digits, or letters, with no repeated characters. (e) Strings of length 6. Characters can be special characters, digits, or letters, with no repeated characters. The first character can not be a special character. 2) How many strings are there over the set {a, b, c} that have length 10 in which no two consecutive characters are the same? For example, the string "abcbcbabcb" would count and the strings "abbbcbabcb" and "aacbcbabcb" would not count. 1) Consider the following definitions for sets of characters: Digits={0, 1, 2, 3, 4, 5, 6, 7, 8, 9} = Letters {a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, W, X, Y, Z } Special characters = { *, &, $, # } Compute the number of passwords that satisfy the given constraints. (a) Strings of length 6. Characters can be special characters, digits, or letters. (b) Strings of length 7, 8, or 9. Characters can be special characters, digits, or letters. (c) Strings of length 7, 8, or 9. Characters can be special characters, digits, or letters. The first character cannot be a letter. (d) Strings of length 6. Characters can be special characters, digits, or letters, with no repeated characters. (e) Strings of length 6. Characters can be special characters, digits, or letters, with no repeated characters. The first character can not be a special character. 2) How many strings are there over the set {a, b, c} that have length 10 in which no two consecutive characters are the same? For example, the string "abcbcbabcb" would count and the strings "abbbcbabcb" and "aacbcbabcb" would not count.
Expert Answer:
Related Book For
Posted Date:
Students also viewed these business communication questions
-
1. a Java method to find the smallest number among three numbers.. Test Data: Input the first number: 25 Input the Second number: 37 Input the third number: 29 Expected Output: The smallest value is...
-
In schema normalisation, is Boyce-Codd Normal Form (BCNF) always to be preferred over 3rd Normal Form (4NF)? Explain your answer. [5 marks] 8 (TURN OVER) CST.2004.7.4 8 Economics, Law and Ethics (a)...
-
if we choose statistic as our keyword, our cipher would be determined as follows: method i. write the word statistic without the repeated letters. then complete the cipher with the unused alphabet...
-
Suppose the graph on the next page shows Tanzania's production possibilities frontier for cashew nuts and mangoes. Assume that the output per hour of work is 8 bushels of cashew nuts or 2 bushels of...
-
The Kare Counseling Center was incorporated as a not-for-profit voluntary health and welfare organization 10 years ago. Its adjusted trial balance as of June 30, 2017, follows. 1. Salaries and fringe...
-
Off copy Ltd. (OL) is an office supply company that also sells and services commercial office copiers. OL was founded in 2016 and has seen significant growth since then. OLs bookkeeper retired in...
-
An often-ignored concept in breach of contract is the availability, if any, of the award of punitive damages. Often, cases incorporate both breach of contract and tort actions. The tort actions...
-
A completed worksheet for The King Group is shown on the bottom of these two pages. INSTRUCTIONS 1. Record balances as of December 31, 2016, in the ledger accounts. 2. Journalize (use 3 as the page...
-
Annual sales (in millions of units) of a certain brand of tablet computers are expected to grow in accordance with the function f ( t ) = 0.18 t 2 + 0.16 t + 2.64 (0 t 4) per year, where t is...
-
Tropical Paradise Limited owns a franchise of restaurants on a Caribbean island. An analysis of the financial accounts for the year ended 31 October 2019 was as follows: Gross profit from restaurant...
-
Please provide an example of developing written recommendations for recording accounting entries related to real and personal property events, where such recommendations were supported by...
-
What is the price of a share of stock if the beta is 2, its next dividend is projected to be $4, and its growth rate is expected to be a constant 6%, assuming the market return is 16% and the...
-
Charlotte's Crochet Shoppe has 10,400 shares common stock outstanding at a price per share of $62 and a rate of return of 11.09 percent. The company also has 310 bonds outstanding, with a par value...
-
1. Respond to Shayne's criticism that shareholders' equity does not represent the market value of the company. What information does the statement of financial position provide? 2. The usefulness of...
-
At the beginning of the current year, Ursula Inc. has 130000 shares of common stock outstanding. The shares were originally issued at $11 per share for total proceeds of $1430000, with this amount...
-
Use induction to show that 1- rn+1 an r+1 1-r satisfies the recurrence relation ao = 1 ak = ak-1+rk k> 0. %3D
-
Discuss the information available from the following techniques in the analysis of inorganic pigments used in antique oil paintings: (i) Powder X-ray diffraction, (ii) Infrared and Raman...
-
Chapter 3 presented a hypothetical dialogue during our requirements elicitation. The initial requirements were later changed to allow for the web-based interface whose architecture was described in...
-
We discussed some issues about the role of networking in the future development of word processors. There are other issues, such as the responsibility of system administrators responsible for...
-
In Section 4.19, we mentioned that we should consider both large-scale components and matching design patterns in order to make our software engineering effort more efficient. We chose to consider...
-
What is an injunction?
-
What is the main effect of increased use of liability insurance?
-
What are the arguments in favour of imposing a wide liability on professionals?
Study smarter with the SolutionInn App