GATE 2024 Theory of computation Foundation Quiz 39
Attempt now to get your rank among 68 students!
Question 1
L1 is known to be a some context-free language.
L2 = {w|w contains some x as substring and x ∈ L1}
Which of the following is true ?
Question 2
S1 : If a language is DCFL , then it satisfies prefix property
S2 : If a language satisfies prefix property , then it is DCFL.
Question 3
S1 : {w1cw2 | w1, w2∈ {a, b}*, w1≠ w2} is regular language.
S2: {an bn + k | n ≥ 0, k ≥ 1} ∪ {an + k bn | n ≥ 0, k ≥ 3} is DCFL.
Which of the following is true about S1 and S2?
Question 4Multiple Correct Options
L1 = {an 0 bn│n ≥ 0}
L2 = {0wwR │w ∈ (a, b)*}
L3 = {w0wR│w ∈ (a, b)*}
L4 = {wwR│w∈ (a, b)*}
Question 5
S1 : Infinite union of regular languages can be context-free.
S2 : Language obtained after applying Kleen closure on a regular language will always be regular and infinite.
Which of the above statement is true?
- 68 attempts
- 0 upvotes
- 0 comments