Funzioni Python

Funzioni Python

12th Grade

14 Qs

quiz-placeholder

Similar activities

linguaggio C++

linguaggio C++

9th - 12th Grade

18 Qs

A4 - Il linguaggi di programmazione C++ SELEZIONE

A4 - Il linguaggi di programmazione C++ SELEZIONE

2nd Grade - University

15 Qs

Topolino

Topolino

12th Grade

10 Qs

Linguaggio Java - Ereditarietà

Linguaggio Java - Ereditarietà

11th - 12th Grade

11 Qs

Test TIN

Test TIN

9th - 12th Grade

10 Qs

4ainf_base_25112020

4ainf_base_25112020

12th Grade

15 Qs

Java cicli While & do while

Java cicli While & do while

9th - 12th Grade

9 Qs

ECDL Modulo 3 - Word (Test 3)

ECDL Modulo 3 - Word (Test 3)

12th Grade

18 Qs

Funzioni Python

Funzioni Python

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Stefania Uda

Used 4+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quale parola chiave si usa per definire una funzione in Python?

  • function

  • define

  • def

  • fun

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Cosa stampa il seguente codice?

saluto

Ciao!

niente

errore

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Una funzione può avere zero parametri.

Vero

Falso

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Completa la funzione che restituisce il doppio di un numero.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cosa fa la funzione return?

  • Stampa il risultato

  • Ferma il programma

  • Restituisce un valore alla chiamata

  • Ripete la funzione

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Quali di queste sono funzioni valide in Python?

  • def stampa():

  • def somma(a, b):
    return a + b

  • function moltiplica(x, y)

  • def 123(x):

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

È obbligatorio usare return in tutte le funzioni.

Vero

Falso

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?