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 =12.5 type(name) A) <class 'float'> B) <class 'bool'> C) <class 'int'> D) <class 'str'> 2 / 14 2. Python dasturida mantiqiy o’zgaruvchilarni ifodalash uchun qaysi qizmatchi so’zidan foydalaniladi? A) float() B) int() C) bool() D) str() 3 / 14 3. Pythonda dastur natijasini toping: name =55 type(name) A) <class 'str'> B) <class 'float'> C) <class 'int'> D) <class 'bool'> 4 / 14 4. Kompyuter xotirasidagi yacheykada saqlanadigan ma’lumotlar shakli. nima deyiladi? A) Dasturlash muhiti B) Ma’lumotlar turi C) Kompyuter dasturlari D) Operator 5 / 14 5. Python dasturida haqiqiy sonlarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) int() B) str() C) bool() D) float() 6 / 14 6. Python dasturida butun sonlarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) int() B) bool() C) str() D) float() 7 / 14 7. Pythonda dastur natijasini toping: name ='Ahmad' type(name) A) <class 'float'> B) <class 'str'> C) <class 'int'> D) <class 'bool'> 8 / 14 8. O‘zgaruvchi qabul qilgan qiymat turini qaysi funksiyasi yordamida aniqlash mumkin. A) type() B) str() C) int() D) float() 9 / 14 9. Python dasturida : input — operatorining vazifasini toping. A) o‘zgaruvchi qiymatini o’zgartirish mumkin. B) Kritish operatori C) o‘zgaruvchi qiymatini kritish mumkin. D) Chiqarish operatori 10 / 14 10. Python dasturida satrli o’zgaruvchilarni ifodalash uchun qaysi xizmatchi so’zidan foydalaniladi? A) bool() B) float() C) str() D) int() 11 / 14 11. Pythonda dastur natijasini toping: >>> a = 12 >>> print(type(a)) A) <class 'bool'> B) <class 'int'> C) <class 'float'> D) <class 'str'> 12 / 14 12. Pythonda dastur natijasini toping: >>> b = 12.3e+2 >>> print(type(b)) A) <class 'bool'> B) <class 'int'> C) <class 'float'> D) <class 'str'> 13 / 14 13. Pythonda dastur natijasini toping: >>> parol='@Asdf123' >>> print(type(parol)) A) <class 'float'> B) <class 'str'> C) <class 'bool'> D) <class 'int'> 14 / 14 14. Pythonda dastur natijasini toping: >>> name='Aqljon' >>> print(type(name)) A) <class 'str'> B) <class 'int'> C) <class 'float'> D) <class 'bool'> 0% tomonidan Wordpress Quiz plugin Boblarga oid