9-sinf Informatika Avgust 15, 2023 da chop etilgan InfoMaster tomonidan 9-sinf Informatika ga fikr bildirilmagan. 0 1234567891011121314 Tomonidan yaratilgan InfoMaster 9-sinf Informatika IV BOB. DASTURLASH ASOSLARI 31-dars. AMALIY MASHG‘ULOT 1 / 14 1. Pythonda dastur natijasini toping: name ='Ahmad' type(name) A) <class 'bool'> B) <class 'int'> C) <class 'float'> D) <class 'str'> 2 / 14 2. Python dasturida satrli o’zgaruvchilarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) bool() B) float() C) int() D) str() 3 / 14 3. Python dasturida butun sonlarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) bool() B) int() C) str() D) float() 4 / 14 4. Python dasturida : input — operatorining vazifasini toping. A) o‘zgaruvchi qiymatini kritish mumkin. B) Chiqarish operatori C) Kritish operatori D) o‘zgaruvchi qiymatini o’zgartirish mumkin. 5 / 14 5. Pythonda dastur natijasini toping: name =55 type(name) A) <class 'bool'> B) <class 'int'> C) <class 'float'> D) <class 'str'> 6 / 14 6. Python dasturida haqiqiy sonlarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) int() B) str() C) bool() D) float() 7 / 14 7. Kompyuter xotirasidagi yacheykada saqlanadigan ma’lumotlar shakli. nima deyiladi? A) Dasturlash muhiti B) Ma’lumotlar turi C) Operator D) Kompyuter dasturlari 8 / 14 8. Python dasturida mantiqiy o’zgaruvchilarni ifodalash uchun qaysi qizmatchi so’zidan foydalaniladi? A) int() B) float() C) bool() D) str() 9 / 14 9. Pythonda dastur natijasini toping: name =12.5 type(name) A) <class 'int'> B) <class 'float'> C) <class 'bool'> D) <class 'str'> 10 / 14 10. O‘zgaruvchi qabul qilgan qiymat turini qaysi funksiyasi yordamida aniqlash mumkin. A) float() B) str() C) int() D) type() 11 / 14 11. Pythonda dastur natijasini toping: >>> b = 12.3e+2 >>> print(type(b)) A) <class 'bool'> B) <class 'str'> C) <class 'float'> D) <class 'int'> 12 / 14 12. Pythonda dastur natijasini toping: >>> a = 12 >>> print(type(a)) A) <class 'str'> B) <class 'bool'> C) <class 'int'> D) <class 'float'> 13 / 14 13. Pythonda dastur natijasini toping: >>> name='Aqljon' >>> print(type(name)) A) <class 'float'> B) <class 'str'> C) <class 'int'> D) <class 'bool'> 14 / 14 14. Pythonda dastur natijasini toping: >>> parol='@Asdf123' >>> print(type(parol)) A) <class 'float'> B) <class 'int'> C) <class 'str'> D) <class 'bool'> 0% tomonidan Wordpress Quiz plugin Boblarga oid