CODE 80299 ACADEMIC YEAR 2023/2024 CREDITS 12 cfu anno 1 INFORMATICA 8759 (L-31) - GENOVA SCIENTIFIC DISCIPLINARY SECTOR INF/01 TEACHING LOCATION GENOVA SEMESTER 1° Semester SECTIONING Questo insegnamento è diviso nelle seguenti frazioni: A B TEACHING MATERIALS AULAWEB OVERVIEW The course aims to provide the earliest programming bases, giving particular emphasis to scientific reasoning and computational thinking. The course includes classes as well as practical labs whose purpose is to deepen and consolidate the topics seen in the classroom. The course has a strong applicative connotation, where the student is encouraged to face problems of increasing complexity in autonomy. AIMS AND CONTENT LEARNING OUTCOMES Computational Thinking principles Basic knowledge of the fundamental concepts of imperative programming Introduction to an imperative programming language ( C++ limited to non-object oriented concepts ), with a text editor, compiling, and command-line execution. Principles of designing, implementing, and validating a small sequential program based on the informal specifications provided by the user. Ability to produce correct and comprehensible code; Ability to understand, use, modify code TEACHING METHODS Classroom lessons Guided Laboratories Homework delivered through aulaweb Given the cultural importance of this course (at the core of all undergraduate computer science courses) attending classes and labs is strongly encouraged and suggested. SYLLABUS/CONTENT The course consists of a part of theoretical lessons that take place in the classroom and a substantial practical part of programming activities that takes place in the lab. Main topics: Introduction to the course, computational thinking, and programming. Programming environments and formal languages. Imperative programming: variables and instructions; assignment; input / output; if-then-else; loops; types; structured types: 1-dim or multi-dim arrays, strings, struct; functions and parameters passing; pointers; dynamically allocating memory (heap); dynamic vectors; linked lists ; recursion. RECOMMENDED READING/BIBLIOGRAPHY Slides will be available but are not sufficient getting ready for the exam. Reference book: D.S. Malik Programmazione in C++ Apogeo, 2011, ISBN 978-88-503-2967-0 (or english version) Alternatively B. Stroustrup, Programming: Principles and Practice Using C++, Addison-Westley, 2009, ISBN 978-0321543721. TEACHERS AND EXAM BOARD FRANCESCA ODONE Ricevimento: Appointment by email: francesca.odone@unige.it (always specify name and surname, course name, degree name) MAURIZIO LEOTTA Ricevimento: On appointment EUGENIO MOGGI Ricevimento: See the aulaweb module and as second alternative the web page https://person.dibris.unige.it/moggi-eugenio/ Exam Board MAURIZIO LEOTTA (President) EUGENIO MOGGI (President) FRANCESCA ODONE (President) LESSONS Class schedule L'orario di tutti gli insegnamenti è consultabile all'indirizzo EasyAcademy. EXAMS EXAM DESCRIPTION The exam is made of 2 parts a written examination on theory a laboratory exam, accessible after theory exam has been positively evaluated More details on AULAWEB