Συμπληρώστε κατάλληλα τον ορισμό της συνάρτησης ginomeno ωστε να υπολογίζει το γινόμενο 2 αριθμών a,b
def
Κουιζ 2 Συναρτήσεις Python
Passage
•
Computers
•
12th Grade
•
Easy
gregory giannis
Used 3+ times
FREE Resource
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Συμπληρώστε κατάλληλα τον ορισμό της συνάρτησης ginomeno ωστε να υπολογίζει το γινόμενο 2 αριθμών a,b
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Εστω ο ορισμός της συνάρτησης:
def python3( ):
print "python"
print "python"
print "python"
Πως θα καλέσουμε την συνάρτηση στο πρόγραμα;
python3(3)
python3(x3)
python3( )
python(3 )
Answer explanation
The correct way to call the function is python3( ) as it matches the defined function signature without any arguments.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Βάλε στη σωστή σειρά τις εντολές ωστε να υπολογιστεί το γινόμενο 2 αριθμών a,b με την συνάρτηση ginomeno
def ginomeno(a,b):
x=a*b
return x
def ginomeno(a,b):
x=a*b
return ginomeno
def ginomeno(a,b):
x=axb
return x
Answer explanation
The correct choice defines the function ginomeno(a,b) to calculate the product of two numbers a and b, storing it in x and returning x as the result.
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Γραψτε συνάρτηση στην Python που να υπολογίζει το αθροισμα των αριθμών απο το 1 μεχρι τον αριθμό που θα δώσουμε. Χρησιμοποιείστε το Ν ως μεταβλητη για τον αριθμό που θα δωσετε.
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Γραψτε συνάρτηση στην Python που να υπολογίζει το αθροισμα των αριθμών απο το 1 μεχρι τον αριθμό που θα δώσουμε. Χρησιμοποιείστε το Ν ως μεταβλητη για τον αριθμό που θα δωσετε.
Evaluate responses using AI:
OFF
10 questions
Πίνακες- Αναζήτηση
Quiz
•
12th Grade
10 questions
5.3 Κυβερνοασφάλεια
Quiz
•
12th Grade
10 questions
ΤΥΥΣΔΥ Κ3.4 Απομακρυσμένη Διαχείριση Συστημάτων
Quiz
•
12th Grade
12 questions
Υλικό Υπολογιστή - Κεφ.2
Quiz
•
10th - 12th Grade
10 questions
ΤΥΥΣΔΥ Κ5.4 Υποστήριξη Mail Server
Quiz
•
12th Grade
10 questions
ΕΔΣΥΣ Κ3.2 Laptop Αλλαγή RAM & Δίσκου
Quiz
•
12th Grade
12 questions
Δίκτυα - Κεφάλαιο 3 - game2
Quiz
•
12th Grade
10 questions
Παρουσιάσεις
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade
65 questions
MegaQuiz v2 2025
Quiz
•
9th - 12th Grade
10 questions
GPA Lesson
Lesson
•
9th - 12th Grade
15 questions
SMART Goals
Quiz
•
8th - 12th Grade
45 questions
Week 3.5 Review: Set 1
Quiz
•
9th - 12th Grade