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

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

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

# Today paper 7/20/2013 Time 12:30 p.m

Aslam-O-Alikum. MCQ's are 30% from past papers. Check attached file

40 MCQ's

4 Question of 2 Marks

4 Question of 3 Marks

4 Question of 5 Marks

Subjective Questions are:

1) S ->{SX} | a           2 Marks

X -> ε| + SY | Yb

Y -> ε | - SXc

Find Non- Terminals and Terminals

2) why use common sub-expression.     2 Marks

3) Which Information we can get the second section of YACC file.   2 Marks

4) In main memory, what type of information store in data segment.   2 Marks

5) One Question conceptual about get rid. Microsoft use parsing technique and it hava face problem. we will help about alternative solution. e.t.c    3 Marks

6) When compiler use stack for allocation at run time for storing variable.    3 Marks

7) Write Basic block 3-address code segment.    3 Marks

1) a = 1

2) b = 2

3) c = a + b

4) d = c - a

8) Difference between Attribute Grammer and Syntax directed translation.  3 Marks

9) Let CFG G= {Vn,Vt,S,P} where    Marks 5

Vn = {<goal>, <expression>, <term>, <factor>}

Vt = {a,b,c,-,+}

S = {goal}

Define the production of G and drive the string a-b+c

10) One Question about Lable and Goto Simply describe about uses of those 2 control flow statement.    Marks 5

11) DAG representation of Basic Block    Marks 5

t1 := a + b

t2 := c + d

t3 := e - t2

t4 := t1 - t3

12) Ye question kafi lengthy tha lekan ye parse tree k topic main sy he tha. or parse tree he bnana tha    5 Marks

Regard,,

And

Best of Luck. :-)

+ 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: 446

Attachments:

### Replies to This Discussion

Muhammad Awais thanks for sharing ur paper to help other fellows.best of luck for ur result

Attention Related Final Term papers Spring 2013: All Fellows You don’t need to go at any other site for current Final Term papers Spring  2013, Because All discussed data/sharing of our members in this discussion are going from here to other sites. You can judge this at other sites yourself. So don’t waste your precious time with different links.

Dear Fellows,

All of you are requested, Please post Only One Discussion For Current Assignment/GDB/Online Quiz and everyone reply/share/discussed his/her data on that same discussion, so that all members get solution & discuss easily on Current Assignment/GDB/Online Quiz.

So please don’t post two or more discussions for one Current Assignment/GDB/Online Quiz, hope you’ll understand and cooperate with us.

Already started discussion for current papers spring 2013

http://vustudents.ning.com/group/cs606compilerconstruction/forum/to...

5 marks questions

1 register allocation using coloring problem

2 Add semantic rules to the following grammar to compute the attribute rm, whose value is the rightmost
terminal in the string we parsed. For example, if the string parsed were zxyxy, S.rm would be y.
(5marks)

3

TM\$_' thanks

Attention Related Final Term papers Spring 2013: All Fellows You don’t need to go at any other site for current Final Term papers Spring  2013, Because All discussed data/sharing of our members in this discussion are going from here to other sites. (Other sites Admins/mods Copy from here & posted at their sites with fake IDs or original name: p). you can judge this at other sites yourself. So don’t waste your precious time with different links.

wao mri file me se v aya ta .. good ... ! :)

## Latest Activity

39 minutes ago
khaaniii and Muhammad Abid joined +M.Tariq Malik's group

### MGT402 Cost & Management Accounting

43 minutes ago
47 minutes ago
48 minutes ago
+M.Tariq Malik added a discussion to the group MKT630 International Marketing

### MKT630 International Marketing GDB No 01 Fall 2020 Solution / Discussion

49 minutes ago
52 minutes ago
52 minutes ago
+M.Tariq Malik added a discussion to the group MGMT622 Management Skills

### MGMT622 Management Skills GDB Fall 2020 Solution / Discussion Last Date: 27-11-2020

53 minutes ago
55 minutes ago
+M.Tariq Malik added a discussion to the group HRM627 Human Resource Development

### HRM627 Human Resource Development GDB Fall 2020 Solution / Discussion Last Date: 27-11-2020

59 minutes ago
RANA ATEEB SALEEM, Shahzeb Zubair, Rana Fiaz Rasool and 17 more joined Virtual University of Pakistan
1 hour ago
1 hour ago

1

2

3