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
Bài 27

Quiz
•
10th Grade - University
14 questions
Kviza o SQL upitima i WHERE klauzuli

Quiz
•
12th Grade
15 questions
Python String Methods Quiz

Quiz
•
10th Grade
15 questions
Kviz o Mikroprocesorima

Quiz
•
12th Grade
15 questions
bài 26

Quiz
•
10th Grade
15 questions
Uvod u programiranje

Quiz
•
12th Grade
8 questions
Kviz o strukturiranom programiranju

Quiz
•
12th Grade
14 questions
Quiz on Classes and Objects in C++

Quiz
•
10th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Information Technology (IT)
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade