Funzioni Python

Quiz
•
Computers
•
12th Grade
•
Medium
Stefania Uda
Used 6+ 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
18 questions
ECDL Modulo 3 - Word (Test 3)

Quiz
•
12th Grade
10 questions
Sistemi e reti: CPU, von neumann

Quiz
•
12th Grade
18 questions
linguaggio C++

Quiz
•
9th - 12th Grade
10 questions
Test sulla Sicurezza Informatica

Quiz
•
11th Grade - University
12 questions
Tabelle Pivot

Quiz
•
12th Grade
15 questions
Concetti di Informatica

Quiz
•
12th Grade
12 questions
Gita Arezzo

Quiz
•
9th - 12th Grade
10 questions
PowerPoint

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade