Course Identification

Teaching Unit

UEM 2.1 – Methodology Unit

Credits / Coefficient

2 /1

Total volume

45 hours

Teaching mode

In-person 

Prerequisites

No previous Python programming is assumed; basic computer skills and high-school mathematics

Learning Outcomes

By the end of the course, students should be able to:

  • Acquire the fundamental practical skills of programming with Python.

  • Develop algorithmic thinking for solving simple problems.

  • Understand and use fundamental programming constructs.

  • Manipulate basic Python data types and data structures.

  • Write, execute, test, and debug elementary Python programs.

  • Develop reusable functions and modular programs.

  • Apply Python programming concepts to practical problems.

  • Read from and write to text files.

  • Develop a small Python-based practical project.

Course Content

Chapter 1 – Installing and Using Python

Chapter 2 – Python Basics

Chapter 3 – Conditional Structures

Chapter 4 – Loops

Chapter 5 – Functions and Modularity

Chapter 6 – Lists and Tuples

Chapter 7 – Dictionaries

Chapter 8 – Objects and Classes

Chapter 9 – Files


Practical Work (PW/TP)

The practical work consists of six main practical sessions.

PW

Topic

Main Activities

PW 01

Getting Started with Python

Installation, interpreter, interactive mode, calculator, first Python script

PW 02

Variables, Data Types and Operations

Basic data types, conversions, arithmetic operations, precedence

PW 03

Conditional and Repetitive Structures

if, elif, else, for, while

PW 04

Functions and Modularity

Function definition, parameters, return values

PW 05

Data Structures

Lists, dictionaries, tuples, traversal and manipulation

PW 06

File Manipulation and Final Project

Reading/writing text files and project development