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