

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
9 questions
Il Parlamento vs. il Governo
Presentation
•
8th - 12th Grade
11 questions
Chinese pinyin
Presentation
•
1st Grade
6 questions
ARREDONDO CASTILLO GUSTAVO-GRUPO 1
Presentation
•
University
13 questions
Elementi Base
Presentation
•
Professional Development
12 questions
Proprietà delle funzioni
Presentation
•
10th - 12th Grade
9 questions
Topic 13, Lesson 3: Human Impact on the Atmosphere
Presentation
•
7th Grade
10 questions
Elisabetta I
Presentation
•
2nd Grade
10 questions
LE SCIENZE GIURIDICHE ED ECONOMICHE
Presentation
•
9th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade
Discover more resources for Computers
20 questions
Place Value
Quiz
•
KG - 3rd Grade
16 questions
Lab Equipment
Quiz
•
KG
20 questions
Community helpers
Quiz
•
KG - 3rd Grade
15 questions
Subject and Predicate
Quiz
•
KG - 3rd Grade
12 questions
Nouns and Verbs
Quiz
•
KG - 2nd Grade
10 questions
Four Types of Sentences
Quiz
•
KG - 12th Grade
12 questions
Globes and maps
Presentation
•
KG
15 questions
Digraph Practice
Quiz
•
KG