Unit PROGRAMMING II
- Course
- Programming and management of computer systems
- Study-unit Code
- 55A00040
- Curriculum
- In all curricula
- Teacher
- Leonardo Mostarda
- Teachers
-
- Leonardo Mostarda
- Hours
- 42 ore - Leonardo Mostarda
- CFU
- 6
- Course Regulation
- Coorte 2023
- Offered
- 2024/25
- Learning activities
- Base
- Area
- Formazione informatica, matematica e statistica di base
- Academic discipline
- INF/01
- Type of study-unit
- Obbligatorio (Required)
- Type of learning activities
- Attività formativa monodisciplinare
- Language of instruction
- Italian
- Contents
- PYTHON BASICS
Getting Started
Variables and Simple Data Types
Lists
Control structures
Functions
Classes
Files and Exceptions
Testing Your Code
Projects - Reference texts
- Python crash course, 3rd edition. A Hands-On, Project-Based Introduction to Programming by Eric Matthes
Imparare Python.Mark Lutz - Educational objectives
- Understand Python basics
Understand variables, types and lists
Understand how to use lists and control structures avoiding common mistakes
Understand functions and classes and how to use them
Understand how to test applications - Prerequisites
- None
- Teaching methods
- - Lectures (ppt presentations)
- Seminars (questions and answers session) - Other information
- None
- Learning verification modality
- Written exam
- Extended program
- Introduction to Python
1)Getting started
-Setting Up Your Programming Environment
-Python on Different Operating Systems
-Running a Hello World Program
-Troubleshooting
2)Variables and simple data types
-Variables
-Strings
-Numbers
-Comments
3)Introducing lists
-What Is a List?
-Modifying, Adding, and Removing Elements
-Organizing a List
-Avoiding Index Errors When Working with Lists
4)Working with lists
-Looping Through an Entire List
-Avoiding Indentation Errors
-Making Numerical Lists
-Working with Part of a List
-Tuples
5) If statements
-Conditional Tests
-Using if Statements with List
6) Dictionaries
-Working with Dictionaries
-Looping Through a Dictionary
-Nesting
7) User input and while loops
-Introduction
-Using a while Loop with Lists and Dictionaries
8)Functions
9)Classes
10)Files and Exceptions
12)Testing Your Code
13)Projects - Obiettivi Agenda 2030 per lo sviluppo sostenibile
- yes