"""Verilen kod parçasının çıktısı aşağıdakilerden hangisidir?"""
if [1,2,3,4][2] == 2:
print("YES")
else:
print("NO")
Python_Exam
Quiz
•
Science
•
Professional Development
•
Easy
habip akyol
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
"""Verilen kod parçasının çıktısı aşağıdakilerden hangisidir?"""
if [1,2,3,4][2] == 2:
print("YES")
else:
print("NO")
2
1
Hata
NO
2.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
"""Verilen kod parçasının çıktısı aşağıdakilerden hangisidir?"""
def mesaj():
print("Merhaba!")
mesaj()
Hata
Çalışır ama çıktı üretmez
Merhaba!
Merhaba
3.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
def islem(x):
if (x<0):
return "NO"
else:
x*5
islem(2)
NO
Hata
Çalışır, ama çıktı vermez
10
4.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
A = []
B = []
for i in [1,"a",12,"b"]:
if type(i) == int:
B.append(i)
else:
A.append(i)
A[1]
'b'
B
12
1
5.
MULTIPLE CHOICE QUESTION
10 mins • 1 pt
def islem(x):
if (x>10):
return "YES"
else:
return x*5
islem(4)
10
20
Hata
YES
6.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
break ifadesi ne için kullanılır?
Bir şart yakalandığında ekrana yazdırmak için
Bir şart yakalandığında ona bir işlem yapmak için
Yakalanan şartı atlayarak işleme devam etmek için
Yakalanan şarta gelindiğinde çalışmayı durdurmak için
Döngü içerisindeki elemanları yakalamak için
7.
MULTIPLE CHOICE QUESTION
10 mins • 5 pts
A = 12
if type(A) == str:
A = A.strip("*")
print(A)
else:
A = "*" + str(A) + "*"
print(A.strip())
Hata
*12*
*A*
A
20 questions
Uzay ve Astronomi - FATİH TOPAL
Quiz
•
7th Grade - Professio...
25 questions
Çoktan Seçmeli ve Kısa Cevaplı Sorular
Quiz
•
Professional Development
24 questions
FTIR
Quiz
•
University - Professi...
20 questions
MİLLİ UZAY YOLCUMUZU UĞURLUYORUZ
Quiz
•
Professional Development
20 questions
Farma 17.06.25
Quiz
•
Professional Development
20 questions
Basic 2 Python
Quiz
•
12th Grade - Professi...
16 questions
Aynı Gökyüzü Altında
Quiz
•
Professional Development
15 questions
Hz. Fatıma Kur'an Kursu Hafızlık Hazırlık Sınıfı Deneme Sınavı
Quiz
•
Professional Development
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade