Want to create interactive content? It’s easy in Genially!
Presentazione Tecnologia Digitale
FRANCESCO ANGELETTI
Created on November 6, 2024
Start designing with a free template
Discover more than 1500 professional designs like these:
View
Corporate Christmas Presentation
View
Business Results Presentation
View
Meeting Plan Presentation
View
Customer Service Manual
View
Business vision deck
View
Economic Presentation
View
Tech Presentation Mobile
Transcript
Informatica
Contextualize Your Topic with a Subtitle
Francesco Angeletti
Argomenti:
Che cosa è un algoritmo
Le variabili
Struttura condizionale
Do, While e For
Contextualize Your Topic with a Subtitle
Strutture iterative
Linguaggi di programmazione
Le funzioni
Che cosa è un algoritmo?
Sequenza di informazioni o operazioni Numero finito di passi Operazioni che servono a realizzare un obbiettivo Deve seguire un linguaggio rigoroso e specifico
Contextualize Your Topic with a Subtitle
+INFO
DICHIARAZIONE: LE VARIABILI
Una variabile è un contenitore situato all'interno della memoria che può contenere un dato.Possono essere:intere-intreali-floatstringheboleanoArray
Contextualize Your Topic with a Subtitle
+INFO
le variabili
Stringhe: Una variabile di tipo stringa è un tipo di variabile che memorizza una sequenza di caratteri. Invece Char è un tipo di variabile che memorizza un singolo carattere Boleano: la variabile di tipo boleano è utilizzato per rappresentare valori vero o falso.
Contextualize Your Topic with a Subtitle
+INFO
Gli array
Gli elementi al suo interno sono ordinati in successione e vengono identificati tramite l'indice, che parte da 0.
Ogni Array ha una dimensione ben precisa che viene stabilita alla sua dichiarazione
Un Array o vettore è una struttura che consente di memorizzare un insieme di elementi dello stesso tipo, in un'unica variabile
Contextualize Your Topic with a Subtitle
Strutture condizionali
Una struttura condizionale è una struttura che appunto permette al programma di vericare una condizione e dare due risultati se è vera o falsa.Su c++ viene indicata con if-else.
Contextualize Your Topic with a Subtitle
+INFO
Le strutture iterative
Le strutture iterative sono strutture che permettono l'esecuzione di un blocco di istruzioni finché rimane vera la condizione di quest' ultima, e sono 3: While,Do-while e for
Contextualize Your Topic with a Subtitle
For
While
03
01
Il ciclo for è una struttura che permette di ripetere un blocco di codice per un numero specifico di volte. Si inizia con un'inizializzazione (ad esempio, impostando un contatore a zero), poi si verifica una condizione che, se vera, fa continuare il ciclo. Dopo ogni ripetizione, il contatore viene aggiornato (di solito incrementato). Quando la condizione diventa falsa, il ciclo termina. È utile quando si sa quante volte eseguire un'azione. La sintassi è: for (inizializzazione; condizione; aggiornamento).
Il ciclo while ha il test in testa, quindi la condizione viene verificata prima di ogni iterazione. Se la condizione è falsa al primo controllo, il ciclo non viene mai eseguito.
Contextualize Your Topic with a Subtitle
Do while
02
Il ciclo dp while ha il test in coda, quindi la condizione viene verificata dopo che il ciclo è stato eseguito almeno una volta. Questo significa che il ciclo viene eseguito almeno una volta, anche se la condizione è falsa sin dall'inizio.
L accomulatore
Un accumulatore è una variabile utilizzata per sommare o raccogliere valori durante l'esecuzione di un programma. Viene inizializzata con un valore di partenza (ad esempio 0) e, man mano che il programma esegue operazioni, il suo valore cambia accumulando i risultati.
Contextualize Your Topic with a Subtitle
+INFO
il contatore
AUn contatore è una variabile utilizzata per tenere traccia di quante volte si è verificato un certo evento e che serve ad uscire dal ciclo.Il contatore può sia tenere conto tramite un suo aumento che tramite una sua sottrazione (es. c=c-1) In c++ l'aumento del contatore può avere due sintassi, che esprimono la stessa cosa c=c+1; c=++;
Contextualize Your Topic with a Subtitle
+INFO
Linguaggi di programazione
I linguaggi di programmazione sono strumenti utilizzati per scrivere istruzioni che un computer può eseguire. Esistono diversi livelli di linguaggi di programmazione, che variano in base alla complessità e alla vicinanza al linguaggio macchina. I principali livelli sono: Linguaggi di basso livello: Sono più vicini al linguaggio macchina e permettono un controllo diretto sull'hardware. Un esempio è l'Assembly, che utilizza istruzioni simboliche corrispondenti ai codici macchina specifici di una CPU. Linguaggi di alto livello: Sono più astratti e più facili da utilizzare, poiché sono progettati per essere comprensibili dall'uomo. Esempi includono Python, Java e C++, che permettono di scrivere programmi complessi senza doversi preoccupare dei dettagli dell'hardware. Linguaggi di livello medio: Sono una via di mezzo tra i linguaggi di basso e alto livello. Ad esempio, C è considerato un linguaggio di medio livello poiché, pur offrendo un buon livello di astrazione, consente anche operazioni dirette sulla memoria e l'accesso a risorse hardware.
Contextualize Your Topic with a Subtitle
+INFO
Le funzioni
Una funzione è un blocco di codice che viene scritto all'inizio e puo esse riutilizzato facoltativamente richiamandolo, è quindi utile a rendere il programma più semplice e gestibile. Puo essere programmato per non far tornare nessuna variabile (void) o per fare tornare qualcosa (es. Int , float)
Contextualize Your Topic with a Subtitle
+INFO
Le funzioni
C++ la sintassi
tipo di restituzione nome funzione(parametri formali){ // Corpo della funzione Return (facoltativo) } . . . . tipo di restituzione nome funzione (parametri effettivi)/ / Chiamata alla funzione
Contextualize Your Topic with a Subtitle
+INFO
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Did you know...
In Genially you will find over 1,000 ready-to-use templates to showcase your content and 100% customizable, which will help you tell your stories.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
With this function...
With this function...You can add additional content that excites the brain of your audience: videos, images, links, interactivity... Whatever you want!
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Did you know...
The window allows you to add more extensive content. You can enrich your genially by incorporating PDFs, videos, text... The content of the window will appear when clicking on theinteractive element.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.
Write an awesome headline
An awesome presentation...
- Represent data with graphics.
- Use timelines.
- It is animated and interactive.
- Excite the brain through multimedia elements.
- DO NOT go overboard with bullet points 🙃.
- It is clear and structured
- It tells stories hierarchically.
- It matches your audience.
- It adapts fonts and color to the theme.
- It includes images and entertains.