Kā izsaukt funkciju:
def my_function():
print("Hello from a function")
Funkcijas
Quiz
•
Computers
•
11th - 12th Grade
•
Hard
Jekaterina Bogomola
Used 5+ times
FREE Resource
9 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kā izsaukt funkciju:
def my_function():
print("Hello from a function")
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Nodefinē funkciju my_function()
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kāds būs rezultāts izsauktai funkcijai?
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kāds būs rezultāts izsauktai funkcijai?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kas nav funkcija?
my_function()
input()
my_function
print()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kas ir funkcija?
Objekts, kas pieņem argumentus un atgriež vērtību
Struktūra, kas nosaka objekta uzvedību
Jebkurš kods Python
Kods, kas ievietots iekavās
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kāds atslēgvārds tiek izmantots, lai izveidot funkciju?
fun
def
function
defy
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cik parametrus var pieņemt funkcija?
Tā nepieņem vērtības, bet tikai atgriež tos
1
2
Bezgalīgi daudz
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kāds atslēgvārds tiek izmantots, lai atgriezt funkcijas vērtību?
get
post
return
answer
10 questions
Excel Teksta Funkciju Tests
Quiz
•
11th Grade
10 questions
4.TR - SJiWP - CSS - 09 (do 95)
Quiz
•
12th Grade
12 questions
Python Definitions
Quiz
•
10th - 12th Grade
12 questions
PHP & MySQL - 14 - Variable Scope
Quiz
•
12th Grade
12 questions
Haskell test
Quiz
•
12th Grade
10 questions
Functions In Python
Quiz
•
12th Grade
10 questions
Sociālie tīkli un drošība
Quiz
•
1st - 12th Grade
13 questions
Python Functions
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade