1 00:00:03,700 --> 00:00:05,600 Dasturlashni 8-sinfdaligimda o‘rganganman. 2 00:00:05,700 --> 00:00:07,000 Men birinchi marta 3 00:00:07,000 --> 00:00:10,500 ekranga yashil aylana va qizil kvadrat chiqarishni o‘rgangandim. 4 00:00:10,700 --> 00:00:13,400 Dasturlashni o‘rganish unchalik qiyinmas, doimiy yangi buyruqlarni o‘rganib borish kerak, 5 00:00:13,400 --> 00:00:16,400 oxir-oqibat sizda shunchalik ko‘p bilim va ko‘nikma shakllanadiki, ular bilan xohlagan ishingizni qila olasiz. 6 00:00:17,700 --> 00:00:22,330 Informatika — bu faqat kompyuter qanday ishlashini va qanday o‘ylashini o‘rganishdir, 7 00:00:22,330 --> 00:00:24,700 shunday ekan siz unga yangi ishlarni bajarishni o‘rgatishingiz mumkin. 8 00:00:24,800 --> 00:00:28,100 Bugungi kunda informatika orqali qila oladigan ishlaringiz talaygina. 9 00:00:28,200 --> 00:00:31,200 Menimcha, dasturlash — super qudratga ega bo‘lish uchun eng yaqin soha. 10 00:00:31,300 --> 00:00:34,200 (Tanya: informatika talabasi) Keyingi soatda dasturlashning 11 00:00:34,200 --> 00:00:36,000 tub mohiyatini o‘rgatadigan o‘yin o‘ynaymiz. 12 00:00:36,000 --> 00:00:39,500 Odatda, dasturlash matn ko‘rinishida bo‘ladi, lekin biz 13 00:00:39,600 --> 00:00:43,200 siz dastur yaratishingizga qulay, olib joylaydigan bloklardan foydalanamiz. 14 00:00:43,200 --> 00:00:46,000 Bularning tagida siz kod yozayapsiz. 15 00:00:46,000 --> 00:00:49,400 Boshlanishida biz shunday kod tuzamizki, 16 00:00:49,400 --> 00:00:54,000 u mana bu jahldor qushchaga labirint bo‘ylab yurib, tuxumini o‘girlagan zolim cho‘chqachani tutadi. 17 00:00:54,000 --> 00:00:56,600 Oyna uch asosiy qismdan iborat. 18 00:00:56,600 --> 00:01:00,000 Chap qismda dastur ishga tushadigan labirint joylashgan. 19 00:01:00,000 --> 00:01:04,000 Har bir tur uchun qo‘llanmalar labirint pastida yozilgan. 20 00:01:04,000 --> 00:01:06,000 O‘rtadagi soha bu asboblar qutisi, 21 00:01:06,000 --> 00:01:10,200 undagi har bir blok qushcha tushunadigan buyruqlar. 22 00:01:10,200 --> 00:01:13,000 O‘ngdagi oq soha esa ishchi qism 23 00:01:13,000 --> 00:01:15,100 va bu yerda biz o‘z dasturimizni quramiz. 24 00:01:15,100 --> 00:01:21,000 Agar men “yurish” ("move") blogini olib, ishchi qismga tashlab, “bajar” ("run")ni bossam, nima bo‘ladi? 25 00:01:21,000 --> 00:01:23,500 Qushcha bir qadam oldinga yuradi. 26 00:01:23,500 --> 00:01:28,000 Agar men qushcha bir qadam tashlagandan keyin biror ish qilishini xohlasamchi? 27 00:01:28,000 --> 00:01:30,300 Men dasturga boshqa blok ham qo‘sha olaman. 28 00:01:30,300 --> 00:01:33,900 “Chapga burilish” ("turn right") blogini tanlab, 29 00:01:33,900 --> 00:01:37,000 “yurish” ("move") blogining tagiga sariq strelka paydo bo‘lmaguncha olib kelamiz. 30 00:01:37,000 --> 00:01:41,000 Shundan keyin uni qo‘yib yuboramiz va bu ikkala blok birlashadi. 31 00:01:41,000 --> 00:01:45,000 Agar “bajar” ("run") tugmasini yana bossam, 32 00:01:45,000 --> 00:01:47,000 qushcha ishchi qismdagi birlashgan buyruqlarni tepadan pastga qarab bajaradi. 33 00:01:47,000 --> 00:01:49,000 Agar biror blokni o‘chirmoqchi bo‘lsangiz, 34 00:01:49,000 --> 00:01:52,000 uni olib, axlat qutisiga tashlaysiz. 35 00:01:52,000 --> 00:01:57,800 “Bajar” ("run") tugmasini bosganingizdan keyin qushchani boshlang‘ich o‘rniga qaytarish uchun “tiklash” ("reset") tugmasini bosasiz. 36 00:01:57,800 --> 00:01:59,500 Keling endi shu cho‘chqachalarni tutamiz!