Uy » Mavzulatshitilgan testlar » Informatika mavzulashtirilgan » 9-sinf Informatika » 9-sinf Informatika №24 9-sinf Informatika 9-sinf Informatika №24 InfoMaster Fevral 7, 2023 1 Ko'rish 1 izoh SaqlashSaqlanganOlib tashlandi 0 0 123456789101112131415161718192021222324252627282930 Tomonidan yaratilgan InfoMaster 9-sinf Informatika №24 IV BOB. DASTURLASH ASOSLARI 35-dars. AMALIY MASHG‘ULOT 1 / 30 1. ....- tafakkurni matematik usullar yordamida tadqiq etadi. U hozirgi Nuqtalar o’rniga mos javobni tanlang. A) Formal mantiq B) Matematik mantiq C) Dialektik mantiq D) To’g’ri javob yo’q 2 / 30 2. A=rost, B=yolg‘on, C= rost qiymatlar uchun quyidagi amallarni bajaring: ⏋(A & B) ∨ (B => C ∨⏋A) A) Yolg'on B) Rost 3 / 30 3. Quyidagi mantiqiy mulohazalarga mos rostlik jadvalida nechta rost qiymat qabul qiladi. B & (A ∨ B) A) 4 B) 3 C) 2 D) 1 4 / 30 4. Quyidagi rasmdan Invertor sxеmasi toping. A) 3,4 B) 2,5 C) 3,6 D) 1,4 5 / 30 5. Shartni bajaring. (A∨С)=>(⏋BvA&D)=1 A) 4 B) 12 C) 13 D) 6 6 / 30 6. “Natija olish va tahlil etish” kompyuterda masalalar yechishning nechanchi bosqichi hisoblanadi? A) 6-bosqich B) 5-bosqich C) 3-bosqich D) 4-bosqich 7 / 30 7. Taqdim etish usuli bо‘yicha modellarning qanday turlari mavjud? A) о‘quv, tajriba, о‘yin, imitatsion, ilmiy-tadqiqot modellari B) statik va dinamik modellar C) axborot (nomoddiy, mavhum) va moddiy modellar D) Abstrakt modellar, Fizik modellarda, Biologik model 8 / 30 8. “Har bir algoritm chekli sondagi qadamlardan keyin albatta natija berishi lozim.” Ushbu xossa algoritimning qaysi xossasi? A) Diskretlilik B) Nаtijаviylik C) Aniqlilik D) Оmmаviylik 9 / 30 9. Quyidagi blokning nomi toping. A) Funksional blok (operator bloki) B) Muqobil blok C) Kiritish/ chiqarish bloki D) Algoritmni boshlash / tugatish bloki 10 / 30 10. Quyidagi algoritm natijasini toping. A) 12 B) -60 C) -24 D) 6 11 / 30 11. Quyidagi algoritm natijasini toping. A) 18 B) 3 C) 15 D) 6 Ushbu blok-sxema qanday natija chiqarishini aniqlaymiz. Boshlang‘ich qiymatlar: S = 0 A = -6 Takrorlanuvchi jarayon: S = A - S A = A + 2 A > 9 shart tekshiriladi. Agar Yo‘q, jarayon yana davom etadi. Agar Ha, S chiqariladi. Hisob-kitobni bajaramiz: A S = A - S A = A + 2 -6 -6 - 0 = -6 -6 + 2 = -4 -4 -4 - (-6) = 2 -4 + 2 = -2 -2 -2 - 2 = -4 -2 + 2 = 0 0 0 - (-4) = 4 0 + 2 = 2 2 2 - 4 = -2 2 + 2 = 4 4 4 - (-2) = 6 4 + 2 = 6 6 6 - 6 = 0 6 + 2 = 8 8 8 - 0 = 8 8 + 2 = 10 Endi A > 9 sharti haqiqat bo‘ldi (10 > 9).Shu paytda S ning qiymati: 8. Natija: 8 ✅ 12 / 30 12. Quyidagi algoritm natijasini toping. A) 0 B) -6 C) 8 D) 4 13 / 30 13. Dastur tuzuvchi shaxs kim? A) Dasturchi B) Topografik C) Haydavchi D) Hacker 14 / 30 14. Qanday dasturlash tillari mavjud? A) JAVA B) PHP C) Barcha javoblar to’g’ri D) PYTHON 15 / 30 15. Operator – A) dastur kodini kiritish, uni fayl sifatida saqlamasdan turib natijasini ko‘rish muhiti. B) integrallashgan dasturlash va o‘rganish muhiti C) dastur kodini kiritish, alohida fayl sifatida saqlash va ishga tushirish muhiti. D) dasturlash tili buyruqlari. 16 / 30 16. Python dasturlash tilida o‘zgaruvchilarga ta’rif bering. A) To’g’ri jabov yo’q B) faqat o‘qish uchun mo‘ljallangan qiymatlarni saqlovchi kompyuter xotirasidagi yacheyka nomi. C) o‘z qiymati va turiga ega kattalik, o‘zida qiymatlarni saqlaydigan kompyuter xotirasidagi yacheyka nomi. D) o‘zgaruvchilar, doimiylar, funksiyalar, protseduralar, modullar, dasturlarning umumiy nomi. 17 / 30 17. Pythonda dastur natijasini toping: name =12.5 type(name) A) <class 'int'> B) <class 'bool'> C) <class 'str'> D) <class 'float'> 18 / 30 18. Python dasturida minus (–) va tagchiziq(_) belgilarini adashtirish mumkinmi? A) Yo’q B) Ha 19 / 30 19. Pythonda dastur natijasini toping: >>> b = 12.3e+2 >>> print(type(b)) A) <class 'bool'> B) <class 'int'> C) <class 'str'> D) <class 'float'> 20 / 30 20. Pythonda dastur natijasini toping: >>> print(11//3) A) 1 B) 2 C) 4 D) 3 21 / 30 21. Pythonda dastur natijasini toping: x=8 x-=2 print(x) A) 7 B) 10 C) 8 D) 6 22 / 30 22. Pythonda dastur natijasini toping: >>> print(11%3) A) 2 B) 1 C) 4 D) 3 23 / 30 23. Pythonda dastur natijasini toping: x=2 x**=4 print(x) A) 8 B) 4 C) 16 D) 2 24 / 30 24. Pythonda dastur natijasini toping: >>> print(2%3) A) 1 B) 4 C) 2 D) 3 25 / 30 25. Pythonda dastur natijasini toping: x=5 x*=3 print(x) A) 15 B) 3 C) 8 D) 2 26 / 30 26. Quyidagi rasmdagi Pythonda dastur natijasini toping: A) 41 B) 26 C) 38 D) 20 27 / 30 27. Quyidagi rasmdagi Pythonda dastur natijasini toping: A) 21.0 B) 12.0 C) 10 D) 29 28 / 30 28. Quyidagi rasmdagi Pythonda dastur natijasini toping: A) 6 B) 2 C) 0 D) 3 29 / 30 29. Quyidagi rasmdagi Pythonda dastur natijasini toping: A) 38 B) 23 C) 29 D) 45 30 / 30 30. Quyidagi rasmdagi Pythonda dastur natijasini toping: A) 3 B) 65 C) 38 D) 29 Sizning ballingiz 0% Tomonidan Wordpress Quiz plugin Author: InfoMaster Foydali bo'lsa mamnunmiz