Wednesday, 3 June 2020

UGC NET Computer Science December 2019 | Question 100

Question 100
Consider the following language families :
L1 = The context - free languages
L2 = The context - sensitive languages
L3 = The recursively enumerable languages
L4 = The recursive languages
Which one of the following options is correct?
  1. (1) L1 ⊆ L2 ⊆ L3 ⊆ L4
  2. (2) L2 ⊆ L1 ⊆ L3 ⊆ L4
  3. (3) L1 ⊆ L2 ⊆ L4 ⊆ L3
  4. (4) L2 ⊆ L1 ⊆ L4 ⊆ L3
Answer : (3) L1 ⊆ L2 ⊆ L4 ⊆ L3

Explanation
Every regular language is context-free, every context-free language is context-sensitive, every context-sensitive language is recursive and every recursive language is recursively enumerable. These are all proper inclusions, meaning that there exist recursively enumerable languages that are not context-sensitive, context-sensitive languages that are not context-free and context-free languages that are not regular.

Theory of Computation - Chomsky Hierarchy

Reference : Theory of Computation - Chomsky Hierarchy

So, option 3 is correct answer

PreviousNext
UGC NET CS December 2019 - Question 99UGC NET CS December 2019 - Question 101

No comments:

Post a Comment

UGC NET Computer Science December 2019 | Question 16

Question 16 In a certain coding language. 'AEIOU' is written as 'TNHDZ'. Using the same coding language. 'BFJPV' wil...

Popular Posts