Search Header Logo

Introduzione a Python per principianti

Authored by Francesco Andaloro

Information Technology (IT)

5th Grade

Used 1+ times

Introduzione a Python per principianti
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Che cos'è una variabile in Python?

Una variabile in Python è un tipo di dato.

Una variabile in Python è un'istruzione per importare librerie.

Una variabile in Python è un comando per eseguire funzioni.

Una variabile in Python è un nome che rappresenta un valore.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Quali sono i principali tipi di dati in Python?

string, number, object, boolean

char, byte, float64, array

integer, decimal, list, map

I principali tipi di dati in Python sono: int, float, str, list, tuple, dict, set, e bool.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Come si crea una variabile in Python?

valore = nome_variabile

variabile = valore; nome_variabile

Per creare una variabile in Python, si utilizza la sintassi: nome_variabile = valore.

nome_variabile : valore

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Qual è il risultato di 5 + 3 * 6 in Python?

48

23

33

10

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Come si usa l'operatore di sottrazione in Python?

L'operatore di sottrazione in Python si usa con il segno meno (/) per dividere due numeri.

L'operatore di sottrazione in Python si usa con il segno meno (-) solo per numeri interi.

L'operatore di sottrazione in Python si usa con il segno meno (-) per sottrarre due numeri.

L'operatore di sottrazione in Python si usa con il segno più (+) per sommare due numeri.

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Cosa fa la funzione print() in Python?

La funzione print() esegue calcoli matematici.

La funzione print() visualizza output sullo schermo.

La funzione print() crea variabili in memoria.

La funzione print() salva dati in un file.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Come si chiede all'utente di inserire un dato?

Richiedere un dato tramite la funzione display()

Chiedere all'utente di inserire un dato senza alcuna funzione.

Utilizzare la funzione print() per visualizzare un dato.

Utilizzare la funzione input() per richiedere un dato all'utente.

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?