Let us consider the following three statements:
I. Recursively enumerable languages are those that can be accepted by a Turing machine;
II. Recursive languages are those that can be decided by a Turing machine;
III. A recursively enumerable language accepted by a Turing machine that halts is recursive.
Which of the following holds?
a.Only I;
b.Only II;
c.Only I and II;
d.Only II and III;
e. All I, II, and III.
e. All I, II, and III.
Explanation:
Recursive Enumerable (RE)
RE languages or type-0 languages are generated by type-0 grammars. An RE language can be accepted or recognized by Turing machine which means it will enter into final state for the strings of language and may or may not enter into rejecting state for the strings which are not part of the language. It means TM can loop forever for the strings which are not a part of the language. RE languages are also called as Turing recognizable languages.
A recursively enumerable language is a formal language for which there exists a Turing machine (or other computable function) that will halt and accept when presented with any string in the language as input but may either halt and reject or loop forever when presented with a string not in the language. Contrast this to recursive languages, which require that the Turing machine halts in all cases.
Recursive Language (REC)
A recursive language (subset of RE) can be decided by Turing machine which means it will enter into final state for the strings of language and rejecting state for the strings which are not part of the language. e.g.; L= {anbncn | n>=1} is recursive because we can construct a turing machine which will move to final state if the string is of the form anbncn else move to non-final state. So the TM will always halt in this case. REC languages are also called as Turing decidable languages.
Let us consider the following three statements: I. Recursively enumerable languages are those that can be...
Automata question Categorize the languages as I. Type 0 or Recursively Enumerable Languages II. Type 1 or CSL III. Type 2 or CFL IV. Type 3 or Regular in accordance to the Chomsky hierarchy (select only one of the answers designating the lowest level - Note that Type 3 is the lowest level and Type 0 is the highest level) over the alphabet {0,1} L = {0n10k |k, n is any integer} i think its type 0.. am i right ?...
Question 9. Consider the language {a"b" : n >0}. (i) Is this a regular language? Why or why not? (ii) Is this a recursively enumerable language? Why or why not? Question 10. Consider the function defined by f(n) = 2 where n is a positive integer. (i) Can this function be computed by a Turing machine? Why or why not? (ii) Is this function primitive recursive? Why or why not?
If L1 and L2 are Regular Languages, then L1 ∪ L2 is a CFL. Group of answer choices True False Flag this Question Question 61 pts If L1 and L2 are CFLs, then L1 ∩ L2 and L1 ∪ L2 are CFLs. Group of answer choices True False Flag this Question Question 71 pts The regular expression ((ac*)a*)* = ((aa*)c*)*. Group of answer choices True False Flag this Question Question 81 pts Some context free languages are regular. Group of answer choices True...
Consider the following four statements concerning hypothesis tests. I. We can decrease the probability of a Type II error by increasing the sample size. II. We can decrease the probability of a Type II error by decreasing the sample size. III. We can decrease the probability of a Type I error by increasing the level of significance . IV. We can decrease the probability of a Type I error by decreasing the level of significance . Which statements above are...
I need help with that
5. Let Σ-ta, b). Write the δ function for the following (1) dfa (δου'Qu Σ-Q) and (2) nfa (5,ra : Q x (BU {λ)) → P(D) respectively. 92 92 6. Give the languages accepted by the dfa and nfa in the above 6 (1) and 6(2), respectively 7. (1) When is a language L called as regular? (2) (i) Prove language L = {а"wb: we {a, b) *,n2 O} įs regular by design an nfa...
5) Consider the following statements: I: If two triangles are congruent, then they have equal defect. II: If two triangles are similar, then they have equal defect. III: If two triangles have equal defect, then they are similar. IV: If two triangles have equal defect, then they are congruent. Identify which statements can be proved in Neutral Geometry and which cannot be proved in Neutral Geometry. If a statement can be proved, provide a proof. If it cannot be proved,...
Problem #10: [3 marks] Let A be a 4 x 3 matrix. Consider the following statements. (i) The set consisting of all of the row vectors of the reduced row.echelon form of A is a basis for the rowspace of A. (ii) The row space of A is a subspace of R. (iii) The vector (0,0,0)' is in the nullspace of A. Determine which of the above statements are always True (1) or may be False (2). So, for example,...
Problem #5: [3 marks] Let u and y be vectors in R. Consider the following statements. (i) u vl = ||0|| + ||v|| (ii) ||u + v||2 = ||u||2 + ||v||2 + 2(u'v) (iii) If au + bv = cu + dv and a, b, c, and d are all nonzero then u = 0 and v=0. Determine which of the above statements are True (1) or False (2). So, for example, if you think that the answers, in the...
Consider the following statements as you respond to the question: i. Based on my research and reading, I'm sure I want to pursue a career in fraud examination. ii. Good grades and leadership skills generally lead to a good job. iii. I am sure I'll pass the CPA exam on my first attempt. iv. I can definitely complete my accounting degree within four years. v. I've spoken to several friends and family members who work for large corporations. Which group...
1. Consider the following statements: I. Clearly trivial and not material are terms that can be used interchangeably. II. The higher the dollar amount of (performance) materiality the less audit evidence is required. a. I is true; II is true b. I is true; II is false c. I is false; II is true d. I is false; II is false 2. Consider the following statements: I. Per auditing standards, the successor [new]...