For ฮฃ = {๐‘Ž, ๐‘}, let us consider the regular language ๐ฟ = { ๐‘ฅ |๐‘ฅ = ๐‘Ž2+3๐‘˜ or ๐‘ฅ = ๐‘10+12๐‘˜, ๐‘˜ โ‰ฅ 0}. Which one of the following

For ฮฃ = {๐‘Ž, ๐‘}, let us consider the regular language ๐ฟ = { ๐‘ฅ |๐‘ฅ = ๐‘Ž2+3๐‘˜ or ๐‘ฅ = ๐‘10+12๐‘˜, ๐‘˜ โ‰ฅ 0}. Which one of the following

Q. For ฮฃ = {๐‘Ž, ๐‘}, let us consider the regular language ๐ฟ = { ๐‘ฅ |๐‘ฅ = ๐‘Ž2+3๐‘˜ or ๐‘ฅ = ๐‘10+12๐‘˜, ๐‘˜ โ‰ฅ 0}. Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for ๐ฟ ?

(A) 3

(B) 5

(C) 9

(D) 24

Ans: 24

Solution:

According to Pumping lemma, there must be repetition (DFA then it repeats some states, and regular grammar repeats its nonterminal in derivation.) for all acceptable stings. Therefore, minimum Pumping Length should be 11, because string with length 10 (i.e., w = b10) does not repeat anything, but string with length 11 (i.e., w = b11) will repeat states. Therefore, pumping length for given language should greater than 10, which is 24. Option (D) is correct.

Gkseries: Gkseries.com is a premier website to provide complete solution for online preparation of different competitive exams like UPSC, SBI PO, SBI clerical, PCS, IPS, IAS, IBPS PO, IBPS Clerical exam etc. & other graduate and post-graduate exams. Learn more on about us page