Search Header Logo

Python Döngüler Sınavı

Authored by muhammed özdemir

Information Technology (IT)

9th Grade

Used 14+ times

Python Döngüler Sınavı
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki döngü ne kadar çalışır? for i in range(3): print(i)

0 kez

2 kez

3 kez

Sonsuz kez

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakilerden hangisi while döngüsünün sonsuza kadar çalışmasına neden olur?

while 0:

while False:

while True:

while i < 0:

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

break ifadesi ne işe yarar?

Döngüyü yavaşlatır

Döngüyü bir sonraki adıma atlatır

Döngüyü sonlandırır

Döngüyü baştan başlatır

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki döngü çıktısı nedir? for i in range(1, 4): print(i * 2)

1 2 3

2 4 6

3 6 9

0 1 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

continue ifadesi döngüde ne işe yarar?

Döngüyü bitirir

Döngünün o adımını atlayıp bir sonraki adıma geçer

Hata verir

Kodun başına döner

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

range(5, 1, -1) ifadesi hangi sayıları üretir?

5, 4, 3, 2

5, 4, 3, 2, 1

1, 2, 3, 4, 5

Hata verir

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdakilerden hangisi for döngüsüyle çalışmaz?

range(10)

"merhaba"

[1, 2, 3]

while i < 5:

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?