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

16 minutes ago
+ "ραℓωαѕнα" joined + M.Tariq Malik's group

### MTH601 Operations Research

32 minutes ago
+ "ραℓωαѕнα" joined + M.Tariq Malik's group

### CS508 Modern Programming Languages

32 minutes ago
+ "ραℓωαѕнα" joined + M.Tariq Malik's group

### CS506 Web Design and Development

32 minutes ago
+ "ραℓωαѕнα" joined + M.Tariq Malik's group

### CS411 Visual Programming

32 minutes ago
Mani Siddiqui Ex posted a status
"دنیا کے سامنے اکڑ کر چلنے والا لڑکا اگر جُھک کر تمہاری پایل باندھے تو مانو گی عشق ہے"
47 minutes ago
Saleha joined + M.Tariq Malik's group

### PSY404 Abnormal Psychology

1 hour ago
trustedmeds updated their profile
3 hours ago
Minaal posted a discussion

### lesson plan

3 hours ago
Mani Siddiqui Ex posted discussions
4 hours ago
5 hours ago
Ateeqa replied to + !! Ήලᵯᵯℹ Ⲥⱨ !! +'s discussion !!!! bilkul!!!!
6 hours ago

1

2

3

4

5