Workshop: Programming Lab

A.Y. 2024/2025
3
Max ECTS
36
Overall hours
Language
English
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.
Single course

This course cannot be attended as a single course. Please check our list of single courses to find the ones available for enrolment.

Course syllabus and organization

Single session

Responsible
Lesson period
First semester
Course syllabus
Starting with Python
-Getting familiar with a python editor (Jupyter)
-Run first programs
-values, types and arithmetic operators

Variables and expressions

Statements:
- Conditional statements ( If-else statements)
- Loops (for and while)
- break, continue and pass statments

Data types
-String
-List
-Set

I/O instructions
-Get input values
-formatted output

functions, recursion

I/O files
-Reading and writing from/to files

Libraries
-Install and import libraries
-Usage of libraries (ex: math, statistics)
- Pandas, Numpy and Matplotlib

Object-oriented programming
-Classes
-Contructors
-Variables and functions
Prerequisites for admission
Basic computer skills
Teaching methods
Laboratory exercises.
Students will follow the lessons in a computer lab, where they will solve exercises by applying the corresponding algorithms and implementing codes using the Python programming language.
An explanation of the concepts and the objectives of each lesson will be provided at the beginning of the lecture.
The exercises will be available on the course website by each lecture.
Teaching Resources
Book:
Think Python How to Think Like a Computer Scientist by Allen B. Downey, 2015, second edition
Assessment methods and Criteria
An exam will be held at the end of the course. It will take place in a computer laboratory and will consist of solving a problem by writing Python code. The exam will also include a written component to assess essential knowledge.

There will also be homeworks (optional) in form of exercises, to be solved either in class or at home, and serve as extra grades.
- University credits: 3
Humanities workshops: 36 hours
Professor: Hachem Fatme
Professor(s)