
Python Çalışması
Authored by Kenan Çağlayan
Computers
7th Grade
Used 30+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aşağıdaki kodlar hangi program için yazılmıştır?
import random
while True:
rolled_num = random.randint(1,6)
print("The dice rolled and you got: ", rolled_num)
input("Press any key to roll again.")
Zar atma
Rastgele harf bulma
Toplama yapma
Çarpma yapma
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aşağıdaki kodlar hangi program için yazılmıştır?
import random
n = random.randint(1, 99)
guess = int(input("Enter an integer from 1 to 99: "))
while n != "guess":
if guess < n:
print ("guess is low")
guess = int(input("Enter an integer from 1 to 99: "))
elif guess > n:
print ("guess is high")
guess = int(input("Enter an integer from 1 to 99: "))
else:
print ("you guessed it!")
break
Zar atma
Sayı tahmini
Rastgele harf bulma
İsim tahmini
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aşağıdaki programın çıktısı nedir?
a=4
print (a)
b=12+5
print (b)
c=b%a
print (c)
4
17
4%17
4
17
b%a
a
b
c
4
17
1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aşağıdaki fonksiyon kullanımı ile ilgili kodların çıktısı hangisi olabilir?
def kayit(isim, soyisim, işsis, şehir):
print("-"*30)
print("isim : ", isim)
print("soyisim : ", soyisim)
print("işletim sistemi: ", işsis)
print("şehir : ", şehir)
print("-"*30)
kayit("Fırat", "Özgül", "Ubuntu", "İstanbul")
isim : Fırat
soyisim : Özgül
işletim sistemi: Ubuntu
Fırat
Özgül
Ubuntu
İstanbul
isim : Fırat
soyisim : Özgül
işletim sistemi: Ubuntu
şehir : İstanbul
Fırat, Özgül, Ubuntu, İstanbul
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Aşağıdaki fonksiyon kullanımı ile ilgili kodların çıktısı hangisi olabilir?
def fonk(n):
if n < 0:
return 'eksi değerli sayı olmaz!'
else:
return n
f = fonk(-5)
print(f)
-5
eksi değerli sayı olmaz!
f
kod hata verir
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Microsoft Excel #1 Basics
Quiz
•
7th - 10th Grade
10 questions
Informatika
Quiz
•
6th - 8th Grade
10 questions
Python Math
Quiz
•
1st - 12th Grade
10 questions
Kodlama
Quiz
•
5th - 8th Grade
10 questions
Python list and tuple
Quiz
•
6th - 8th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)
Quiz
•
7th - 11th Grade
10 questions
Banana Tales Part I (1-40)
Quiz
•
6th - 8th Grade
10 questions
computer system basic part 1
Quiz
•
7th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade