Salta al contenuto principale della pagina
##
INTRODUCTION TO IMPERATIVE PROGRAMMING

## OVERVIEW

## AIMS AND CONTENT

### LEARNING OUTCOMES

### AIMS AND LEARNING OUTCOMES

### TEACHING METHODS

### SYLLABUS/CONTENT

### RECOMMENDED READING/BIBLIOGRAPHY

## TEACHERS AND EXAM BOARD

### Exam Board

## LESSONS

### TEACHING METHODS

### LESSONS START

### Class schedule

## EXAMS

### EXAM DESCRIPTION

### ASSESSMENT METHODS

### Exam schedule

### FURTHER INFORMATION

CODE | 52473 |
---|---|

ACADEMIC YEAR | 2018/2019 |

CREDITS |
8 credits during the 1st year of 8766 Mathematical Statistics and Data Management (L-35) GENOVA
8 credits during the 1st year of 8760 Mathematics (L-35) GENOVA |

SCIENTIFIC DISCIPLINARY SECTOR | INF/01 |

LANGUAGE | Italian |

TEACHING LOCATION | GENOVA (Mathematical Statistics and Data Management) |

SEMESTER | 2° Semester |

TEACHING MATERIALS | AULAWEB |

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

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

In particular, the following topics will be covered:

- Basics about computers: data representation and arithmetic processors; Computer architecture hints and operating systems for the execution basic understanding of programs.
- 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.
- 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.

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

- Basics about computers: data representation and arithmetic processors; Computer architecture hints and operating systems for the execution basic understanding of programs.
- 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.
- 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.

Programming Principles and Practice using C++, Addison-Wesley Professional, 2008

C++. Fondamenti di programmazione -- H. M. Deitel, P. J. Deitel; Editore: Apogeo 2009

**Office hours:** Send a mail to patrizia.boccacci@unige.it to make an appointment

**Office hours:** Appointment by email

**Office hours:** On Thursday from 16.00 to 18.00 by appointment agreed on email
(The teacher has more courses for various courses of study, always specify the name and course)

PATRIZIA BOCCACCI (President)

GIANNA REGGIO (President)

FRANCESCO MASULLI

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

The class will start according to the academic calendar.

All class schedules are posted on the EasyAcademy portal.

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".

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:

- code running and producing correct numeric results (minimum requirement)
- style and readability of the code
- calculation efficient

Date | Time | Location | Type | Notes |
---|---|---|---|---|

24/01/2019 | 09:00 | GENOVA | Laboratorio | riservato agli studenti iscritti a.a.2017/18 e anni prec. |

24/01/2019 | 14:00 | GENOVA | Scritto | riservato agli studenti iscritti a.a.2017/18 e anni prec. |

11/02/2019 | 09:00 | GENOVA | Laboratorio | riservato agli studenti iscritti a.a.2017/18 e anni prec. |

11/02/2019 | 14:00 | GENOVA | Scritto | riservato agli studenti iscritti a.a.2017/18 e anni prec. |

10/06/2019 | 09:00 | GENOVA | Laboratorio | |

11/06/2019 | 09:00 | GENOVA | Scritto | |

01/07/2019 | 09:00 | GENOVA | Laboratorio | |

02/07/2019 | 09:00 | GENOVA | Scritto | |

09/09/2019 | 09:00 | GENOVA | Laboratorio | |

10/09/2019 | 09:00 | GENOVA | Scritto |

Prerequisites:

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