Search Header Logo

programmazione fino ai cicli 3C

Authored by Federico Lauria

Information Technology (IT)

11th Grade

Used 1+ times

programmazione fino ai cicli 3C
AI

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

Media Image

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

Media Image

Quante volte viene stampato "Ciao" quando il seguente codice viene eseguito?

1

2

3

4

infinite

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

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

Media Image

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?