Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Peterlinz question
Lakshya Mission 1
asked
in
Theory of Computation
Jul 8, 2016
edited
Sep 28, 2016
by
go_editor
422
views
2
votes
2
votes
Please write grammar for it and explain with example.
$L=\{w \: : n_a(w) > n_b(w) \}$
grammar
theory-of-computation
Lakshya Mission 1
asked
in
Theory of Computation
Jul 8, 2016
edited
Sep 28, 2016
by
go_editor
by
Lakshya Mission 1
422
views
answer
comment
Follow
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
1
vote
1
vote
S -> ASb | bSA | SS | a
A-> aA | a
VS
answered
Mar 4, 2018
edited
Mar 5, 2018
by
Prashant.
by
VS
comment
Follow
share this
1 comment
by
joshi_nitish
commented
Mar 4, 2018
reply
Follow
share this
is '$\epsilon$' present in language ?
1
1
Please
log in
or
register
to add a comment.
← Previous
Next →
← Previous in category
Next in category →
Related questions
1
vote
1
vote
1
answer
1
Lakshya Mission 1
asked
in
Theory of Computation
Jul 8, 2016
392
views
Peterlinz exercise
Please solve this question with proper explanation: $L=\{ w : \: n_a(w) = 2n_b(w) \}$
Lakshya Mission 1
asked
in
Theory of Computation
Jul 8, 2016
by
Lakshya Mission 1
392
views
grammar
theory-of-computation
0
votes
0
votes
0
answers
2
Ramayya
asked
in
Theory of Computation
Jan 7
180
views
ISRO 2024
Consider the context-free grammer $G$ below. There $S$ is the starting non terminal symbol, while $a$ and $b$ are terminal symbols. $S \rightarrow aaSb | T$ $T \rightarrow Tb | a$ Which of the following statments is true about the language $L(G)$ generated by $G$? ... $aaaabb$ does not $aaaabb$ belongs to $L(G)$ but $aabbaabb$ does not $aaabb$ belongs to $L(G)$ but $aaaaabbb$ does not
Ramayya
asked
in
Theory of Computation
Jan 7
by
Ramayya
180
views
isro-2024
theory-of-computation
grammar
0
votes
0
votes
2
answers
3
gateexplore
asked
in
Theory of Computation
Jul 2, 2023
252
views
Theory of Computation
gateexplore
asked
in
Theory of Computation
Jul 2, 2023
by
gateexplore
252
views
ambiguous
grammar
theory-of-computation
self-doubt
0
votes
0
votes
0
answers
4
Silver_Reaper
asked
in
Theory of Computation
Feb 6, 2023
506
views
An Introduction to Formal Languages and Automata,Peter Linz,6th edition,exercise 3.3 q3
Find a regular grammar that generates the language L (aa ∗ (ab + a) ∗ ).
Silver_Reaper
asked
in
Theory of Computation
Feb 6, 2023
by
Silver_Reaper
506
views
theory-of-computation
regular-language
grammar
peter-linz
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
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
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy