Python dasturlash tili №-6 Aprel 12, 2021Aprel 13, 2021 da chop etilgan InfoMaster tomonidan Python dasturlash tili №-6 ga 1 fikr bildirilgan 1 12345678910111213141516171819202122232425 Tomonidan yaratilgan InfoMaster Python dasturlash tili №-6 Testni Salomov Sardor tayyorladi. 1 / 25 Buyruqlarning ketma-ketligiga nima deyiladi? A) siklning takrorlanishi B) siklning ijrochisi C) siklning boshi D) siklning tanasi 2 / 25 for i in range(10): print(i, end=';') Python dasturida quyidagi dastur natijasini toping. A) 0;1;2;3;4;5;6;7;8;10 B) 0;1;2;3;4;5;6;7;8;9 C) 0 D) 0;1;2;3;4;6;7;8;9 3 / 25 for sikl operatori bu………………..? A) Kodni takrorlamaydi B) takrorlanish operatori C) Kodni muayyan marta takrorlaydi D) Asosiy shart bajarilganda kodni takrorlaydi 4 / 25 for sikli bu……………? A) hisoblagich B) hisoblagichli (countcontrol) C) hisoblagichli (countcontrolled) sikl D) countcontrolled sikl 5 / 25 Python dasturlash tilida def factor(n): res=1 for i in range(2,n*1): res*=i return res n=int(input('n sonini kiriting:')) print(factor(n)) n=5 bo’lganda dastur natijasini toping. A) 120 B) 346 C) 90 D) 65 6 / 25 Pythonda def funksiyasini vazifasi nima? A) funksiya ajratadi B) to’g’ri javob yo’q C) funksiyani e’lon qiluvchi kalit so‘z D) funksiya nomi 7 / 25 Python dasturlash tilida funksiya bu………? A) bir yoki bir necha qiymatni qabul javobni boshdagi qiymat bilan sollishtiradi B) qiymatin chiqarib uni ajratuvchi qisim dastur C) to’g’ri javob yo’q D) ma’lum bir vazifani bajaruvchi, qandaydir nomga ega, bir yoki bir necha qiymatni qabul qiluvchi qism dastur 8 / 25 Python dasturlash tilida sikllar nima? A) Sikl operatorlaring takrorlanadigan buyruqlari uchun xizmat qiladi B) Sikl operatorlari kodning buyruqlari uchun xizmat qiladi C) operatorlari kodning buyruqlari D) Sikl operatorlari kodning takrorlanadigan buyruqlari uchun xizmat qiladi 9 / 25 Dasturning mana shu amallar majmuini o‘z ichiga olgan qismi nima deb ataladi. A) qism dastur B) dastur yig’indisi C) ajratilgan dastur D) qo’shilgan dastur 10 / 25 while sikli bu……………………? A) berilgan shart yolg’on yoki bo’lmagan holda sikl tanasi bajaradigan sikl turi B) shart yolg’on bo’lgan holda sikl tanasi bajariladigan sikl turi C) shart bo’lgan holda sikl tanasi bajariladigan sikl turi D) berilgan shart rost bo‘lgan holda sikl tanasi bajariladigan sikl turi 11 / 25 for i in range(0,11,2): print(i, end=';') quyidagi dastur natijasini toping A) 0;2;4;6;8;10 B) 1;3;5;7;9;11 C) 2;4;6;8;10 D) 0;11;2 12 / 25 Python dasturlash tilida break operatori bu ………………..? A) pythonda bunday operator mavjud emas B) murojaat etilganidan keyin bekor qilinadi operator C) joriy siklni o‘tkazib yuborib, keyingisiga o‘tuvchi operator D) sikl ishini to‘xtatuvchi operator 13 / 25 Qaysi operator Python dasturlash tilida shartli sikl ko‘rinishida ishlaydi? A) for B) in C) while D) range 14 / 25 Har bir takrorlanish esa nima deb ataladi. A) while B) else C) iteratsiya D) for 15 / 25 Python dasturlash tilida continue operatori bu ………………..? A) joriy siklni o‘tkazib yuborib, keyingisiga o‘tuvchi operator B) sikl ishini to‘xtatuvchi operator C) murojaat etilganidan keyin bekor qilinadi operator D) pythonda bunday operator mavjud emas 16 / 25 def factor(n): res=1 f or i in range(2,n*1): res*=i return res n=int(input('n sonini kiriting:')) print(factor(n)) n= 4 bo’lganda dsatur natijasini toping. A) 26 B) 28 C) 24 D) 32 17 / 25 for i in range(10,0,1): print(i, end=';') quyidagi dastur natijasini toping A) 10;9;8;7;6;5;4;3;2 B) 10;9;8;7;6;5;4;3;2;1;1 C) 10;9;8;7;6;5;4;3;2;1 D) 10;9;8;7;6;5;4;3;2;1;0 18 / 25 Takrorlanuvchi algoritmlar bu…………………….? A) barcha buyruqlarni yig’ish va ko’paytirib yozish B) biror buyruqni qaytarib taqqoslash C) biror buyruqlar guruhining ma’lum marta takroran bajarilishi D) buruqlarni uz navbati va uz guruhi bo’yicha taqqoslash 19 / 25 def factor(n): res=1 for i in range(2,n*1): res*=i return res n=int(input('n sonini kiriting:')) print(factor(n)) n=0 bo’lganda dsatur natijasini toping. A) 1 B) 3 C) 2 D) 0 20 / 25 def factor(n): res=1 for i in range(2,n*1): res*=i return res n=int(input('n sonini kiriting:')) print(factor(n)) n=3 bo’lganda dsatur natijasini toping. A) 6 B) 7 C) 8 D) 9 21 / 25 from math import * a=24 b=25 if a>b: c=pow(a,1) elif b>a: c=sqrt(b,2) else: c=25 print(c) quyidagi dastur natijasini toping A) 576 B) 54 C) 625 D) 7 22 / 25 from math import * a=12 b=2 if a>b: c=pow(a,b) elif b>a: c=b else: c=a print(c) quyidagi dastur natijasini toping A) 24 B) 2 C) 144 D) 12 23 / 25 def factor(n): res=1 for i in range(2,n*1): res*=i return res n=int(input('n sonini kiriting:')) print(factor(n)) n= 6 bo’lganda dsatur natijasini toping. A) 720 B) 490 C) 200 D) 460 24 / 25 Qaysi operator Python dasturlash tilida hisoblagich ko‘rinishida ishlaydi? A) while B) for C) range D) in 25 / 25 Python dasturlash tilida while sikl operatori qanday vazifani bajaradi? A) Kodni muayyan marta takrorlaydi B) Kodni takrorlamaydi C) Asosiy shart bajarilganda kodni takrorlaydi D) takrorlanish operatori 0% Baholash mezoni 86%-100% 5 baho 71%-85% 4 baho 56%-70% 3 baho 55% va kamiga 2 baho Fikr-mulohaza yuboring tomonidan Wordpress Quiz plugin Python Teglar:Python
Hey! Would you mind if I share your blog with my facebook group? There’s a lot of people that I think would really enjoy your content. Please let me know. Many thanks
Hey! Would you mind if I share your blog with my facebook group? There’s a lot of people that I think would really enjoy your content. Please let me know. Many thanks