
Python_Exam
Quiz
•
Science
•
Professional Development
•
Practice Problem
•
Easy
habip akyol
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
