Funzioni Python

Funzioni Python

12th Grade

14 Qs

quiz-placeholder

Similar activities

Passaggio dei parametri

Passaggio dei parametri

9th - 12th Grade

15 Qs

Test JAVA - 1

Test JAVA - 1

12th Grade

15 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

Object Oriented Programming

Object Oriented Programming

12th Grade

18 Qs

Java OOP Examples and Definitions

Java OOP Examples and Definitions

12th Grade

17 Qs

Functions in Python

Functions in Python

9th - 12th Grade

15 Qs

Structures in C++

Structures in C++

12th Grade

10 Qs

Using Subroutines in Python

Using Subroutines in Python

12th Grade

10 Qs

Funzioni Python

Funzioni Python

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Stefania Uda

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?