
Κουιζ 2 Συναρτήσεις Python
Authored by gregory giannis
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
11 questions
Β' Λυκείου Κεφ2.1 Πρόβλημα
Quiz
•
9th - 12th Grade
10 questions
HTML TAGS
Quiz
•
12th Grade
10 questions
DIV / MOD (#1)
Quiz
•
12th Grade
11 questions
Προσωπικά Δεδομένα
Quiz
•
6th Grade - University
10 questions
ΠΣΕΟ Κ3.4 GIS & HRMS
Quiz
•
12th Grade
10 questions
ΕΔΣΥΣ Κ2.9 Chipset & Δίαυλοι
Quiz
•
12th Grade
11 questions
App Inventor
Quiz
•
12th Grade
10 questions
Κυβερνοασφάλεια: Ασφάλεια δικτύου και πληροφοριακών συστημάτων
Quiz
•
9th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
24 questions
Identify Properties of Polygons and Quadrilaterals
Quiz
•
9th - 12th Grade