37262 - Computer Programming

Course Unit Page


This teaching activity contributes to the achievement of the Sustainable Development Goals of the UN 2030 Agenda.

Quality education Decent work and economic growth Industry, innovation and infrastructure

Academic Year 2021/2022

Learning outcomes

At the end of the course, the student has a basic understanding of computational tools and terminology, including object oriented programming techniques. He is able to: - use programming languages to write small scale programs; - understand programs written by others; - map financial problems, such as pricing systems and risk measurement models, into computational solutions.

Course contents

Basic notions on operating systems, networks and information systems.
Scripting Languages. The Python interpreter. Computer programming in Python.
Variables expressions, and statements; Functions, conditionals and recursion; Iteration; Data types; Tables; csv files; spreadsheet creation; Web scraping;
Object Oriented Programming; case studies. Accessing Financial Data.


How to Think Like a Computer Scientist: Learning with Python, by Allen Downey, Jeff Elkner and Chris Meyers. Gree Tea Press (link: https://media.readthedocs.org/pdf/howtothink/latest/howtothink.pdf)

Finantial Modelling in Python, by S. Fletcher and C. Gardner. Wiley Finance 2009.

Teaching methods

lectures and class exercises.

As concerns the teaching methods of this course unit, all students must attend Module 1, 2 [https://www.unibo.it/en/services-and-opportunities/health-and-assistance/health-and-safety/online-course-on-health-and-safety-in-study-and-internship-areas] on Health and Safety online.

Assessment methods

Written test: 1/3 programming exercises in Python

Teaching tools

whiteboard + video projector + laptop

Links to further information


Office hours

See the website of Mauro Gaspari