Rješavamo li problem tako da dijelove programa izdvajamo u zasebne cjeline i pozivamo ih prema potrebi, možemo reći da se bavimo
Korisničke funkcije u Pythonu

Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Easy

Milan Martuslović
Used 1+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
objektno orijentiranim programiranjem
linearnim programiranjem
strukturnim programiranjem
sekvencijalnim programiranjem
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Glavna značajka tako napisanog programa jest zadržavanje linearne strukture glavnog programa jer se u njoj mogu izdvojiti problemski zadaci koji se tada obavljaju u zasebnim dijelovima programskog koda.
Točno
Netočno
3.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Varijable koje se mogu koristiti u cijelom programu i u svim funkcijama zovu se ? varijable.
4.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Ključnom riječi ? počinje svako definiranje funkcije u Pythonu.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Naredbe za definiranje funkcija u Pythonu ima sljedeći oblik:
def ime_funkcije(popis parametara):
blok naredbi
return vrijednost(i)
Točno
Netočno
6.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Ako je funkcija definirana na sljedeći način:
def ocjena():
return 1
return 2
return 3
return 4
return 5
7.
OPEN ENDED QUESTION
2 mins • 1 pt
Napiši korisničku funkciju čiji je naziv pomnozi. Funkcija treba imati dva formalna parametra x i y. Funkcija treba vraćati vrijednost varijable z koja predstavlja umnožak varijabli x i y.
(Nije potrebno pisati glavni dio programa!)
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Python String Methods Quiz

Quiz
•
10th Grade
10 questions
Python - 2C

Quiz
•
9th - 12th Grade
15 questions
BÀI 26: HÀM TRONG PYTHON

Quiz
•
10th Grade
14 questions
Kviz o Centralnom Procesoru

Quiz
•
12th Grade
11 questions
Sustavi informacija

Quiz
•
12th Grade
8 questions
Kviz o strukturiranom programiranju

Quiz
•
12th Grade
15 questions
Bài 26

Quiz
•
10th Grade - University
15 questions
Bài 27

Quiz
•
10th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Information Technology (IT)
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
10 questions
Right Triangles: Pythagorean Theorem and Trig

Quiz
•
11th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
24 questions
LSO - Virus, Bacteria, Classification - sol review 2025

Quiz
•
9th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade