Search Header Logo

חזרה על פייתון א

Authored by Adrian Laufer

Computers

8th Grade

Used 3+ times

חזרה על פייתון א
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print("My age is 8" + 5)

Output: My age is 13

Output: My age is 8 + 5

Output: My age is 8My age is 8My age is 8My age is 8My age is 8

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

נתון:
year = 1970

ותנאי:

if year > 1985 and (year > 2010 or year < 2000)


האם התנאי מתקיים?

כן

לא

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

8 // 3 == 10 % 5 ?

כן

לא

לפעמים

מה זה?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(4):
print(i)

פלט:

0
1
2
3

פלט:

1
2
3
4

פלט:

i
i
i
i

Error:
משתנה לא מוגדר

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(10, 5, -6):

print(i)

מה יודפס?

כלום

10

Error

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

.אם תנאי א' מתקיים תעשה כך וכך
אחרת, אם תנאי ב' מתקיים, תעשה כך וכך.

איך קוראים למונח "אחרת, אם" בפייתון?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

limit = 5

i = 0

while i <= limit:

print(i)
מה יודפס?

0
1
2
3
4

0
1
2
3
4
5

0
0
0
0

0
0

כל התשובות לא נכונות

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?