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

Quiz
•
Computers
•
12th Grade
•
Medium
Stefania Uda
Used 4+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
function
define
def
fun
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
Similar Resources on Quizizz
10 questions
Controllo di Flusso in C++

Quiz
•
9th - 12th Grade
10 questions
Flowgorithm

Quiz
•
12th Grade
15 questions
A4 - Il linguaggi di programmazione C++ SELEZIONE

Quiz
•
2nd Grade - University
10 questions
Quiz sulle componenti hardware del P.C.

Quiz
•
9th - 12th Grade
10 questions
C# Massi

Quiz
•
9th - 12th Grade
15 questions
Quiz sui Fondamenti di Informatica

Quiz
•
7th Grade - University
15 questions
Quiz su SO e SW applicativo

Quiz
•
12th Grade
12 questions
Riattivazione di python II

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University