What is a function in Python?, A type of loop, A block of reusable code, A variable, A comment, Which keyword is used to create a function?, function, create, def, fun, Which line correctly defines a function named greet?, function greet():, def greet():, greet def():, create greet(), How do you call a function named hello?, call hello, hello[], hello(), def hello(), What will this code print?, hello, Hi!, Error, Nothing, What is the value inside the parentheses of a function definition called?, Loop, Variable, Parameter, Return, What is the value passed when calling a function called?, Parameter, Argument, Return, Variable, Which function definition has one parameter?, def game():, def game(score):, game(score), score(game), What does this code print?, Hello, Sara, Error, Hello Sara, Which statement sends a value back from a function?, return, break, input, print, What will this code display?, 43, 7, add, Error, What happens if a function has no return statement?, It cannot run., It always returns 0., It returns None., It returns an empty string., Which of the following is a function call?, def square(x):, square(), return square, x = square, Why do programmers use functions?, To make programs slower, To replace variables, To create errors, To repeat code without rewriting it, How many times can a function be called?, one, twice, three, As many times as needed
0%
Functions
Delen
Delen
door
Rymkemcha
Inhoud Bewerken
Afdrukken
Embedden
Meer
Toewijzingen
Scorebord
Meer weergeven
Minder weergeven
Dit scoreboard is momenteel privé. Klik op
Delen
om het publiek te maken.
Dit scoreboard is uitgeschakeld door de eigenaar.
Dit scoreboard is uitgeschakeld omdat uw opties anders zijn dan die van de eigenaar.
Opties Herstellen
Quiz
is een open template. Het genereert geen scores voor een scoreboard.
Inloggen vereist
Visuele stijl
Lettertypen
Abonnement vereist
Opties
Template wisselen
Alles weergeven
Open resultaten
Kopieer link
QR-code
Verwijderen
Automatisch opgeslagen activiteit "
" herstellen?