Συναρτήσεις 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
8 questions

Quiz
•
1st - 2nd Grade
12 questions
Access-Βασικές Έννοιες

Quiz
•
1st - 5th Grade
13 questions
Computer Hardware - Υλικό Υπολογιστή

Quiz
•
2nd - 10th Grade
10 questions
Το Quiz της Πληροφορικής

Quiz
•
1st - 10th Grade
8 questions
SCRATCH

Quiz
•
5th - 6th Grade
12 questions
Ευγένεια στο διαδίκτυο

Quiz
•
1st - 5th Grade
10 questions
Διαγωνισμός Υπολογιστικής Σκέψης ΙΙ

Quiz
•
3rd Grade
10 questions
Α4Μ11

Quiz
•
1st 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