Search Header Logo

Python2

Authored by Nenehatun Lisesi

Science

9th Grade

Used 17+ times

Python2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kullanıcıdan bilgi almak için hangi komut kullanılır?

if

for

print

while

input

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Aşağıdaki kodda boşluğa hangi ifade gelir?

isim= input("Adınızı girin: ")

print("Merhaba", ......)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bir listenin eleman sayısını veren kod hangisidir?

size()

len()

count()

lenght()

print()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bir liste oluşturmanın doğru yolu hangisidir?

liste = (1,2,3)

liste = [1,2,3]

liste = {1,2,3}

liste = <1,2,3>

liste = "1,2,3"

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

liste = [10, 20, 30]

print(len(liste))

kodun çıktısı nedir?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

sayilar = [1, 2, 3]

sayilar.append(4)

print(sayilar)

kodunun sonucu nedir?

[4,1, 2, 3]

[1, 2, 3,4]

(1, 2, 3,4)

[1, 2, 3]

[0,1,2,3]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki seçeneklerden hangisi print() ile doğru kullanımdır?

print["Merhaba"]

print("Merhaba")

print = "Merhaba"

print=("Merhaba")

print("Merhaba":)

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?