
Python Şərt Operatorları Quiz-1
Authored by Xədicə Qurbanova
others
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python'da 'böyük və ya bərabərdir' operatoru hansıdır?
=
==
>=
<=
!=
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı şərtdən hansı səhvdir? if 5 > 10: print("Doğrudur")
if operatoru səhv yazılıb
> əvəzinə < olmalıdır
print() metodu düzgün işləməyəcək
5 > 10 yanlış şərtdir
if operatoru yalnız ədədlər üçün istifadə olunur
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python-da şərt operatorları hansı məlumat tipini qaytarır?
int
str
bool
float
list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kodun nəticəsi nə olacaq? a = 10; b = 5; if a < b: print("A kiçikdir"); else: print("A böyükdür")
A kiçikdir
A böyükdür
Heç nə çap olunmayacaq
Səhv verəcək
Kod sonsuz dövrəyə girəcək
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
elif operatorunun funksiyası nədir?
Yeni dəyişən təyin edir
Dövr operatorudur
Əlavə şərtləri yoxlamaq üçündür
Funksiya yaratmaq üçündür
Obyekt yaratmaq üçündür
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Aşağıdakı kodun nəticəsi nə olacaq? x = 15; if x % 2 == 0: print("Cüt ədəddir"); else: print("Tək ədəddir")
Cüt ədəddir
Tək ədəddir
Səhv verəcək
Heç nə çap olunmayacaq
Kod donacaq
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python-da şərt operatorlarının düzgün yazılış qaydası hansıdır?
if şərt:
if (şərt)
if: şərt
şərt if:
if şərt then:
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?