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
13 questions
Quiz sull'Hardware

Quiz
•
12th Grade
16 questions
Quiz sugli Array in PHP

Quiz
•
9th - 12th Grade
17 questions
FormazioneSicurezzaSpecifica_Mod. 3.1

Quiz
•
9th - 12th Grade
14 questions
Sistemi di numerazione e conversioni

Quiz
•
12th Grade
9 questions
Linguaggio C

Quiz
•
1st - 12th Grade
10 questions
Linguaggio C - Basi

Quiz
•
11th - 12th Grade
16 questions
Sicurezza in Internet

Quiz
•
9th - 12th Grade
10 questions
ASMx86 prima gara

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade