Search Header Logo

sozluk_terkar

Authored by Mevlüt Can Adıyaman

Instructional Technology

8th Grade

Used 2+ times

sozluk_terkar
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

{"renk":"yesil", "sayi":2} Bu yapının 0. indeksi aşağıdakilerden hangisidir?

"renk" değeri 0. indexte bulunur.

"yesil" değeri 0. indexte bulunur.

"sayi" değeri 0. indexte bulunur.

Sözlüklerde index kullanılmaz.

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Python'da fonksiyon oluşturmak için hangi anahtar kelime kullanılır?

def

fonksiyon

foksiyon()

def()

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

s = {"renk":"yesil", "sayi": 2}

for a, d in s.items():

print(a)

Yukarıdaki kod sırası ile ekrana aşağıdakilerden hangisini yazdırı?

renk

yesil

yesil

2

renk

sayi

sayi

2

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

def toplama(ilk_sayi, ikinci_sayi):

return ilk_sayi + ikinci_sayi

Yukarıdaki fonksiyonun doğru kullanımı aşağıdakilerden hangisidir?

toplama(ilk_sayi, ikinci_sayi)

print(toplama(ilk_sayi, ikinci_sayi))

toplama(1, 3)

def toplama(1, 4)

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

def toplama_1(ilk_sayi, ikinci_sayi):

return ilk_sayi + ikinci_sayi

def toplama_1(ilk_sayi, ikinci_sayi):

print(ilk_sayi + ikinci_sayi)

a = toplama_1(3, 4)

b = toplama_2(1, 3)

a ve b değişkenlerinin değerleri sırasi ile aşağıdakilerden hangisidir ?

print kullanılmadığı için hatalı

7, 4

None, None

7, None

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

s = {"renk":"yesil", "sayi": 2}

for a in s.values():

print(a)

Yukarıdaki kod sırası ile ekrana aşağıdakilerden hangisini yazdırı?

yesil

2

renk

sayi

renk

yesil

sayi

2

7.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

kelime = "İnsan"

Aşağıdakilerden hangisi yukarıdaki stringin ilk ve son karakterlerinin kırpılmış halidir ?


kelime(1:4)

kelime[1:4]

kelime[ : 5]


"kelime"[1:4]

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?

Discover more resources for Instructional Technology