
programmazione fino ai cicli 3C
Authored by Federico Lauria
Information Technology (IT)
11th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Qual è il valore di a e c dopo l'esecuzione del seguente codice?
a = 10, c = 10
a = 11, c = 10
a = 10, c = 11
a = 11, c = 11
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quale dei seguenti cicli è post-condizionale?
while
do...while
for
foreach
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quante volte viene stampato "Ciao" quando il seguente codice viene eseguito?
1
2
3
4
infinite
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quante volte viene stampato "stop" quando viene eseguito il seguente codice?
0
9
10
11
infinite volte
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quale delle seguenti è un ciclo infinito?
for(int i = 0; i>0; i++);
while(false) {
Console.Write("x");
}
for(int i=7; i>5; i--);
int x = 10;
while(x!=4) {
x=x-5;
}
6.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quale output è prodotto dal seguente segmento di codice:
0 1 2 3 4 5 6 7 8 9 10
0 1 2 3 4 5 6 7 8 9
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9
Ciclo Infinito
7.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
Quale output è prodotto dal seguente segmento di codice:
20 17 14 11 8 5 2 -1
20 17 14 11 8 5 2
17 14 11 8 5 2 -1
20 17 14 11 8 5
Ciclo Infinito
Access all questions and much more by creating a free account
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
Already have an account?