Συναρτήσεις Python

Quiz
•
Computers
•
1st - 5th Grade
•
Medium
gregory giannis
Used 2+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Η συνάρτηση είναι ένα μέρος προγράμματος το οποίο μπορεί να επαναχρησιμοποιείται και έχει ένα ονομα.
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
A function is a reusable part of a program with a name, making the statement 'ΣΩΣΤΟ' correct.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Με ποια χαρακτηριστική λέξη ορίζουμε μια συνάρτηση;
def
while
if
Answer explanation
The characteristic word used to define a function is 'def'.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Με ποια απο τις παρακάτω επιλογές ορίζουμε την συνάρτηση ginomeno;
define ginomeno( )
def ginomeno( )
def ginomeno( ):
define ginomeno:
Answer explanation
The correct choice is 'def ginomeno( ):'. In Python, functions are defined using 'def' keyword followed by the function name and parentheses. The colon indicates the start of the function block.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Υπάρχουν συναρτήσεις στην Python που είναι ενσωματωμένες;
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
Yes, there are built-in functions in Python, making the correct answer 'CORRECT'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Η int( ) είναι μια ενσωματωμένη συνάρτηση στην Python
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
The explanation confirms that the int() function is an embedded function in Python, which makes the correct answer 'ΣΩΣΤΟ'.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ποιο θα είναι το αποτέλεσμα της συνάρτησης για τα ορίσματα (5,10)
20
15
50
500
Answer explanation
The function result is calculated by multiplying the two arguments, so 5 * 10 = 50. Therefore, the correct answer is 50.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Μπορεί μια συνάρτηση να μην έχει παραμέτρους στην παρένθεση;
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
A function can indeed have no parameters in the parentheses, making the statement 'ΣΩΣΤΟ' (Correct) the accurate choice.
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ορίσματα ονομάζονται οι τιμές των παραμέτρων κατα την κλήση της συνάρτησης
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
The correct answer is 'ΣΩΣΤΟ' because arguments are indeed the values of the parameters when calling a function.
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Κάθε συνάρτηση τελιώνει με την εντολή return υποχρεωτικά
ΣΩΣΤΟ
ΛΑΘΟΣ
Answer explanation
The correct choice is 'ΛΑΘΟΣ' because not every function in programming needs to end with a 'return' statement.
Similar Resources on Wayground
12 questions
Πασχαλινό κουίζ

Quiz
•
5th - 6th Grade
10 questions
Λέμε ΟΧΙ στον Διαδικτυακό Εκφοβισμό

Quiz
•
1st - 5th Grade
10 questions
Η επανάσταση του 1821

Quiz
•
4th - 6th Grade
11 questions
Α Λυκείου/ΕΠΑΛ Κεφ. 10 - Υπηρεσίες και Εφαρμογές Διαδικτύου

Quiz
•
1st Grade
8 questions
Ήρωας του Διαδικτύου

Quiz
•
1st - 3rd Grade
12 questions
5 FIREBASE

Quiz
•
4th Grade
10 questions
ΜΟΝΑΔΕΣ ΑΠΟΘΗΚΕΥΣΗΣ

Quiz
•
5th - 6th Grade
11 questions
Logo Challenge Part1

Quiz
•
3rd - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade