

Strutture iterative - ciclo for
Presentation
•
Computers
•
KG
•
Practice Problem
•
Medium
germana grassi
Used 8+ times
FREE Resource
10 Slides • 3 Questions
1
Strutture iterative
Ciclo FOR
2
Problema:
Scrivere i numeri interi da 0 a 1000
0
1
2
..
1000
3
Cosa succede ?
Struttura sequenziale
4
Lunghissimo!!!!!
Struttura sequenziale
5
È corretto, ma dal punto di vista formale non è strutturato
Molte istruzioni sono ripetute !!!
Struttura sequenziale
6
Sono necessarie strutture sintattiche specifiche per far eseguire più volte un blocco di istruzioni (detto corpo del ciclo)
Struttura iterativa
7
Multiple Choice
Quando posso utilizzare un struttura iterativa?
sempre
quando c'è numero finito di istruzioni
quando c'è un blocco di istruzioni ripetute
mai
8
Per il nostro problema il corpo del ciclo è "Scrivi i" che viene ripetuto 1000 volte
Struttura iterativa
for (i=0; i<=1000; i++)
scrivi(i);
i è detto indice
9
Cosa succede?
Struttura iterativa
10
CONFRONTO
SEQUENZIALE VS ITERATIVA
Struttura iterativa
11
Multiple Choice
Un problema risolto tramite una struttura iterativa, avrà un numero di istruzioni scritte .....
maggiore rispetto alla soluzione sequenziale
minore rispetto alla soluzione sequenziale
12
Multiple Choice
i è ...
pollice
indice
mignolo
brontolo
13
Si sveglia
Fa colazione
Va a scuola
Torna da scuola
Pranza
Studia
Cena
Va a letto
Supponiamo che uno studente si reca all’estero 30 giorni, per seguire un corso in una scuola. Questa potrebbe essere la sua routine giornaliera:
Problema ->
risolvi con flowgorithm
Strutture iterative
Ciclo FOR
Show answer
Auto Play
Slide 1 / 13
SLIDE
Similar Resources on Wayground
10 questions
Lezione sull'arte
Presentation
•
8th Grade
10 questions
Il Governo
Presentation
•
4th Grade
9 questions
lezione interattiva
Presentation
•
12th Grade
9 questions
scienze
Presentation
•
4th Grade
9 questions
Countable and Uncountable nouns
Presentation
•
KG - University
12 questions
Il colore
Presentation
•
11th Grade
10 questions
Il racconto fantasy
Presentation
•
5th Grade
10 questions
Wiederholung-sich vorstellen
Presentation
•
10th Grade
Popular Resources on Wayground
28 questions
US History Regents Review
Quiz
•
11th Grade
36 questions
Biology Regents Review
Quiz
•
9th - 10th Grade
20 questions
Math Review
Quiz
•
3rd Grade
38 questions
Regents Life Science General Review
Quiz
•
9th Grade
20 questions
Math Review
Quiz
•
6th Grade
21 questions
EOY Grade 6 Benchmark Assessment - Content Skills
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
59 questions
SS Final Exam Review
Quiz
•
KG - University
19 questions
Disney Movies
Quiz
•
KG - 8th Grade
23 questions
super heros
Quiz
•
KG - Professional Dev...
15 questions
Music 2016
Quiz
•
KG - 12th Grade
63 questions
Sight Words
Quiz
•
KG
41 questions
End of the YEAR Trivia FUN!
Quiz
•
KG - 3rd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade