3 ms·
I assume you showed at each step where the results of the computations were stored? That's what the assignment was really about: can you inspect the stack and f
by scott_s 15y ago
I assume you showed at each step where the results of the computations were stored? That's what the assignment was really about: can you inspect the stack and find a known value?
I was a TA in a computer systems class. Many of our homework assignments told the students to do a certain set of things, then explain why they see what they see. What I looked for was understanding. If you had shown on even one of the stacks where an expected value was, I'd give full credit.
- JoeAltmaier 15y agoHm. I don't think that was the point. It was just to get everybody down to the computer center, run something, get your output back. We never looked at dumps again, we learned to use I/O macros next. I believed the instructor was arrogant and dumb, probably felt challenged by somebody brighter than her. But I was 17 and the same I guess.
- scott_s 15y agoYou never looked at dumps again as an assignment, sure, but being able to inspect a stack dump for an expected value is an invaluable tool when debugging.