"
olympiad.uzedu.uz Telegram (
https://t.me/olimpdep
)
Olimpiada topshiriqlari (II tuman bosqichi)
Informatika 11-sinf
20.10.2023 11:00-12:30
17. Quyidagi dastur natijasini toping:
n, count = 48, 0
for i in range(2, n):
if n % i == 0: count += 1
print(count)
А) 10
В) 6
С) 9
D) 8
18. Internet orqali 800 MB hajmli faylning choragi 8
Mbit/s tezlik bilan, qolgani 24 Mbit/s tezlik bilan
yuklab olingan. Falyni to‘liq yuklash uchun necha
soniya vaqt sarflanganini aniqlang.
А) 120
В) 50
С) 400
D) 100
19. Barcha tomoni natural son bo‘lgan turli
tomonli
uchburchakning ikki kichik tomonlari mos ravishda
11
6
va 14
8
. Uchinchi tomoni bo‘lishi mumkin bo‘lgan
eng katta uzunlikni o‘n ikkilik sanoq sistemasida
toping.
А) 1A
В) 14
С) 13
D)
16
20. Python dasturlash tilida input.txt faylini o‘qish
uchun ochadigan funksiyani toping.
А) open(‘input.txt’, ‘w’) В) fopen(‘input.txt’, ‘r’)
С) open(‘input.txt’, ‘r’)
D)
fopen(‘input.txt’, ‘w’)
Dostları ilə paylaş: