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
Rješavamo li problem tako da dijelove programa izdvajamo u zasebne cjeline i pozivamo ih prema potrebi, možemo reći da se bavimo
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 Wayground
10 questions
Мәтінді форматтау

Quiz
•
10th Grade - University
15 questions
Dasar Desain

Quiz
•
10th Grade
10 questions
Počítačová grafika

Quiz
•
6th Grade - University
12 questions
Tinklalapių kūrimo sąvokos

Quiz
•
10th Grade - University
16 questions
Sharopova G

Quiz
•
10th Grade
10 questions
Quiz về tìm kiếm thông tin trên WWW

Quiz
•
6th Grade - University
8 questions
Osnove imperativnog programiranja

Quiz
•
12th Grade
14 questions
Kviz o kablovima i grafičkim karticama

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
10 questions
Impact of 9/11 and the War on Terror

Interactive video
•
10th - 12th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
21 questions
Lab Safety

Quiz
•
10th Grade