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

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ 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

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Please carefully read the following instructions before attempting assignment.


Rules for Marking

It should be clear that your assignment would not get any credit if:


  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • Strict action will be taken if submitted solution is copied from any other student or from the internet.



1)      You should concern recommended books to clarify your concepts as handouts are not sufficient.

2)      You are supposed to submit your assignment in .doc format. Any other formats like scan images, PDF, zip, rar, bmp etc will not be accepted.





No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding or internet malfunctioning etc.). Hence refrain from uploading assignment in the last hour of deadline. It is recommended to upload solution file at least two days before its closing date.


For any query, feel free to email at:






Question No. 1                                                                                                                 10 Marks

Write assembly language instructions to execute the following expression on 0-address and 3-address machines.

F = A + (B × C / D) – E





Question No. 2                                                                                                                  10 Marks

A compiler designer is trying to decide between two code sequences for a particular machine. The hardware designers have supplied the following facts:



Instruction Class

CPI required for each class









The compiler designer intends to write two code sequences to achieve a task. Both code sequences are required the following instruction count.



Code Sequence

Instruction Count for each sequence














a)      Which code sequence will execute faster? Justify your answer on the basis of CPU clock cycles calculations.


b)     What is the CPI for each code sequence?

+ How to Follow the New Added Discussions at Your Mail Address?

+ 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?

See Your Saved Posts Timeline

Views: 9119


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

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

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Replies to This Discussion

Good info

Lets Discuss Students 

baba of cs501 like a "White Robot".

He is genius 

100% tek kaha

assembly language 

start tu karen ab isko 

1st question ??

yar kya karna hay is assinmant ka


© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service