We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

plz send me second assignment solution of cs606

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

Views: 267

Replies to This Discussion

These are the questions:

Assignment Statements:

Suppose that a handle is a substring that matches a right hand side or production rule in the grammar and whose reduction to the non-terminal on the left hand side of that grammar rule is a step along the reverse of a right most derivation.

Question # 1:

Find the handles of the sentential forms occurring in the derivation of string “id + id * id” by the following grammar
E → E+E | E*E | id

Question # 2:

Consider the following grammar and show the handle of each right sentential form for string (a, (a, a)).
S → (L) | a
L → L, S | S
Q1:
E  E + E  E + E * E  E + E * id  E + id * id  id + id * id
Q2:
S(L)(L,S)(L,(L))(L,(L,S))(L,(L,a))(L,(S,a))(L,(a,a))(S,(a,a))
(a,(a,a))
Q1:
E  E + E  E + E * E  E + E * id  E + id * id  id + id * id
Q2:
S(L)(L,S)(L,(L))(L,(L,S))(L,(L,a))(L,(S,a))(L,(a,a))(S,(a,a))
(a,(a,a))

Latest Activity

S ι у α ♡ updated their profile
47 minutes ago
2 hours ago
2 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + posted discussions
2 hours ago
2 hours ago
3 hours ago
+ ⵑⵑ ӍᎥŞŞ ⲤһᵘʳһშᎥⵏ ⵑⵑ + updated their profile
3 hours ago
+ !! Ήලᵯᵯℹ Ⲥⱨ !! + liked Ammara Sabir's discussion !!!!!!Muhabbat!!!!!!
3 hours ago
3 hours ago
3 hours ago
3 hours ago
3 hours ago

1

2

3

4

5