1 Correct Mark 00 out of 00 Flag question Question text Ushbu kod ishga tushirilgach “12” kiritlsa ekranga qanday natija chiqadi? a=int(input) if a>=10: print(a) elif a
Download 65.09 Kb.
|
2.3 3-joriy
- Bu sahifa navigatsiya:
- Pythonda toliq tarmoqlahish " agar ... uholda ... aks holda ... " buyrug‘i qanday ko‘rinishga ega
Question 1 Correct
Mark 1.00 out of 1.00 Flag question Question text Ushbu kod ishga tushirilgach “12” kiritlsa ekranga qanday natija chiqadi? a=int(input()) if a>=10: print(a) elif a<100: print("ok") else :
print("no") Birini tanlang: a. ok b. a
c. no d. 12
Feedback Ваш ответ верный. Question 2 Correct
Mark 1.00 out of 1.00 Flag question Question text Qaysi ifoda D uch xonali sonning raqamlari yig'indisini hisoblaydi? Birini tanlang: a. D//100 + D//10%10 + D%10 b. D//10 + D%10//10 + D%10 c. ) D%100 + D//10 + D%10 d. D//100 + D//10 + D%10 Feedback
Ваш ответ верный. Question 3 Correct Mark 1.00 out of 1.00 Flag question Question text Ushbu kod ishga tushirilgach “21” kiritlsa ekranga qanday natija chiqadi? a=int(input()) if (a>25) or (a%2==1): print(a//2) else: print(a*2) Birini tanlang: a. 10.5 b. 42
c. 2121 d. 10
Feedback Ваш ответ верный. Question 4 Correct
Mark 1.00 out of 1.00 Flag question Question text Python-dagi shartli operatorda Birini tanlang: a. if, elseqismlarmajburiy emas b. elseqism majburiy c. if, elseqismlarmajburiy d. if qism majburiy Feedback
Ваш ответ верный. Question 5 Correct Mark 1.00 out of 1.00 Flag question Question text Python-dagi qaysi ifoda qiymqti True (rost) ga tengbo‘ladi? Birini tanlang: a. 2020//12 >= 100 b. 2020*12 > 12**100 c. 2020%12 >= 100 d. 2020/12 <= 100 Feedback Ваш ответ верный. Question 6 Correct
Mark 1.00 out of 1.00 Flag question Question text Python-dagi qaysi ifoda qiymqti True (rost) ga tengbo‘ladi? Birini tanlang: a. 120 >= 115 b. 120 > 15 c. "120" >= "115" d. "120" > "15" Feedback
Ваш ответ верный. Question 7 Correct Mark 1.00 out of 1.00 Flag question Question text Pythonda “teng emas” operatori qanday ifodaladi? Birini tanlang: a. != b. <>
c. =! d. not
Feedback Ваш ответ верный. Question 8 Correct
Mark 1.00 out of 1.00 Flag question Question text Uchbutaqqoslash operatorining natijasi qanday bo'ladi? 2000//200*2==2020%200
Birini tanlang: a. 20 b. False
c. Error d. True
Feedback Ваш ответ верный. Question 9 Correct
Mark 1.00 out of 1.00 Flag question Question text .Pythonda qaysi so'z mantiqiy operator emas? Birini tanlang: a. and b. no
c. or d. but
Feedback Ваш ответ верный. Question 10 Correct
Mark 1.00 out of 1.00 Flag question Question text
Birini tanlang: a. if ... only .. b. if ... either ... c. if ... else ... d. if ... neither ... Feedback Ваш ответ верный. Download 65.09 Kb. Do'stlaringiz bilan baham: |
ma'muriyatiga murojaat qiling