Search Header Logo

Python Kütüphaneleri Quiz

Authored by HİMMET KIRLI

Computers

9th Grade

Used 3+ times

Python Kütüphaneleri Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki kod ne işe yarar? import random print(random.randint(1, 10))

1 ile 10 arasındaki rastgele sayıyı ekrana yazar

1 ve 10'u toplar

Hata verir

Her zaman 5 döndürür

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki ifadede eksik olan kısım nedir? from random import _______

randint

print

time

input

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Turtle kütüphanesi ne işe yarar?

Rastgele sayılar üretir

Grafiksel çizimler yapar

Ses oynatır

Dosya okur

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki kod turtle ile ne çizer? import turtle t = turtle.Turtle() t.forward(100) t.right(90) t.forward(100)

Daire

Çizgi ve sağa dönme

Kare

Üçgen

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki kodda eksik olan satırı tamamlayın:

_______ turtle

kalem = turtle.Turtle()

from

import

include

define

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aşağıdaki random fonksiyonu ne yapar? random.choice(["elma", "armut", "muz"])

Hata verir

Listedeki tüm elemanları yazdırır

Listeden rastgele bir eleman seçer

Listeyi sıralar

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

from turtle import * yazarsak, hangi avantajı sağlar?

Kod çalışmaz

turtle fonksiyonlarını direkt kullanabiliriz

Rastgele sayı üretir

Sadece for döngüsü çalışır

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?