J. Correia Lopes

FEUP/DEI & INESC TEC

User Tools

Site Tools


teach:fpro:lectures:06

T: 11/10/2018

Master in Informatics and Computing Engineering
Programming Fundamentals
Instance: 2018/2019


Lecture #6 :: 11/10/2018

Goals

By the end of this class, the student should be able to:

  • Describe an overview of the Modules available in the Python Standard library
  • Describe the contents of the math and random modules
  • Use the Python Help and understand its meta-notation
  • Debug Python programs
  • Trace a program

Content

  • Python Modules
  • 3.3.8 Help & Meta-notation
  • Debugging Interlude
  • 3.3.6 Tracing a program
  • 3.4 Tips & common errors
  • Exercises

Bibliography

  • Peter Wentworth, Jeffrey Elkner, Allen B. Downey, and Chris Meyers, How to Think Like a Computer Scientist — Learning with Python 3, 2018 (sections: 3.3.6, 3.3.8, 3.4) PDF
  • Brad Miller and David Ranum, Learning with Python: Interactive Edition. Based on material by Jeffrey Elkner, Allen B. Downey, and Chris Meyers (Chapter 5 HTML) (Chapter 3 HTML)

Materials

Summary

  • Modules and the Python Standard Library. Help and meta-notation. Trace. Introduction to debug. Tips and common errors.

FPRO, 2018/19

« Previous | Index | Next »

teach/fpro/lectures/06.txt · Last modified: 11/10/2018 11:05 by Correia Lopes