Given a language 𝐿, define 𝐿𝑖 as follows

Q. Given a language 𝐿, define 𝐿𝑖 as follows:

𝐿0 = {πœ€}

𝐿𝑖 = πΏπ‘–βˆ’1 β‹… 𝐿 π‘“π‘œπ‘Ÿ π‘Žπ‘™π‘™ 𝑖 > 0

The order of a language L is defined as the smallest k such that πΏπ‘˜ =Β Β Β  πΏπ‘˜+1. Consider the language L1 (over alphabet 0) accepted by the following automaton.

The order of L1 is

Ans: 2

Sol:

L1 = Ξ΅ + 0(00)*
L0 = Ξ΅
L1 = Ξ΅ . (Ξ΅ + 0(00)*)
    = Ξ΅ + 0(00)* = L1

L2 = L1 . L1 = L1 . L1
    = (Ξ΅ + 0(00)*) (Ξ΅ + 0(00)*)
    = Ξ΅ + 0(00)* + 0(00)* + 0(00)* . 0(00)*
    = Ξ΅ + 0(00)* + 0(00)* 0(00)* = 0*

Given automaton contains epsilon and even number of 0’s and odd numbers of 0’s.

L3 = L2 . L1
    = {0*} . {Ξ΅ + 0(00)*} = 0* 0(00)* = 0*
So, L2 = L3 = L2+1
So, smallest value of k = 2

Take Mock Tests

Government Schemes Mock Test Start Test!
Political Science Mock Test – 42 Start Test
History Test – 190 Start Test
Quantitative Aptitude Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
We will be happy to hear your thoughts

Leave a reply

Gkseries.com
Logo
Register New Account