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

Python Kütüphaneleri Quiz

Quiz
•
Computers
•
9th Grade
•
Medium
HİMMET KIRLI
Used 3+ times
FREE Resource
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
9.sınıf Programlama Temelleri

Quiz
•
9th Grade
14 questions
9.1.5 - Starter Quiz

Quiz
•
7th - 11th Grade
20 questions
Python turtle year 8 assessment

Quiz
•
7th - 9th Grade
15 questions
Жанар214

Quiz
•
9th Grade - University
14 questions
Python Quiz 1

Quiz
•
9th - 12th Grade
21 questions
BİLGİSAYAR BİLİMİ QUİZ

Quiz
•
9th Grade
15 questions
9 сынып массив2

Quiz
•
9th Grade
20 questions
Scratch Pre-Assessment

Quiz
•
5th - 9th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade