Question: Construct derivation trees for the sentences in Exercise 1. In exercise 1 a) The happy hare runs b) The sleepy tortoise runs quickly c) The
In exercise 1
a) The happy hare runs
b) The sleepy tortoise runs quickly
c) The tortoise passes the hare
d) The sleepy hare passes the happy tortoise
The grammar with start symbol sentence, set of terminals T = {the, sleepy, happy, tortoise, hare, passes, runs, quickly, slowly}, set of nonterminals N = {noun phrase, transitive verb phrase, intransitive verb phrase, article, adjective, noun, verb, adverb}, and productions:
Adjective sleepy
Adjective happy
Noun tortoise
Noun hare
Transitive verb passes
Intransitive verb runs
Adverb quickly
Adverb slowly
sentencenoun phrase transitive verb phrase noun phrase
Step by Step Solution
3.54 Rating (175 Votes )
There are 3 Steps involved in it
We simply translate the derivations we gave in t... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
923-M-C-M-S (2646).docx
120 KBs Word File
