Python functions

Python functions

9th - 12th Grade

18 Qs

quiz-placeholder

Similar activities

עצמים לולאות ומה שבינהם

עצמים לולאות ומה שבינהם

10th Grade

13 Qs

Python Functions

Python Functions

9th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Python turtle

Python turtle

8th - 9th Grade

20 Qs

מוט וטבעות מבדק מסכם

מוט וטבעות מבדק מסכם

9th - 12th Grade

20 Qs

סקרץ' לכיתה ז2

סקרץ' לכיתה ז2

10th Grade

19 Qs

Python Functions

Python Functions

12th Grade

23 Qs

Python functions

Python functions

11th Grade

18 Qs

Python functions

Python functions

Assessment

Quiz

Computers

9th - 12th Grade

Easy

Created by

שי צברי

Used 2+ times

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Media Image

אייך מזמנים את הפונקציה

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

Media Image

? מה יהיה הפלט

Welcome

Viewers

Welcome

Viewers,Viewers,Viewers

Welcome

ViewersViewersViewers

Welcome

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

? מהו הפלט של קטע הקוד

Infinite Loop

17

11

7

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

? איזה משתנה מוגדר מחוץ לפונקציה

משתנה סטטי

משתנה גלובאלי

משתנה לוקאלי

משתנה אוטומטי

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?