
Funkcje w Pythonie 2c

Quiz
•
Computers
•
10th Grade
•
Medium
Tamila Mukha
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Co to jest funkcja w Pythonie?
Konstrukcja służąca do tworzenia klas
Fragment kodu, który wykonuje określoną czynność, ale nie zwraca żadnej wartości
Fragment kodu, który wykonuje określoną czynność i zwraca wartość
Metoda, która służy do wyświetlania danych na ekranie
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jak deklarujemy funkcję w Pythonie?
Definiując słowo kluczowe "class"
Definiując słowo kluczowe "method"
Definiując słowo kluczowe "function"
Definiując słowo kluczowe "def"
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Jak zwrócić wartość z funkcji?
Za pomocą słowa kluczowego "return"
Za pomocą słowa kluczowego "print"
Za pomocą słowa kluczowego "yield"
Za pomocą słowa kluczowego "break"
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Funkcja może mieć jeden lub wiele ____________, a ich liczba i rodzaj są określane podczas definiowania funkcji:
def powitanie(name):
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Co napiszesz aby wywołać funkcję powitanie?
get powitanie
powitanie
powitanie()
print(powitanie)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Co zostanie zwrócone po wywołaniu powyższego kodu?
True
False
błąd
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ile argumentów zostało przesłanych do funkcji: pole(a1,b3)
0
1
2
3
Create a free account and access millions of resources
Similar Resources on Wayground
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade