+
Investigating code efficiency
Faculty Commons material developed by Michelle Kuchera - Published June 20, 2019
This short activity exposes students to the considerations necessary when thinking about writing efficient code. This is the beginning of having students think about order of operations, the time comparison for executing a function such a print versus a simple operation such as +. Also, the magic command for timing code in Jupyter is introduced.
This material is freely available to registered verified educators.
Login or register as a verified educator for free to access instructor-only material.