Cicli iterativi, Selezione
Quiz
•
Instructional Technology
•
12th Grade
•
Medium
Leonardo Mizzi
Used 1+ times
FREE Resource
Enhance your content
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale keyword si usa per iniziare un ciclo for in C++?
start
loop
for
repeat
Answer explanation
In C++, la parola chiave "for" viene utilizzata per avviare un ciclo for.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale dei seguenti NON è un tipo di ciclo in C++?
for
while
do-while
repeat-until
Answer explanation
Il ciclo 'repeat-until' non è un tipo di ciclo in C++.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cosa fa l'istruzione 'break' all'interno di un ciclo?
Salta all'iterazione successiva
Termina il ciclo
Riavvia il ciclo
Non ha effetto sui cicli
Answer explanation
L'istruzione 'break' all'interno di un ciclo termina il ciclo corrente.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale struttura di controllo si usa per eseguire codice diverso basato su una condizione?
if-else
for
while
switch
Answer explanation
Si utilizza la struttura di controllo if-else per eseguire codice diverso in base a una condizione specifica.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale operatore si usa per il confronto di uguaglianza in C++?
=
==
===
equals
Answer explanation
== is the correct operator used for equality comparison in C++.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Quale ciclo garantisce che il suo corpo venga eseguito almeno una volta?
for
while
do-while
for-each
Answer explanation
Il ciclo do-while garantisce che il suo corpo venga eseguito almeno una volta, poiché la condizione viene verificata dopo l'esecuzione del corpo del ciclo.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quale keyword si usa per saltare il resto dell'iterazione corrente e passare alla successiva?
break
continue
skip
next
Answer explanation
La keyword corretta per saltare il resto dell'iterazione corrente e passare alla successiva è 'continue'.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
17 questions
Tecniche di comunicazione
Quiz
•
12th Grade
10 questions
TRANSMISSION DE MOUVEMENT 1
Quiz
•
12th Grade
15 questions
Scopri l'Unione Europea
Quiz
•
2nd Grade - University
10 questions
HOW WELL YOU KNOW GOOGLE MEET?
Quiz
•
1st - 12th Grade
17 questions
Python While Loops 2022
Quiz
•
8th Grade - University
15 questions
IPERCONNESSI
Quiz
•
KG - Professional Dev...
10 questions
Gestão da Qualidade
Quiz
•
12th Grade
10 questions
PALANQUES
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for Instructional Technology
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
17 questions
Afro Latinos: Una Historia Breve Examen
Quiz
•
9th - 12th Grade
17 questions
Hispanic Heritage Month Trivia
Quiz
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade