1 / 7

Le fasi della programmazione

Si spieghi con un esempio. 1. Le fasi della programmazione. Prof. Francesco Procida procida.francesco@virgilio.it. SI SPIEGHI CON UN ESEMPIO.

peggy
Download Presentation

Le fasi della programmazione

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Si spieghi con un esempio 1 Le fasi della programmazione Prof. Francesco Procida procida.francesco@virgilio.it

  2. SI SPIEGHI CON UN ESEMPIO Un mio dirigente (non scolastico) soleva sempre ripetere la frase “SI SPIEGHI CON UN ESEMPIO” quando si trovava di fronte a scritti o argomenti poco chiari. D’altronde le parabole e le metafore hanno un forte il potere evocativo e comunicativo e per questo motivo sono utilizzate da sempre. autore: Francesco Procida

  3. SI SPIEGHI CON UN ESEMPIO • Con questo titolo inizierò ad illustrare alcuni concetti che riguardano la programmazione dei computer e che gli studenti trovano particolarmente difficili da capire. • L’argomento di questa lezione è: “LE FASI DELLA PROGRAMMAZIONE ” autore: Francesco Procida

  4. Il computer è un esecutore di comandi I comandi sono raggruppati in programmi I programmi per poter essere eseguiti devono essere scritti in linguaggio macchina Il linguaggio macchina è l’unico comprensibile dal computer autore: Francesco Procida

  5. Come è possibile far eseguire delle operazioni ad una persona straniera che conosce solo la propria lingua (ad esempio un cinese? ). Le possibilità sono le seguenti: 餵 您好寫 ??? SCRIVI “Ciao” 您好寫 autore: Francesco Procida

  6. Il programma ESEGUIBILE può essere eseguito dal computer Il programmatore scrive il programma sorgente in un linguaggio di programmazione (ad esempio C o C++) Write(“hello world”) 10001100 110100101 ??? Il programma OGGETTO e il programma ESEGUIBILE sono scritti in linguaggio macchina Programma Sorgente Il LINKER produce il programma ESEGUIBILE Il compilatore legge in input il programma sorgente PROGRAMMATORE Il LINKER legge in input il programma OGGETTO Programma OGGETTO OBJ OBJ OBJ EXE EXE Il compilatore produce il programma oggetto COMPILATORE C/C++ LINKER Programma ESEGUIBILE autore: Francesco Procida

  7. Definizioni autore: Francesco Procida

More Related