
Συναρτήσεις Python
Authored by gregory giannis
Computers
1st - 5th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
Access all questions and much more by creating a free account
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
Already have an account?