Salta al contenuto principale della pagina

INTRODUCTION TO IMPERATIVE PROGRAMMING

CODE 52473
ACADEMIC YEAR 2021/2022
CREDITS
  • 8 cfu during the 1st year of 8766 STATISTICA MATEM. E TRATTAM. INFORMATICO DEI DATI (L-35) - GENOVA
  • 8 cfu during the 1st year of 8760 MATEMATICA (L-35) - GENOVA
  • SCIENTIFIC DISCIPLINARY SECTOR INF/01
    LANGUAGE Italian
    TEACHING LOCATION
  • GENOVA
  • SEMESTER 2° Semester
    TEACHING MATERIALS AULAWEB

    OVERVIEW

    The purpose of the course is to provide the tools to imperative programming through the introduction of high-level languages.

    AIMS AND CONTENT

    LEARNING OUTCOMES

    Introduction to programming languages through the construction of simple algorithms in C ++.

    AIMS AND LEARNING OUTCOMES

    In particular, the following topics will be covered:

    1.  Basics about computers: data representation and arithmetic processors; Computer architecture hints and operating systems for the execution basic understanding of programs.
    2.  Introduction to Programming: the high-level programming languages; state and change of state; statements and basic instructions;  basic and structured types;; simple algorithms and their implementation; structured and modular programming.
    3. Programming: design of sequential size programs starting from the informal specification of the problem; compilation; code execution; basic ideas of testing.


    In the first part of the course (first two weeks) we will introduce MATLAB, an environment for the numerical calculation and statistical analysis.

    The programming parts will use a subset of the C ++ language as an example of high-level language.

    TEACHING METHODS

    The course provides 3 hours of lessons in the classroom and 4 hours of lab per week.

    SYLLABUS/CONTENT

    1. Basics about computers: data representation and arithmetic processors; Computer architecture hints and operating systems for the execution basic understanding of programs.
    2.  Introduction to Programming: the high-level programming languages; state and change of state; statements and basic instructions;  basic and structured types;; simple algorithms and their implementation; structured and modular programming.
    3. Programming: design of sequential size programs starting from the informal specification of the problem; compilation; code execution; basic ideas of testing.


    In the first part of the course (first two weeks) we will introduce MATLAB, an environment for the numerical calculation and statistical analysis.

    The programming parts will use a subset of the C ++ language as an example of high-level language.

    RECOMMENDED READING/BIBLIOGRAPHY

     

    Programming Principles and Practice using C++, Addison-Wesley Professional, 2008
    C++. Fondamenti di programmazione -- H. M. Deitel, P. J. Deitel; Editore: Apogeo 2009

    TEACHERS AND EXAM BOARD

    Exam Board

    GIANNA REGGIO (President)

    ANNALISA BARLA

    PAOLA MAGILLO (President Substitute)

    LESSONS

    LESSONS START

    The class will start according to the academic calendar.

    Class schedule

    All class schedules are posted on the EasyAcademy portal.

    EXAMS

    EXAM DESCRIPTION

    The final exam consists of:

    • a written test  (questions using Aulaweb) (maximum grade 31)
    • a laboratory test, consisting in writing a C ++ program (maximum grade 31).


    It is not necessary that the two tests are passed in the same session.

    The exam is passed when the written test  (with Rate> = 18) and laboratory (with Rate> = 18) are passed. The final grade will be the average of the two votes, plus an extra of 2 points (depending on laboratory exercises). Who will obtain a final grade> = 31, will get "30 e lode".

    ASSESSMENT METHODS

    The written examination will want to evaluate the acquisition of basic concepts presented during the course.


    The  laboratory test wants to evaluate the ability to produce the C ++ code running to solve small problems, and consists of completing a "template" program that will be provided as a file with the extension .cpp. The file will be included guide on what you need to enter, and on the evaluation of the different parties. It will also be provided an input to test it with the results expected for each part. Deliveries will be evaluated taking into account the following aspects in order of decreasing importance:

    1. code  running and producing  correct numeric results (minimum requirement)
    2. style and readability of the code
    3. calculation efficient

    Exam schedule

    Date Time Location Type Notes
    21/01/2022 09:00 GENOVA Laboratorio solo per gli studenti che hanno frequentato l'insegnamento nell'a.a.2020/21 o in a.a. precedenti
    21/01/2022 09:00 GENOVA Scritto solo per gli studenti che hanno frequentato l'insegnamento nell'a.a.2020/21 o in a.a. precedenti
    09/02/2022 09:00 GENOVA Laboratorio solo per gli studenti che hanno frequentato l'insegnamento nell'a.a.2020/21 o in a.a. precedenti
    09/02/2022 09:00 GENOVA Scritto solo per gli studenti che hanno frequentato l'insegnamento nell'a.a.2020/21 o in a.a. precedenti
    16/06/2022 09:00 GENOVA Scritto
    17/06/2022 14:30 GENOVA Laboratorio
    08/07/2022 09:00 GENOVA Scritto
    11/07/2022 09:00 GENOVA Laboratorio
    05/09/2022 09:00 GENOVA Scritto
    06/09/2022 09:00 GENOVA Laboratorio
    23/09/2022 09:00 GENOVA Laboratorio
    23/09/2022 09:00 GENOVA Scritto

    FURTHER INFORMATION

    Prerequisites:

    No prerequisite is required.  Basics of logic and mathematics normally provided by the high school are still useful.