
Python Quiz 4 YUYAPZEK

Quiz
•
Education
•
University
•
Hard
Yunus Emre
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
print(type(True))
Yukarıda verilen kod konsola aşağıdakilerden hangisini yazdırır?
<class 'bool'>
Hata verir
<class 'float'>
<class 'int'>
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
numbers = (1,2,3)
numbers.append(1)
print(numbers)
Yukarıdaki kod bloğu çalıştırıldığında konsola aşağıdakilerden hangisini yazdırır?
1,2,3
"1, 2, 3, 1"
1,2,3,1
Hata verir.
Answer explanation
numbers değişkeninin veri tipinin Tuple olduğunu eşitlendiği sayıların '()' içerisine alınmasından anlıyoruz. Tuple veri tipi değiştirilmeye izin vermediği için append methoduna sahip değildir. Dolayısıyla kod çalıştırıldığında hata verir.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
my_dictionary = {
"name" : "John",
"age" : 30
}
print(my_dictionary) ifadesi konsola aşağıdakilerden hangisini yazdırır?
<class 'dict'>
John, 30
{'name': 'John', 'age': 30}
Hata verir.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 10
b = 5
a *= b
print(a) ifadesi konsola aşağıdakilerden hangisini yazdırır?
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 3
a **= a
print(a) kodu konsola aşağıdakilerden hanginisini yazdırır?
Hata verir.
27
3
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1,2,3]
b = [1,2,3]
print(a is b) kodu konsola aşağıdakilerden hangisini yazdırır?
True
Hata verir.
False
a = b
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = "hello"
b = "hello"
c = 7
d = 9
result = (a == b) or (c==d)
print(result) kodu konsola aşağıdakilerden hangisini yazdırır?
True
False
Hata verir
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Quiz 3 YUYAPZEK

Quiz
•
University
10 questions
YuYapZek Python101 Ders2

Quiz
•
University
10 questions
Hemşirelikte Eğitim 3. sınıf

Quiz
•
University
14 questions
Özel Eğitime Giriş (Formasyon)

Quiz
•
University
10 questions
Yazılı sınavlar

Quiz
•
University
6 questions
Toplumda Kurallar ve Sorumluluklarımız

Quiz
•
University
10 questions
Eğitimde Ölçme ve Değerlendirme

Quiz
•
University
10 questions
YUYAPZEK PYTHON101

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Education
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University