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
8 questions
GO! Quizz Zeriusz Day 9

Quiz
•
10th Grade
13 questions
C# ponavljanje

Quiz
•
10th Grade
15 questions
Uvod u programiranje

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

Quiz
•
10th Grade
15 questions
Bài 28

Quiz
•
10th Grade - University
15 questions
Pemrograman Terstruktur Semester 2 (1) Fungsi

Quiz
•
10th Grade
7 questions
БЖБ 2-тоқсан 10-сынып

Quiz
•
10th Grade
10 questions
TRẮC NGHIỆM VUI PYTHON

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Interactive video
•
6th - 10th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade