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
Quale parola chiave si usa per definire una funzione in Python?
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 Wayground
15 questions
Test JAVA - 1

Quiz
•
12th Grade
17 questions
Quiz sulla Stampa 3D

Quiz
•
9th Grade - University
9 questions
TEST D'INGRESSO_C

Quiz
•
10th - 12th Grade
15 questions
Algoritmo

Quiz
•
9th Grade - University
18 questions
Compito Hardware & Software

Quiz
•
12th Grade
19 questions
Java Base

Quiz
•
9th - 12th Grade
15 questions
OOP in java(2)

Quiz
•
12th Grade
15 questions
Passaggio dei parametri

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade