menu-iconExamlexExamLexServices

Discover

Ask a Question
  1. All Topics
  2. Topic
    Computing
  3. Study Set
    Theory of Computation
  4. Exam
    Exam 3: Computational Theory : Grammar, Language, and Complexity
  5. Question
    Consider the Following Statements About the Context Free Grammar G
Solved

Consider the Following Statements About the Context Free Grammar G

Question 2

Question 2

Multiple Choice

Consider the following statements about the context free grammar G = {S - >SS,S - >ab,S ->ba, S - ?}
I. G is ambiguous
II. G produces all strings with equal number of a's and b's
III. G can be accepted by a deterministic PDA.
Which combination below expresses all the true statements about G?


A) 1 only
B) 1 and 3
C) 2 and 3
D) 1,2 and 3

Correct Answer:

verifed

Verified

Related Questions

Q1: Recursively enumerable languages are not closed under:<br>A)Union<br>B)Intersection<br>C)Complementation<br>D)Concatenation

Q3: Let S be an NP-complete problem, Q

Q4: Give a production grammar for the language

Q5: A PC not connected to a network

Q6: A FSM can be considered, having finite

Q7: The following CFG is in<br>S ? Abb<br>B

Q8: The part of an FA, where the

Q9: The production Grammar is {S->aSbb,S->abb} is<br>A)type-3 grammar<br>B)type-2

Q10: Regular expression (x/y)(x/y) denotes the set<br>A){xy,xy}<br>B){xx,xy,yx,yy}<br>C){x,y}<br>D){x,y,xy}

Q11: Let SHAM3 be the problem of finding

Examlex

ExamLex

About UsContact UsPerks CenterHomeschoolingTest Prep

Work With Us

Campus RepresentativeInfluencers

Links

FaqPricingChrome Extension

Download The App

Get App StoreGet Google Play

Policies

Privacy PolicyTerms of ServiceHonor CodeCommunity Guidelines

Scan To Download

qr-code

Copyright © (2025) ExamLex LLC.

Privacy PolicyTerms Of ServiceHonor CodeCommunity Guidelines