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