Consider the following two statements: S1: { 0^2n|n>=1 } is a regular language S2: { 0^ m 0^ n 0^(m + n) * lm >= 1 and n >= 2} is a regular language Which of the following statements is correct?  a) Only S1 is correct b) Only S2 is correct c) Both S1 and S2 are correct d) None of S1 and S2 is correct

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter3: Understanding Structure
Section: Chapter Questions
Problem 18RQ
icon
Related questions
Question

Consider the following two statements:

S1: { 0^2n|n>=1 } is a regular language

S2: { 0^ m 0^ n 0^(m + n) * lm >= 1 and n >= 2} is a regular language

Which of the following statements is correct? 

a) Only S1 is correct

b) Only S2 is correct

c) Both S1 and S2 are correct

d) None of S1 and S2 is correct

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Concept of pointer parameter
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning