GATE 2003

December 16, 2023

Question 8421 – Algorithms

December 16, 2023

GATE 2003

December 16, 2023

Question 8421 – Algorithms

December 16, 2023

GATE 2003

Question 15

If the strings of a language L can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?

A
L is necessarily finite
B
L is regular but not necessarily finite
C
L is context free but not necessarily regular
D
L is recursive but not necessarily context free
Question 15 Explanation: 
The given language L is to be recursively enumerable. The TM which accepts the language which is in lexicographic order. If the language is not in lexicographic order which is not accepted by TM.
The give ‘L’ is recursive but not necessarily context free.
Correct Answer: D
Question 15 Explanation: 
The given language L is to be recursively enumerable. The TM which accepts the language which is in lexicographic order. If the language is not in lexicographic order which is not accepted by TM.
The give ‘L’ is recursive but not necessarily context free.

Leave a Reply

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