
Python Function Basics
Authored by Olena Sakhanda
Computers
5th Grade
Used 2+ times

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
30 sec • 1 pt
Який запис функції правильний?
def some_function()
function some_function()
function some_function():
def some_function():
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виведе на екран наступний код?
def fun1(name, age=20):
print(name, age)
fun1('Emma', 25)
Emma 25
Emma 20
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що з цього функція?
print()
function
int
func
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що виведе на екран наступний код?
def fun1(num):
return num + 25
fun1(5)
print(num)
NameError
25
5
30
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Правда чи ні?
Функція завжди виводить значення
Так
Ні
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Що цей код виведе на екран?
def func(a,b):
print(a-b)
a=4
b=9
func(a=b,b=a)
NameError
-5
5
(9, 4)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Як зупинити функцію?
Використати 'return'
Використати 'end'
Використати 'stop'
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
11 questions
Бази Даних
Quiz
•
1st - 12th Grade
13 questions
5 клас повторення
Quiz
•
5th Grade
10 questions
Python Statements
Quiz
•
5th - 7th Grade
12 questions
Скретч. Цикли
Quiz
•
4th - 7th Grade
10 questions
Indexing and Slicing in Python
Quiz
•
4th Grade - University
12 questions
Електронна пошта
Quiz
•
4th - 10th Grade
11 questions
Алгоритми з повтореннями 5 клас
Quiz
•
5th Grade
11 questions
Пристрої та складові ПК
Quiz
•
5th Grade
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade