Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assignment Week 2 No Author Given Department of Computer Science California State University, Los Angeles I ) Give a formal definition with any notations for

Assignment Week 2
No Author Given
Department of Computer Science
California State University, Los Angeles
I) Give a formal definition with any notations for each of the following: Alpha-
bet, String, Language, Concatenation of strings, Reverse of a string, Substring,
Length of a string, Star-Closure of an alphabet, Positive Closure of an alphabet,
Sentence of a language.
II) For a language L, describe the Complementation, and Star-Closure.
III) Describe the relationship of Language, Grammar and Automata (over a
given alphabet).
IV) Write derivations for four strings of various lengths and describe what is
the language generated, L(G) by the following grammar G.
V ={S, A, B}, T ={a, b}
P = S -> A, S -> B, B -> bB, A -> aA, A ->\lambda , B ->\lambda ,
S is the start nonterminal.
V) Write derivations for four strings of various lengths and describe what is
the language generated, L(G) by the following grammar
S -> aSaa|B, B -> bB|\lambda
VI) Write derivations for four strings of various lengths and describe what is
the language generated, L(G) by the following grammar
S -> aSaa|B, B -> bB
VII) Describe the operation of Automaton as an Accepter.
VIII) Let X ={a, b}
L1={a, ab, abb}
L2={\lambda , b, bb}
Describe all the following languages as a set of strings.
1) L3= L1\cap L2
2) L1L3
3) L3L1
4) L1L2
5) L1
6) LR
1
7) LR
2
8) P
9) L2
10) L0
1
11) L1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

6. Explain how you would conduct a job analysis.

Answered: 1 week ago

Question

Explain the various collection policies in receivables management.

Answered: 1 week ago

Question

What are the main objectives of Inventory ?

Answered: 1 week ago

Question

Explain the various inventory management techniques in detail.

Answered: 1 week ago