April 2000 QUESTION 2 Total Marks: 15 Marks |
Click here to access other
questions
Click to access |
(a)With the aid of a diagram,explain the characteristics of a stack.[6
marks ] (b)What is parameter passing?Describe two different ways in which
a system might perform arameter passing,and explain the benefits of
each.[5 marks ] (c)Write machine instructions (LOAD ADD,SUB,etc.)which use a stack
to com ute the following expression.What is the minimum stack size
needed by your program? |