Quiz delle variabili

Quiz delle variabili

Professional Development

10 Qs

quiz-placeholder

Similar activities

Biologia lezione 1

Biologia lezione 1

Professional Development

15 Qs

Quiz gennaio

Quiz gennaio

Professional Development

12 Qs

Stairway to the future_2023

Stairway to the future_2023

Professional Development

15 Qs

Quiz Strano

Quiz Strano

Professional Development

15 Qs

1AA Fibre e cura

1AA Fibre e cura

Professional Development

8 Qs

Digicompendu

Digicompendu

Professional Development

10 Qs

ESAME TEORICO

ESAME TEORICO

Professional Development

10 Qs

Inglese ascolto e rispondo

Inglese ascolto e rispondo

Professional Development

10 Qs

Quiz delle variabili

Quiz delle variabili

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Rp ics

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 20 pts

Media Image

il risultato è

'x'

0

Error

1

Answer explanation

Media Image

# è usato per commentare

i commenti non vengono considerati, abbiamo la prima riga che è un commento e la seconda riga

# x = 0

che è un commento, quando scriviamo print(x)

si aspetta una variabile di nome x che nel nostro caso è commentata e non viene vista generando un errore della variabile x non definita.

2.

MULTIPLE CHOICE QUESTION

30 sec • 17 pts

Media Image

il risultato è

x + y

1

Error

nessuna tra queste risposte

Answer explanation

Media Image

Nota bene che abbiamo due varibili

x = 0

y = 1

e stampiamo con print

print("x + y") in questo caso

x + y sono dentro le apici

quindi per python tutto quello che sta dentro le apici è una parola e la stampa così com'è

quindi stampa letteralmente

x + y

3.

MULTIPLE CHOICE QUESTION

30 sec • 14 pts

Media Image

il risultato è

111

12

x + y

Error

nessuna tra queste risposte

Answer explanation

Media Image

x = '11'

mentre

y = 1

abbiamo una stringa e un numero

quando andiamo a stampare senza convertire python ci da errore

4.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Media Image

attenzione questa vale 20 punti

Error

11

x

print(x)

11, print(x), x

Answer explanation

Media Image

La variabile non può iniziare con un numero quindi riceviamo un Errore

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Scegli la risposta giusta

Media Image
Media Image
Media Image
Media Image

Nessuna tra queste è giusta

6.

MULTIPLE CHOICE QUESTION

30 sec • 16 pts

come disegno una linea di 100 pixel usando turtle?

forward(100)

t.forward('100')

t.forward = 100

t.forward(100)

t = forward(100)

7.

MULTIPLE CHOICE QUESTION

30 sec • 18 pts

come disegno un cerchio con turtle?

t.circle(50)

t = circle(50)

t.circle[50]

t.circle = "50"

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?