PORTALE DELLA DIDATTICA

PORTALE DELLA DIDATTICA

PORTALE DELLA DIDATTICA

Elenco notifiche



Computer programming in Python

01VHWTD

A.A. 2024/25

Course Language

Inglese

Degree programme(s)

Master of science-level of the Bologna process in Digital Skills For Sustainable Societal Transitions - Torino

Course structure
Teaching Hours
Lezioni 30
Esercitazioni in aula 30
Tutoraggio 30
Lecturers
Teacher Status SSD h.Les h.Ex h.Lab h.Tut Years teaching
Urgese Gianvito   Professore Associato IINF-05/A 30 30 0 0 4
Co-lectures
Espandi

Context
SSD CFU Activities Area context
ING-INF/05 6 B - Caratterizzanti Tecnologie dell'informatica
2024/25
This course has a twofold objective: 1) to introduce to the student to the 'cultural' and technological issues related to computer science 2) teaching the use of a computer programming language as a way to solve real problems
The aim of this course is twofold: 1) to introduce students to the 'cultural' and technological issues related to computer science; 2) to teach the use of a computer programming language as a way of solving real problems.
The student must acquire two fundamental types of knowledge: 1) the ability to solve concrete problems through programs implemented using a programming language and executed on a computer 2) the understanding of the quantitative aspects of computer science such as performance, computational power, representation of information, computer architecture These skills will be applied to the solution of practical problems.
The student must acquire two basic types of knowledge: 1) the ability to solve concrete problems through programs implemented using a programming language and executed on a computer; 2) an understanding of the quantitative aspects of computing, such as performance, computational power, representation of information, and computer architecture; These skills will be applied to the solution of practical problems.
No special prerequirements are expected for the course. Some basic notions of Calculus (e.g., the concept of function) and a minimal level of confidence with the interaction with a computer.
No special prerequisites are expected for the course. Some basic notions of calculus (e.g. the concept of function) and a minimal level of confidence in interacting with a computer.
PROBLEM SOLVING AND ALGORITHMS [21 HRS] - Flow charts - Pseudo-code - Design algorithm solution for real problems Python LANGUAGE [40 HRS] - Data types - Numeric constants and variables - Strings and their manipulation - Input/Output of numbers and and strings - Arithmetic operators, powers, and mathematical functions - Boolean variables and operators - Control-flow structures (iterative and conditional) - Functions and calls - Lists, Sets, and Dictionaries - Complex data structures (Dictionaries of sets and dictionaries of lists) - Text Files - Exceptions handling
PROBLEM SOLVING AND ALGORITHMS [21 HRS] - Flowcharts - Pseudo code - Designing algorithms to solve real problems Python LANGUAGE [39 hours] - Data types - Numeric constants and variables - Strings and their manipulation - Input/output of numbers and strings - Arithmetic operators, powers, and math functions - Boolean variables and operators - Control flow structures (iterative and conditional) - Functions and calls - Lists, sets and dictionaries - Complex data structures (dictionaries of sets and dictionaries of lists) - Text files - Exception handling
The course includes about 18 hours of lab, in which the topics covered in the classes will be implemented as Python programs.
The course includes approximately 21 hours of lab time where the topics covered in class are implemented as Python programs.
Each week the student will attend 3 hours of lectures and 1.5 hours of exercise/laboratory. The lessons will be divided into two different types: - Problem solving: analysis of 'complete' problems, classroom discussion, design with flowchart or pseudo code. As we proceed with the weeks, students will implementing gradually increasing of portions of the exercise. - Programming: illustration of the Python language constructs and their demonstration using the PC.
Each week the student will attend 3 hours of lectures and 1.5 hours of practical/lab work. The lessons will be divided into two different types: - Problem solving: analysis of 'complete' problems, class discussion, design with flowcharts or pseudo code. As the weeks progress, students will implement progressively larger parts of the exercise. - Programming: presentation of the Python language constructs and their demonstration on the PC.
- Handouts of class material. - Python For Everyone (3rd Edition), Cay S. Horstmann, Rance D. Necaise, ISBN: 978-1-119-49853-7, https://www.wiley.com/en-us/Python+For+Everyone%2C+3rd+Edition-p-9781119498537
- Class material handouts. - Python For Everyone (3rd Edition), Cay S. Horstmann, Rance D. Necaise, ISBN: 978-1-119-49853-7, https://www.wiley.com/en-us/Python+For+Everyone%2C+3rd+Edition-p-9781119498537
Slides; Esercizi risolti; Esercitazioni di laboratorio;
Lecture slides; Exercise with solutions ; Lab exercises;
Modalità di esame: Prova orale facoltativa; Prova scritta in aula tramite PC con l'utilizzo della piattaforma di ateneo;
Exam: Optional oral exam; Computer-based written test in class using POLITO platform;
... The exam will consist of two parts: 1) A set of assignments addressing specific programming tasks to be developed during the course. For each assignment, students will have to develop the program that implements the solution to solve the assigned problem (based on the topics presented during lectures and labs) and submit the code to the instructor for evaluation. 2) A written test that aims at assessing the student's knowledge of the theoretical aspects of the course (through numerical exercises and open-answer questions) and the programming skills (through the writing of a Python program that implements the solution of a practical problem). The main object of the exam is to evaluate the programming skills acquired by the students during the course. The duration of the written test is 1.5 hours and it is a closed book test. The maximum score for the written test is 30 cum laude. During the discussion of the results of the written test, the instructor can request a supplementary oral test that can cover the whole course program and is meant to assess and elaborate the student's skills.
Gli studenti e le studentesse con disabilità o con Disturbi Specifici di Apprendimento (DSA), oltre alla segnalazione tramite procedura informatizzata, sono invitati a comunicare anche direttamente al/la docente titolare dell'insegnamento, con un preavviso non inferiore ad una settimana dall'avvio della sessione d'esame, gli strumenti compensativi concordati con l'Unità Special Needs, al fine di permettere al/la docente la declinazione più idonea in riferimento alla specifica tipologia di esame.
Exam: Optional oral exam; Computer-based written test in class using POLITO platform;
The exam consists of two parts: 1) A series of assignments dealing with specific programming problems to be developed during the course. For each assignment, the student must develop the program that implements the solution to the assigned problem (based on the topics presented in lectures and labs) and submit the code to the teacher for evaluation. 2) A written exam that aims to assess the student's knowledge of the theoretical aspects of the course (through numerical exercises and open-ended questions) and programming skills (by writing a Python program that implements the solution to a practical problem). The main objective of the exam is to evaluate the programming skills acquired by the students during the course. The duration of the written exam is 1.5 hours and it is a closed book exam. The maximum score for the written exam is 30 cum laude. During the discussion of the results of the written test, the teacher may request a supplementary oral test, which may cover the entire course programme and is designed to assess and develop the student's skills.
In addition to the message sent by the online system, students with disabilities or Specific Learning Disorders (SLD) are invited to directly inform the professor in charge of the course about the special arrangements for the exam that have been agreed with the Special Needs Unit. The professor has to be informed at least one week before the beginning of the examination session in order to provide students with the most suitable arrangements for each specific type of exam.
Esporta Word