1 votes 1 votes State True or False. All Linear languages are non-deterministic context free language. Theory of Computation theory-of-computation self-doubt context-free-language + – Overflow04 asked Oct 28, 2022 Overflow04 764 views answer comment Share Follow See all 17 Comments See all 17 17 Comments reply gatecse commented Oct 28, 2022 reply Follow Share What’s the confusion here? Definitions you can always see in standard books. 0 votes 0 votes raja11sep commented Oct 28, 2022 reply Follow Share What is linear language? 0 votes 0 votes gatecse commented Oct 28, 2022 reply Follow Share https://en.wikipedia.org/wiki/Linear_grammar#:~:text=In%20computer%20science%2C%20a%20linear,generated%20by%20some%20linear%20grammar. 1 votes 1 votes Overflow04 commented Oct 28, 2022 i edited by Overflow04 Oct 28, 2022 reply Follow Share @gatecse @Chandrabhan Vishwa 1 the statement was given true in made easy test series. Which bring me in confusion. 0 votes 0 votes Overflow04 commented Oct 28, 2022 reply Follow Share @raja11sep I think linear language here means the language accepted by Linear Bounded Automata. 0 votes 0 votes Overflow04 commented Oct 28, 2022 reply Follow Share @gatecse What is the meaning of “ I have no human form and many people take my form and contribute here.” When I generally want to tag you in other question, your name does not highlight. Are you a robot 🤨?? 0 votes 0 votes Chandrabhan Vishwa 1 commented Oct 28, 2022 i edited by Chandrabhan Vishwa 1 Oct 28, 2022 reply Follow Share can u send test series explanation i think this should be true because in category of linear language only regular language and deterministic contex free language come and nondeterministic cfl can also come in this category 0 votes 0 votes gatecse commented Oct 28, 2022 reply Follow Share @GateOverflow04 You cannot give your own definition to a standard term like ‘linear language’. Its definition is given in the Wikipedia page – referring standard resources (Wikipedia is not the best but is still far better than many other online pages) for simple things is one of the first steps in learning. Now from the definition of linear grammar, it is always a CFG. So, how can the given statement be False? The question says “non-deterministic” and not “not-deterministic”. 0 votes 0 votes Overflow04 commented Oct 28, 2022 reply Follow Share @gatecse non-deterministic context free language belongs to TYPE 2 LINEAR languages or context sensitive belongs to type 3. correct or wrong??? 0 votes 0 votes gatecse commented Oct 28, 2022 reply Follow Share Wrong. Where are you learning such things from? 1 votes 1 votes jugnu1337 commented Oct 28, 2022 reply Follow Share @GateOverflow04 bro linear bounded autometa (csl) and linear language both are different thing.. 1 votes 1 votes raja11sep commented Oct 29, 2022 i edited by raja11sep Oct 29, 2022 reply Follow Share Linear language means language generated by the linear grammar. Now linear grammar can be as powerful as CFG (sometimes) so it can generate some regular language, DCFL, and CFL . so the given statement is true.Note 1: Every regular grammar is linear grammar but the converse is false.Note 2: Every Linear grammar is CFG but Converse is not true.Answer: True.(CFG - Context Free Grammar)There are three things you need to know regarding linear languages... 1. It is the set of all languages created by linear grammars (LHS single variable and rhs atmost one variable i.e T*, T*V, VT* or T*VT*.. 2. It is a proper superset of Regular languages and a proper subset of CFLs 3. It is out of syllabus !!!!@gatecse sir please correct me if I’m wrong. 0 votes 0 votes gatecse commented Oct 29, 2022 reply Follow Share Linear language means language generated by the linear grammar. ✅ Now linear grammar can be as powerful as CFG (sometimes) ❌ Linear grammar is a strict subset of CFG. When we talk about power of a grammar class we are comparing the set of languages that can be generated by that – so power of linear grammar is strictly lower than the power of CFG. so it can generate some regular language, DCFL, and CFL . ❌ Linear grammar can generate ANY regular language. “Some” is true for DCFL and CFL. so the given statement is true. ✅ Note 1: Every regular grammar is linear grammar but the converse is false. ✅ Note 2: Every Linear grammar is CFG but Converse is not true. ✅ Answer: True. (CFG - Context Free Grammar) There are three things you need to know regarding linear languages... 1. It is the set of all languages created by linear grammars (LHS single variable and rhs atmost one variable i.e T*, T*V, VT* or T*VT*.. Not clear of the given examples. 2. It is a proper superset of Regular languages and a proper subset of CFLs ✅ 3. It is out of syllabus !!!! ❌ CFL and regular languages are mentioned in syllabus IIRC and so questions on linear languages can be asked. But GATE questions usually add the definition in question (what is linear language for example) if that is not very basic. 4 votes 4 votes Abhrajyoti00 commented Oct 29, 2022 reply Follow Share @gatecse These are some valuable comments to be bookmarked ❤ Thanks a lot :) P.s. It would be better if “bookmark comment” would have been a feature. 1 votes 1 votes raja11sep commented Oct 29, 2022 reply Follow Share @gatecse Thanks sir.😍 0 votes 0 votes raja11sep commented Oct 29, 2022 reply Follow Share @Abhrajyoti00 exactly. 1 votes 1 votes gatecse commented Oct 29, 2022 reply Follow Share @Abhrajyoti00 By default favorite and even lists are applicable only to questions. But any answer or comment has a unique link and you can always bookmark them in your browser like Chrome or Firefox. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes False,there are some linear languages which are dcfl,but all linear languages are context free languages. Himanshu555 answered Oct 28, 2022 Himanshu555 comment Share Follow See 1 comment See all 1 1 comment reply Chandrabhan Vishwa 1 commented Oct 28, 2022 reply Follow Share While regular languages are deterministic, there exist linear languages that are nondeterministic. 0 votes 0 votes Please log in or register to add a comment.