Purchase Solution

CFG(context free grammar)

Not what you're looking for?

Ask Custom Question

1. Consider the CFG for "some English". Show how that CFG can generate the sentence:
Itchy the bear hugs jumpy the dog

2. Change the productions so that an article cannot come between an adjective and its noun.

Purchase this Solution

Solution Summary

Context free grammar is examined. The change production has on articles are determined.

Solution Preview

Please see the attachment for solution.

Consider the following grammar with S being the start symbol and A,B,C,D, and V are non-terminals, whose ...

Purchase this Solution


Free BrainMass Quizzes
C++ Operators

This quiz tests a student's knowledge about C++ operators.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.