The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent questions tagged derivationtree
+1
vote
1
answer
1
Peter Linz Edition 4 Derivation Trees Definition 5.3 (Page No. 130)
Which of the following is false for derivation tree of CFG $G (V, T, P, S)$ ? The root is labeled $S$. Every leaf has a label from $V ⋃ T ⋃ \{ λ \}$. A vertex with a child labeled $λ$ can only have it as the rightmost child. $\text{1 & 3}$ $\text{1 & 2}$ $\text{2 & 3}$ $\text{Only 2}$
asked
Feb 24, 2018
in
Theory of Computation
by
tarun_svbk
Active
(
1.7k
points)

92
views
theoryofcomputation
peterlinz
contextfreegrammars
derivationtree
+1
vote
0
answers
2
CNF and GNF
Given answer is (a) but L>AB i think it is wrong because A and B produce something else Previously, so instead of L>AB there would have given like L>MN M>c1 and N>S then it was correct . if I am wrong please correct me.
asked
Aug 6, 2017
in
Compiler Design
by
learner_geek
Active
(
3.2k
points)

481
views
theoryofcomputation
contextfreelanguage
discretemathematics
derivationtree
cnf
+1
vote
0
answers
3
CNF and GNF
Is it mandatory in GNF that first element in production must be terminal(I am considering there is no Left recursion) Is it mandatory in CNF that in production only two nonterminal or terminal should be there Can we not take in one production as two nonterminal and one terminal OR one terminal and two nonterminal
asked
Aug 5, 2017
in
Theory of Computation
by
learner_geek
Active
(
3.2k
points)

1.3k
views
theoryofcomputation
derivationtree
contextfreelanguage
cnf
0
votes
1
answer
4
[TOC] CNF Tree Depth
1. Assume that we have CNF tree of depth of h(Assume root at height 0).What is the maximum yeild possible in terms of h? 2. Assume that we have a string of length n,what is the min and max height of parse tree possible in CNF. Please explain
asked
Jan 12, 2017
in
Theory of Computation
by
rahul sharma 5
Boss
(
25.2k
points)

191
views
theoryofcomputation
contextfreelanguage
cnf
derivationtree
To see more, click for the
full list of questions
or
popular tags
.
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
OFFICIAL GATE MOCK TEST RELEASED
IIITH: Winter Research Admissions 2019 (For Spring 2020)
TIFR and JEST exam
Minimal Deterministic Finite Automata
To be aware of fake GATE test series
Follow @csegate
Recent questions tagged derivationtree
Recent Blog Comments
@ankitgupta.1729 options after JEST for...
@ankitgupta.1729 @arjun sir There is no...
@ankitgupta.1729 IISc accepts only...
still it's usefull for practice purpose and...
@Satbir Its a valuable info..Thanks
50,650
questions
56,192
answers
193,988
comments
94,857
users