Posts

stack

Last edited: August 8, 2025

stack is where all local variables and parameters live for a function. The stack frame goes away when the function returns.

stack grows downwards in memory; each function call sets aside some space in stack regardless if local variables are used.

stack trace

Last edited: August 8, 2025

A stack trace is the output of failing code by the runtime to indicate the location of the fault. For instance, in Python:

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-1-0b766d7d4bc7> in <module>
----> 1 0+""

TypeError: unsupported operand type(s) for +: 'int' and 'str'

standard error

Last edited: August 8, 2025

Stanford Factoids Index

Last edited: August 8, 2025

Locales of Interest

  • 5th flr Green Library: Albert Bender Room
  • 380-382T, 2nd floor: UG Math Student Lounge

Classes of Interest

Classes that Were Good

Resources

  • tutoring.stanford.edu
  • hume center
  • skills coaching: academicskills.stanford.edu

Tips

  • ask your UAD about research opportunities and networking with faculty connections
  • show up for office hours