Korisničke funkcije u Pythonu
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Easy
Milan Martuslović
Used 1+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Atalhos de Teclado para Estudantes
Quiz
•
12th Grade
15 questions
QuizRpl11
Quiz
•
11th Grade
11 questions
Kiểm tra kiến thức HTML
Quiz
•
12th Grade
15 questions
Quiz Intro DBMS
Quiz
•
11th Grade
11 questions
Varijable i konstante, tipovi podataka
Quiz
•
9th Grade
10 questions
Fundamentos de Programación en Python
Quiz
•
6th Grade - University
16 questions
Hoaxy a dezinfomíácie
Quiz
•
9th Grade
15 questions
Module 3 - Unity Scripting Basics
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
9th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
20 questions
Cell Transport
Quiz
•
9th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
