Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Which of the following statements are true?I.... Start Learning for Free
Which of the following statements are true?
I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versa
II. All ∈ -productions can be removed from any context-free grammar by suitable transformations
III. The language generated by a context-free grammar all of whose productions are of the form    (where ω ,  is a string of terminals and  is a non-terminal), is always regular
IV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary trees
  • a)
    I, II, III and IV
  • b)
    II, III and IV only
  • c)
    I, III and IV only
  • d)
    I, II and IV only
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Which of the following statements are true?I. Every left-recursive gra...
Statement 1 is true: Using GNF we can convert Left recursive grammar to right recursive and by using reversal of CFG and GNF we can convert right recursive to left recursive.
Statement 2 is false: because if ∊ is in the language then we can't remove ∊ production from Start symbol. (For example L = a*)
Statement 3 is true because right linear grammar generates regular set
Statement 4 is true, only two non-terminals are there in each production in CNF. So it always form a binary tree.
View all questions of this test
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer?
Question Description
Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Which of the following statements are true?I. Every left-recursive grammar can be converted to a right-recursive grammar and vice-versaII. All∈ -productions can be removed from any context-free grammar by suitable transformationsIII. The language generated by a context-free grammar all of whose productions are of the form (where ω , is a string of terminals and is a non-terminal), is always regularIV. The derivation trees of strings generated by a context-free grammar in Chomsky Normal Form are always binary treesa)I, II, III and IVb)II, III and IV onlyc)I, III and IV onlyd)I, II and IV onlyCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev