Gate2018 cs Q42

0. Given a language L, define Li as follows:

Li = Li-1∙L for all i>0
The order of a language L is defined as the smallest k such that Lk=Lk+1. Consider the language L1 (over alphabet 0) accepted by the following automaton.

The order of is ___________.

Note – Numerical Type question

  • Option : A
  • Explanation :
    We need to find smallest value of k which satisfies
    L1k = L1k+1

    L1 = ε + (00)
    Try k = 0; L10 = L11
    ε = L1 which is false.
    So order is not 0.
    Try k = 1: L11 = L12
    L12 = L1 Now, L12 =(ε + 0(00)*)(ε + 0(00)*)
    = ε + 0(00)* + 00(00)* = 0*
    Clearly L12 ≠ L1
    So order is not 1.
    Try k = 2: L12 = L13
    Now, L13 = L12.L1
    = 0*(ε + 0(00)*) = 0*
    Clearly L13 = L12=0*
    (so, order of L1 is 2)
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *