
P5 funzioni
Authored by Renato Ferrero
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Quali funzioni possono essere usate senza un'istruzione import?
funzioni predefinite nella libreria standard
funzioni contenute in un modulo della libreria standard
funzioni nel repository Python Package Index
funzioni definite dall'utente in un altro file del progetto
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Quale codice è sbagliato?
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Quale fra le seguenti affermazioni è vera?
Una funzione ha esattamente un enunciato return.
Una funzione ha almeno un enunciato return.
Una funzione che non restituisce un valore non ha un enunciato return.
Quando è eseguito un enunciato return, la funzione termina immediatamente.
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Quale fra le seguenti affermazioni è vera?
Una funzione restituisce al massimo un valore.
Una funzione che non restituisce un valore deve visualizzare un risultato.
Una funzione priva di variabili parametro restituisce sempre lo stesso valore.
Una funzione può non avere nessuna variabile parametro e non restituire nessun valore.
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Quale codice è corretto?
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual è l'output del seguente programma?
3, 4
4, 3
3, 3
4, 4
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Qual è il valore restituito con la chiamata f(100)?
-1
0
1
None
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade