|
qism: Har bir topshiriq 1,5 balldan baholanadi
|
bet | 2/2 | Sana | 13.09.2024 | Hajmi | 23,92 Kb. | | #270999 |
Bog'liq Informatika Savollar UZB 11qism: Har bir topshiriq 1,5 balldan baholanadi
Dastur natijasini toping:
a = ['matematika', 'informatika', 'kimyo', 'fizika'] print(a[True])
A) matematika B) True C) informatika D) AttributeError
Quyidagi ifodaning qiymatini o’nlik sanoq sistemasida hisoblang: 101,012 + 2A,4816 + 33,448
A) 75,09375 B) 23,09733 C) 74,11275 D) 74,46287
Dastur natijasini toping: a = 23
a>>=2
print(a)
A) 11 B) 3 C) 21 D) 5
Dastur natijasini toping: a = 7
a |= 4 print(a)
A) 7 B) 11 C) 4 D) 3
Brend marketingdagi muhim tushunchadir. Brend bo’lmasangiz, mavjud emassiz. U holda siz kimsiz? Siz oddiy tovarsiz.
Ushbu gaplar muallifini toping.
A) Mark Sukkerberg B) Filip Kotler C) Chriz Huhez D) Steve Chen
Dastur natijasini toping: a = 543
b = -82
print(a//b)
A) 7 B) -7 C) 6 D) -8
Ms Excelda qaysi funksiya shartni qanoatlantiruvchi blokning bo’sh bo’lmagan kataklar sonini sanaydi?
A) ИСТИНA B) ЕСЛИ C) СЧЁТЕСЛИ D) НОК
Scratch dasturining eng kichik fragmenti nima deb nomlanadi?
A) Sprayt B) Sahna C) Blok D) Skript
8 bit bilan necha xil rangni kodlash mumkin?
A) 3 xil B) 256 xil C) 8 xil D) 128 xil
Pythonda fayldan matnni qatorma-qator o’qish uchun qaysi funksiyadan foydalanamiz?
A) write B) writeline C) read D) readline
qism: Har bir topshiriq 2,6 balldan baholanadi
Dastur natijasini toping: a = (5, 4, 3, 2, 1)
a[1] = 6
print(a)
A) (6, 4, 3, 2, 1) B) TypeError
C) (5, 6, 3, 2, 1) D) AttributeError
Dastur natijasini toping:
a = {'facebook', 'youtube', 'telegram'} del a
print('a')
A) a B) TypeError
C) 3 D) NameError
Dastur natijasini toping: print(8**4//6+202//10*(12-8)%12)
A) 160 B) 690
C) 4520 D) 785
Dastur natijasini aniqlang: a = '{0}{0}'.format(7, 17) print(int(a))
A) 717 B) 77
C) 1717 D) 17
25. IP adres: 177.68.32.5
Maska: 255.255.224.0
Berilgan ma’lumotlardan foydalanib tarmoq manzilini aniqlang. A) 177.68.32.255 B) 255.255.254.5
C) 177.68.32.0 D) 255.255.255.0
Dastur natijasini aniqlang. def f(n):
if n<=2: return 1
return 2*f(n-1)+f(n-2) print(f(6))
A) 64 B) 20
C) 46 D) 41
7 ning 27 darajasi sakkizlik sanoq sistemasida qanday raqam bilan tugaydi?
A) 1 B) 7
C) 3 D) 9
Dastur natijasini aniqlang a = (5, 6, 7,5,7,4)
x = 7
b = list(a) for i in b:
if x == i: b.remove(i)
b1= tuple(b) print(b1)
A) (5,6,5,4) B) {5, 6,5, 4}
C) [5,6,5,4] D) 5, 6, 5, 4
64 xil rangli, gorizontaliga 1240 ta nuqtali, vertikaliga 1024 ta nuqtali ekrandagi rasm axborot hajmini Kbaytlarda toping.
A) 19 Kbayt B) 930 Kbayt
C) 840 Kbayt D) 7380 Kbayt
Tasvir 16 ta rang ko’lamiga ega. Tasvir o’lchami 10x15 sm.Ekran imkoniyati 1 dyumga 250 ta nuqta. Tasvrning axborot hajmini Kbaytlarda hisoblang.
A) 36,6 Kbayt B) 228, 9 Kbayt
C) 732 Kbayt D) 5859 Kbayt
|
| |