We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

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. :-)

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

Views: 438

.

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

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

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

Mani Siddiqui BS VIII liked Maham Raza.'s discussion Tera Jana Zarori Hai.
43 minutes ago
Mani Siddiqui BS VIII posted a status
"janta hoo aziyat kya hai... khena k bht kxh hona... lakin... khamoosh rhana..........."
47 minutes ago
47 minutes ago
51 minutes ago
Habiba replied to Habiba's discussion MGT602 GDB No. 1 Spring 2020 Due Date 08-06-2020 in the group MGT602 Entrepreneurship
1 hour ago
Mehak Aziz joined +M.Tariq Malik's group

### EDU402 Curriculum Development

1 hour ago
Habiba added a discussion to the group MGT602 Entrepreneurship

### MGT602 GDB No. 1 Spring 2020 Due Date 08-06-2020

1 hour ago
Mehak Aziz joined +M.Tariq Malik's group

### EDU602 Educational Leadership and Management

1 hour ago
1 hour ago
1 hour ago
+!!! Pepsi Girl !!! liked Maham Raza.'s discussion Tera Jana Zarori Hai.
1 hour ago

1

2

3