sozluk_terkar

sozluk_terkar

8th Grade

14 Qs

quiz-placeholder

Similar activities

Islam tarihi savaşları

Islam tarihi savaşları

8th Grade

10 Qs

sozluk_terkar

sozluk_terkar

Assessment

Quiz

Instructional Technology

8th Grade

Hard

Created by

Mevlüt Can Adıyaman

Used 2+ times

FREE Resource

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]

Create a free account and access millions of resources

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

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

Already have an account?