Search Header Logo

If_while_quiz

Authored by G L

Computers, Science

9th - 10th Grade

Used 8+ times

If_while_quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Cosa stampa il seguente codice?

11

15

n

il codice da errore

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Qual è il valore di n alla fine di questo codice?

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

Media Image

Qual è il valore di i alla fine di questo codice?

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Quali delle seguenti intestazioni per il while è sintatticamente corretta?

while n=2:

while n!=2

while n>=-3 and n<2:

while True:

5.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Se n=2 quali delle seguenti espressioni hanno valore True?

n==2

n=2

n>1 or n<-1

not (n!=2)

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Cosa stampa il seguente codice?

Min

Max

Mid

il codice da errore

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Considera il seguente algoritmo, che cosa sta stampando?

Il massimo tra a e b

Il minimo tra a e b

la media tra a e b

la differenza di a e b

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?