Workshop: Programming Lab
A.Y. 2026/2027
Learning objectives
The course guides the student to practice the concepts of cmoputer programming (by using Python as programming language) and the solution of problems by using algorithmic approaches.
Expected learning outcomes
Students will acquire the ability to autonomously write algorithms and transform them in computer programs to solve practical problems in the application areas of the MS program. Students will extensively practice the use of Python as programming language.
Lesson period: First semester
Assessment methods: Giudizio di approvazione
Assessment result: superato/non superato
Single course
This course can be attended as a single course.
Course syllabus and organization
Single session
Responsible
Lesson period
First semester
Course syllabus
The workshop is devoted to Python programming practice and problem solving through algorithmic approaches.
The workshop addresses the main programming concepts from an applied perspective, with particular attention to writing, running, testing and correcting Python programs.
The topics covered include:
- use of the Python programming environment
- execution of scripts and notebooks
- reading, understanding and modifying existing code
- variables, expressions and data types
- input, output and formatting
- conditional statements
- loops and iteration
- functions and code modularization
- basic data structures
- strings, lists, tuples, sets and dictionaries
- reading and writing files
- handling simple data in textual or tabular format
- introductory use of Python libraries
- debugging and testing programs
- guided and independent programming exercises
- discussion of alternative solutions and programming best practices
The topics are addressed through progressive exercises, with attention to writing correct, readable and testable code.
The workshop addresses the main programming concepts from an applied perspective, with particular attention to writing, running, testing and correcting Python programs.
The topics covered include:
- use of the Python programming environment
- execution of scripts and notebooks
- reading, understanding and modifying existing code
- variables, expressions and data types
- input, output and formatting
- conditional statements
- loops and iteration
- functions and code modularization
- basic data structures
- strings, lists, tuples, sets and dictionaries
- reading and writing files
- handling simple data in textual or tabular format
- introductory use of Python libraries
- debugging and testing programs
- guided and independent programming exercises
- discussion of alternative solutions and programming best practices
The topics are addressed through progressive exercises, with attention to writing correct, readable and testable code.
Prerequisites for admission
Basic computer skills.
Familiarity with basic programming concepts is useful.
Familiarity with basic programming concepts is useful.
Teaching methods
Hands-on computer exercises, guided examples, individual activities and discussion of solutions.
Students are invited to bring their own laptop.
Students are invited to bring their own laptop.
Teaching Resources
Teaching material provided by the instructor:
- slides
- notebooks
- exercises
- code examples
- data files
- selected solutions
Additional references to Python documentation and introductory Python resources will be provided during the workshop.
- slides
- notebooks
- exercises
- code examples
- data files
- selected solutions
Additional references to Python documentation and introductory Python resources will be provided during the workshop.
Assessment methods and Criteria
The assessment includes:
- a written exam or practical test
- a project and/or oral discussion
- assignments or exercises given during the workshop
The evaluation considers the ability to understand a problem, design a simple algorithmic solution, implement it in Python, test it and correct possible errors.
- a written exam or practical test
- a project and/or oral discussion
- assignments or exercises given during the workshop
The evaluation considers the ability to understand a problem, design a simple algorithmic solution, implement it in Python, test it and correct possible errors.
Professor(s)