Python dasturlash tili TEST-3 Mart 22, 2021Mart 22, 2021 da chop etilgan InfoMaster tomonidan Python dasturlash tili TEST-3 ga 1 fikr bildirilgan 0 12345678910111213141516171819202122232425 Tomonidan yaratilgan InfoMaster Python dasturlash tili №-3 1 / 25 Pythonda ‘split()’ operatorni vazifasini toping. A) belgilar kiritish uchun B) son kiritish va chiqarish uchun C) satrni ajratish uchun belgilar bilan ajratish uchun D) pythonda bunday operator yuq 2 / 25 Python dasturlash tilida b=2154 a=b%100 print(a) Dastur natijasini aniqlang. A) 21 B) 4 C) 54 D) 15 3 / 25 Pythonda quydagi dastur natijasini toping. a=input().split(';') print(a) 5;8;7;1;2 A) ['5' '8' '7' '1 '2'] B) ['5', '8', '7', '1', '2'] C) ['5', '8', '7', '1', '3'] D) [5, 8, 7, 1, 2] 4 / 25 Pythonda dastur natijasini toping. a = "O'ZBEKISTON" a[3:10:3] A) KISTON B) O'ZBEKISTO C) BIO D) ZBEKI 5 / 25 print() operatori qanday vazifa bajaradi? A) kritish va chiqarishni B) kritishni C) bunday operator mavjud emas D) chiqarishni 6 / 25 Pythonda “ \’ ” maxsus belgisini vazifasini toping. A) yangi satrga o’tish belgisi B) bittalik qo’shtirnoq belgisi C) ikkitalik qo‘shtirnoq belgisi D) tabulyatsiya belgisi 7 / 25 Python dasturlash tilida print() operatorining end=’\n’ argumenti nima maqsadda ishlatiladi? A) Natijada xatolik chiqaradi B) Natijni bitta keying satrdan chiqaradi C) Natijni bitta olding satrdan chiqaradi D) Natijani o’rtadan chiqaradi 8 / 25 Pythonda dastur natijasini toping. a = "O'ZBEKISTON" a[4] A) K B) B C) E D) I 9 / 25 input() operatorining qanday usuli mavjud? A) sep usuli B) split() usuli C) to’g’ri javob yo’q D) end usuli 10 / 25 Pythonda dastur natijasini toping. a = "O'ZBEKISTON" a[:6] A) KISTON B) O'ZBEK C) O'ZBEKISTO D) ZBEKI 11 / 25 Pythonda “ \n ” maxsus belgisini vazifasini toping. A) yangi satrga o’tish belgisi B) ikkitalik qo‘shtirnoq belgisi C) bittalik qo‘shtirnoq belgisi D) tabulyatsiya belgisi 12 / 25 input() operatori qanday vazifa bajaradi? A) bunday operator mavjud emas B) kritishni C) chiqarishni D) kritish va chiqarishni 13 / 25 Python dasturida len() funksiyasining vazifasi quyidagi qaysi javobda to'g'ri ko'rsatilgan? A) satr uzunligini B) satrni qidiradi C) satrdan son qidiradi D) sonni qo’shadi 14 / 25 Pythonda dastur natijasini toping. a = 'Good morning!' b = 'Welcome.' c=a * b print(c) A) morning! Good Welcome B) Good morning! Welcome C) Welcome. Good morning! D) Good Welcome. morning! 15 / 25 input() operatorining split() usuli nima maqsadda ishlatiladi? A) to’g’ri javob yo’q B) satrli ma’lumotlarni qo’shadi belgilarni ajratadi C) satrdagi barcha ma’lumotlarni oladi va notanish belgilarni oladi D) satrli ma’lumotlarni ajratuvchi belgi yordamida qismlarga ajratadi 16 / 25 Pythonda dastur natijasini toping. a='Bahor!' len(a) A) 6 B) 7 C) 5 D) 1 17 / 25 Pythonda dastur natijasini toping. a = "O'ZBEKISTON" a[6:] A) KISTON B) O'ZBEKISTO C) ZBEKI D) ISTON 18 / 25 Dastur natijasini aniqlang. x=1234 a= x// 1000 b= x % 10 c= a * b print(c) A) 8 B) 3 C) 4 D) 12 19 / 25 Satrlar bu………? A) qo‘shtirnoq ichiga olingan Unicode kodidagi belgilar ketma-ketligi B) qo‘shtirnoq ichiga olingan ketma-ketligi C) belgilar ketmaketligi D) unicode kodidagi belgilar ketmaketligi 20 / 25 Pythonda dastur natijasini toping. a = "O'ZBEKISTON" a[3:6] A) STON B) TON C) BE D) BEK 21 / 25 Pythonda quydagi dastur natijasini toping. a=input().split() print(a) book pen pencil notebook A) ['book', 'pen', 'pencl', 'notebook'] B) ['book', 'pen', 'pencll', 'notebook'] C) ['book', 'penn', 'pencil', 'notebook'] D) ['book', 'pen', 'pencil', 'notebook'] 22 / 25 print() operatorining sep argumenti nima maqsadda ishlatiladi? A) ma’lumotlarni qo’shish uchun ishlatiladi B) natija ma’lumotlarini ajratish uchun ishlatiladi C) ma’lumotlarni nusxalash uchun ishlatiladi D) ma’lumotlarini tahrillash uchun ishlatiladi 23 / 25 Pythonda “ \’’ ”maxsus belgisini vazifasini toping. A) tabulyatsiya belgisi B) bittalik qo‘shtirnoq belgisi C) yangi satrga o’tish belgisi D) ikkitalik qo‘shtirnoq belgisi 24 / 25 Python dasturlash tilida “ \t ” maxsus belgisini vazifasini toping. A) bittalik qo‘shtirnoq belgisi B) tabulyatsiya belgisi C) ikkitalik qo‘shtirnoq belgisi D) yangi satrga o‘tish belgisi 25 / 25 Python dasturlash tilida x=7 y=8 x=*y print(x) dastur natijasini aniqlang. A) 16 B) 7 C) 15 D) 1 0% Testni qayta ishga tushiring 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:9-sinf, online test, Python