Question

Please answer True or False on the following: 1. Let L be a set of strings...

Please answer True or False on the following:

1. Let L be a set of strings over the alphabet Σ = { a, b }. If L is infinite, then L* must be infinite (L* is the Kleene closure of L)

2. Let L be a set of strings over the alphabet Σ = { a, b }. Let ! L denote the complement of L. If L is finite, then ! L must be infinite.

3. Let L be a set of strings over the alphabet Σ = { a, b }. Let ! L denote the complement of L. If L is infinite, then ! L must be finite.

4. Let L be a set of strings over the alphabet Σ = { a, b }. If L is finite, then L* must be infinite.

Homework Answers

Answer #1

1. Let L be a set of strings over the alphabet Σ = { a, b }. If L is infinite, then L* must be infinite (L* is the Kleene closure of L)false

2. Let L be a set of strings over the alphabet Σ = { a, b }. Let ! L denote the complement of L. If L is finite, then ! L must be infinite.true

3. Let L be a set of strings over the alphabet Σ = { a, b }. Let ! L denote the complement of L. If L is infinite, then ! L must be finite. true

4. Let L be a set of strings over the alphabet Σ = { a, b }. If L is finite, then L* must be infinite. false

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Let S denote the set of all possible finite binary strings, i.e. strings of finite length...
Let S denote the set of all possible finite binary strings, i.e. strings of finite length made up of only 0s and 1s, and no other characters. E.g., 010100100001 is a finite binary string but 100ff101 is not because it contains characters other than 0, 1. a. Give an informal proof arguing why this set should be countable. Even though the language of your proof can be informal, it must clearly explain the reasons why you think the set should...
1. [10 marks] We begin with some mathematics regarding uncountability. Let N = {0, 1, 2,...
1. [10 marks] We begin with some mathematics regarding uncountability. Let N = {0, 1, 2, 3, . . .} denote the set of natural numbers. (a) [5 marks] Prove that the set of binary numbers has the same size as N by giving a bijection between the binary numbers and N. (b) [5 marks] Let B denote the set of all infinite sequences over the English alphabet. Show that B is uncountable using a proof by diagonalization.
Let F be the set of all finite languages over alphabet {0, 1}. Show that F...
Let F be the set of all finite languages over alphabet {0, 1}. Show that F is countable
Please answer True or False for the following statements: 1.) In hypothesis testing, if the null...
Please answer True or False for the following statements: 1.) In hypothesis testing, if the null hypothesis is rejected, then the alternative or motivated hypothesis must also be rejected. 2.) Under certain conditions, binomial distributions can be approximated by normal distributions. 3.) Using a normal distribution to approximate binomial probabilities is extremely accurate, but takes an excessive amount of time and should be avoided. 4.) A bell-shaped curve is still normal, even if the mean, median, and mode are not...
Q2 [10 pts] Give DFA's accepting the following languages over the alphabet {0,1}: a) The set...
Q2 [10 pts] Give DFA's accepting the following languages over the alphabet {0,1}: a) The set of all strings whose 3rd symbol from the right end is a 0. b) The set of strings such that the number of 0's is divisible by 3 and the number of 1's divisible by 2.
Let swap_every_two be an operation on languages that is defined as follows: swap_every_two(L) = {a2a1a4a3 ....
Let swap_every_two be an operation on languages that is defined as follows: swap_every_two(L) = {a2a1a4a3 . . . a2na2n−1 | a1a2a3a4 . . . a2n−1a2n ∈ L where a1, . . . , a2n ∈ Σ} In this definition, Σ is the alphabet for the language L. 1. What languages result from applying swap every two to the following languages: (a) {1 n | n ≥ 0}, where the alphabet is {1}. (b) {(01)n | n ≥ 0}, where the...
7. Answer the following questions true or false and provide an explanation. • If you think...
7. Answer the following questions true or false and provide an explanation. • If you think the statement is true, refer to a definition or theorem. • If false, give a counter-example to show that the statement is not true for all cases. (a) Let A be a 3 × 4 matrix. If A has a pivot on every row then the equation Ax = b has a unique solution for all b in R^3 . (b) If the augmented...
Answer the following T for True and F for False: __ A vector space must have...
Answer the following T for True and F for False: __ A vector space must have an infinite number of vectors to be a vector space. __ The dimension of a vector space is the number of linearly independent vectors contained in the vector space. __ If a set of vectors is not linearly independent, the set is linearly dependent. __ Adding the zero vector to a set of linearly independent vectors makes them linearly dependent.
1. Let A and B be sets. The set B is of at least the same...
1. Let A and B be sets. The set B is of at least the same size as the set A if and only if (mark all correct answers) there is a bijection from A to B there is a one-to-one function from A to B there is a one-to-one function from B to A there is an onto function from B to A A is a proper subset of B 2. Which of these sets are countable? (mark all...
Answer the following questions True or False. Write “True” or “False” in the blank. 1._________   The...
Answer the following questions True or False. Write “True” or “False” in the blank. 1._________   The rate constant changes if the concentrations of the reactant change. 2._________   If the concentration of a reactant changes, the rate of the reaction always changes. 3._________   The coefficients of the overall reaction tell us the order for each reactant. 4._________   The half-life for a first order reaction does not depend on the initial concentration. 5._________   If the rate of a reaction over a long...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT