
Python functions
Authored by שי צברי
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
אייך מזמנים את הפונקציה
square
def(1)
defSquare(4)
x=square( )
x=square(5)
2.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
מה תפקידה של הפונקציה
id()
בפייתון
מחזירה מספר שהוא הכתובת בזיכרון של אובייקט מסוים
הכתובת בזיכרון של משתנים שלא בשימוש
אף תשובה לא נכונה
שתי התשובות נכונות
3.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
מה תחזיר פונקציה שיש לה
return
ללא ערך או משתנה
None
int
double
null
4.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
כותרת של פונקציה אמורה לכלול
שם הפונקציה בלבד
שם הפונקציה ורשימת פרמטרים
פרמטרים בלבד
ערך החזרה
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
? מה יהיה הפלט
Welcome
Viewers
Welcome
Viewers,Viewers,Viewers
Welcome
ViewersViewersViewers
Welcome
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
? מהו הפלט של קטע הקוד
Infinite Loop
17
11
7
7.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
? איזה משתנה מוגדר מחוץ לפונקציה
משתנה סטטי
משתנה גלובאלי
משתנה לוקאלי
משתנה אוטומטי
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?