
Python functions
Authored by אריאל קלפנר
Computers
11th Grade
Used 20+ 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
15 mins • 1 pt
square איך מזמנים את הפונקציה
def(1)
x=square( )
defSquare(4)
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
ViewersViewersViewers
Welcome
Viewers,Viewers,Viewers
Welcome
6.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
? מהו הפלט של קטע הקוד
13
7
Infinite Loop
17
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 Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?