{"id":1849,"date":"2023-03-05T09:22:30","date_gmt":"2023-03-05T03:52:30","guid":{"rendered":"http:\/\/147.182.205.39\/lesson\/%e0%a4%aa%e0%a4%be%e0%a4%a0-4-%e0%a4%b0%e0%a5%8b%e0%a4%b6%e0%a4%a8%e0%a5%80-%e0%a4%95%e0%a5%87-%e0%a4%b8%e0%a4%be%e0%a4%a5-%e0%a4%ae%e0%a4%b8%e0%a5%8d%e0%a4%a4%e0%a5%80\/"},"modified":"2024-04-19T16:26:01","modified_gmt":"2024-04-19T10:56:01","slug":"%e0%a4%aa%e0%a4%be%e0%a4%a0-4-%e0%a4%b0%e0%a5%8b%e0%a4%b6%e0%a4%a8%e0%a5%80-%e0%a4%95%e0%a5%87-%e0%a4%b8%e0%a4%be%e0%a4%a5-%e0%a4%ae%e0%a4%b8%e0%a5%8d%e0%a4%a4%e0%a5%80","status":"publish","type":"lesson","link":"https:\/\/stemlab.org.in\/hi\/lesson\/%e0%a4%aa%e0%a4%be%e0%a4%a0-4-%e0%a4%b0%e0%a5%8b%e0%a4%b6%e0%a4%a8%e0%a5%80-%e0%a4%95%e0%a5%87-%e0%a4%b8%e0%a4%be%e0%a4%a5-%e0%a4%ae%e0%a4%b8%e0%a5%8d%e0%a4%a4%e0%a5%80\/","title":{"rendered":"Lesson 4: Fun with Lights"},"content":{"rendered":"<h2>Quarky Tactile Switch<\/h2>\n<p>Quarky \u092e\u0947\u0902 2 \u091f\u0948\u0915\u094d\u091f\u093e\u0907\u0932 \u0938\u094d\u0935\u093f\u091a \u092f\u093e \u092c\u091f\u0928 \u0939\u0948\u0902 \u091c\u094b Quarky \u0915\u094b \u0909\u092a\u092f\u094b\u0917\u0915\u0930\u094d\u0924\u093e \u0938\u0947 \u0907\u0928\u092a\u0941\u091f \u0932\u0947\u0928\u0947 \u0915\u0940 \u0905\u0928\u0941\u092e\u0924\u093f \u0926\u0947\u0924\u0947 \u0939\u0948\u0902\u0964<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-1001\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image060.png\" alt=\"\" width=\"640\" height=\"372\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image060.png 689w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image060-300x174.png 300w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image060-624x362.png 624w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/p>\n<p><strong>is button () pressed?<\/strong> \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0915\u0947 PictoBlox \u092e\u0947\u0902 \u092c\u091f\u0928 \u0915\u0940 \u0938\u094d\u0925\u093f\u0924\u093f \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964 \u091c\u092c \u0938\u094d\u0935\u093f\u091a \u0926\u092c\u093e\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948 \u0924\u094b \u092c\u094d\u0932\u0949\u0915 1 \u0914\u0930 \u0938\u094d\u0935\u093f\u091a \u0928\u0939\u0940\u0902 \u0926\u092c\u093e\u090f \u091c\u093e\u0928\u0947 \u092a\u0930 0 \u0930\u093f\u092a\u094b\u0930\u094d\u091f \u0915\u0930\u0924\u093e \u0939\u0948\u0964 <\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-1003 size-medium\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image061-300x70.png\" alt=\"\" width=\"300\" height=\"70\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image061-300x70.png 300w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image061.png 311w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<h2>Forever Block<\/h2>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-1393\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/forever.png\" alt=\"\" width=\"176\" height=\"118\"><\/p>\n<p><strong>forever<\/strong> \u092c\u094d\u0932\u0949\u0915 \u092e\u0947\u0902, \u0905\u0902\u0926\u0930 \u0930\u0916\u0947 \u0917\u090f \u092c\u094d\u0932\u0949\u0915 \u090f\u0915 \u0932\u0942\u092a \u092e\u0947\u0902 \u0939\u094b\u0902\u0917\u0947 &#8211; <strong>repeat ()<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u0940 \u0924\u0930\u0939, \u0938\u093f\u0935\u093e\u092f \u0907\u0938\u0915\u0947 \u0915\u093f \u0932\u0942\u092a \u0915\u092d\u0940 \u0938\u092e\u093e\u092a\u094d\u0924 \u0928\u0939\u0940\u0902 \u0939\u094b\u0924\u093e \u0939\u0948 (\u091c\u092c \u0924\u0915 \u0938\u094d\u091f\u0949\u092a \u0938\u093e\u0907\u0928 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0928\u0939\u0940\u0902 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948, <strong>Stop All<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0938\u0915\u094d\u0930\u093f\u092f \u0939\u094b \u091c\u093e\u0924\u093e \u0939\u0948, \u092f\u093e \u0938\u094d\u091f\u0949\u092a \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u092c\u094d\u0932\u0949\u0915 \u0939\u094b\u0924\u093e \u0939\u0948 \u0932\u0942\u092a \u0915\u0947 \u092d\u0940\u0924\u0930 \u0938\u0915\u094d\u0930\u093f\u092f)\u0964 \u0907\u0938 \u0905\u0928\u0902\u0924 \u0932\u0942\u092a \u0915\u0947 \u0915\u093e\u0930\u0923, \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0928\u0940\u091a\u0947 \u0915\u094b\u0908 \u091f\u0915\u094d\u0915\u0930 \u0928\u0939\u0940\u0902 \u0939\u0948; \u091f\u0915\u094d\u0915\u0930 \u0939\u094b\u0928\u093e \u0935\u094d\u092f\u0930\u094d\u0925 \u0939\u094b\u0917\u093e, \u0915\u094d\u092f\u094b\u0902\u0915\u093f \u0907\u0938\u0915\u0947 \u0928\u0940\u091a\u0947 \u0915\u0947 \u092c\u094d\u0932\u0949\u0915 \u0915\u092d\u0940 \u0938\u0915\u094d\u0930\u093f\u092f \u0928\u0939\u0940\u0902 \u0939\u094b\u0902\u0917\u0947\u0964<\/p>\n<h2>Condition Statement Blocks<\/h2>\n<p>\u0915\u0902\u0921\u093f\u0936\u0928\u0932 \u0938\u094d\u091f\u0947\u091f\u092e\u0947\u0902\u091f\u094d\u0938 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u0915\u094b \u0935\u0948\u0932\u094d\u092f\u0942 \u0915\u0947 \u0916\u093f\u0932\u093e\u092b \u090f\u0915 \u0935\u0947\u0930\u093f\u090f\u092c\u0932 \u0915\u093e \u092a\u0930\u0940\u0915\u094d\u0937\u0923 \u0915\u0930\u0915\u0947 \u0914\u0930 \u0909\u0938\u0915\u0947 \u0905\u0928\u0941\u0938\u093e\u0930 \u0915\u093e\u0930\u094d\u092f \u0915\u0930\u0915\u0947 \u0938\u094d\u0925\u093f\u0924\u093f\u092f\u094b\u0902 \u0915\u0940 \u091c\u093e\u0902\u091a \u0915\u0930\u0928\u0947 \u0915\u0940 \u0905\u0928\u0941\u092e\u0924\u093f \u0926\u0947\u0924\u0947 \u0939\u0948\u0902\u0964 \u090f\u0915 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u091c\u093f\u0938\u092e\u0947\u0902 \u0915\u0902\u0921\u093f\u0936\u0928\u0932 \u0938\u094d\u091f\u0947\u091f\u092e\u0947\u0902\u091f \u0939\u094b\u0924\u0947 \u0939\u0948\u0902, \u0915\u0902\u0921\u093f\u0936\u0928\u0932 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e \u0915\u0939\u0932\u093e\u0924\u093e \u0939\u0948, \u0914\u0930 \u0907\u0938 \u092a\u094d\u0930\u0915\u094d\u0930\u093f\u092f\u093e \u0915\u094b <del>\u0915\u0902\u0921\u0940\u0936\u0928\u0932 \u092a\u094d\u0930\u094b\u0917\u094d\u0930\u093e\u092e\u093f\u0902\u0917<\/del> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u091c\u093e\u0928\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0964 <\/p>\n<ul>\n<li><del>if () then block \u092c\u094d\u0932\u0949\u0915<\/del> <strong>\u2013<\/strong> <strong>if () then<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091a\u0947\u0915 \u0915\u0930\u0947\u0917\u093e \u0915\u093f \u0926\u0940 \u0917\u0908 \u0936\u0930\u094d\u0924 \u0938\u0939\u0940 \u0939\u0948 \u092f\u093e \u0928\u0939\u0940\u0902\u0964 \u092f\u0926\u093f \u092f\u0939 \u0938\u091a \u0939\u0948, \u0924\u094b \u0907\u0938\u0915\u0947 \u0905\u0902\u0926\u0930 \u0915\u0947 \u092c\u094d\u0932\u0949\u0915 \u091a\u0932\u0947\u0902\u0917\u0947, \u0914\u0930 \u092b\u093f\u0930 \u0907\u0938\u092e\u0947\u0902 \u0936\u093e\u092e\u093f\u0932 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u091c\u093e\u0930\u0940 \u0930\u0939\u0947\u0917\u0940\u0964 \u092f\u0926\u093f \u0938\u094d\u0925\u093f\u0924\u093f \u091d\u0942\u0920\u0940 \u0939\u0948, \u0924\u094b \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0905\u0902\u0926\u0930 \u0915\u0947 \u0915\u094b\u0921 \u0915\u094b \u0905\u0928\u0926\u0947\u0916\u093e \u0915\u0930 \u0926\u093f\u092f\u093e \u091c\u093e\u090f\u0917\u093e \u0914\u0930 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0906\u0917\u0947 \u092c\u0922\u093c \u091c\u093e\u090f\u0917\u0940\u0964 \u0939\u093e\u0932\u0924 \u0915\u0947\u0935\u0932 \u090f\u0915 \u092c\u093e\u0930 \u091c\u093e\u0901\u091a \u0915\u0940 \u091c\u093e\u0924\u0940 \u0939\u0948\u0964   <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1395\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/if-then.png\" alt=\"\" width=\"150\" height=\"111\"><\/li>\n<li><del>if () then else \u092c\u094d\u0932\u0949\u0915<\/del> \u092f\u0939 \u091c\u093e\u0902\u091a \u0915\u0930\u0947\u0917\u093e \u0915\u093f \u0928\u093f\u0930\u094d\u0926\u093f\u0937\u094d\u091f \u0938\u094d\u0925\u093f\u0924\u093f \u0938\u0939\u0940 \u0939\u0948 \u092f\u093e \u0928\u0939\u0940\u0902\u0964 \u092f\u0926\u093f \u0938\u094d\u0925\u093f\u0924\u093f \u0938\u0939\u0940 \u0939\u0948, \u0924\u094b \u092a\u0939\u0932\u0947 C \u0915\u0947 \u0905\u0902\u0926\u0930 \u0930\u0916\u093e \u0917\u092f\u093e \u0915\u094b\u0921 (if arm \u0915\u0947 \u0928\u0940\u091a\u0947) \u091a\u0932\u0947\u0917\u093e\u0964 \u092b\u093f\u0930, \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u091c\u093e\u0930\u0940 \u0930\u0939\u0947\u0917\u0940; \u092f\u0926\u093f \u0938\u094d\u0925\u093f\u0924\u093f \u091d\u0942\u0920\u0940 \u0939\u0948, \u0924\u094b \u0926\u0942\u0938\u0930\u0947 C \u0915\u0947 \u0905\u0902\u0926\u0930 \u0915\u093e \u0915\u094b\u0921 (else arm \u0915\u0947 \u0928\u0940\u091a\u0947) \u091a\u0932\u0947\u0917\u093e\u0964 (if () then \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0935\u093f\u092a\u0930\u0940\u0924)\u0964   <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1399\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/if-then-else-1.png\" alt=\"\" width=\"150\" height=\"157\"><\/li>\n<\/ul>\n<h2 style=\"text-align: left;\">Activity 1: Lamp with Quarky<\/h2>\n<p>Quarky \u0938\u0947 \u090f\u0915 \u0926\u0940\u092f\u093e \u092c\u0928\u093e\u0924\u0947 \u0939\u0948\u0902\u0964 <strong><em>\u0924\u0930\u094d\u0915 \u0938\u0930\u0932 \u0939\u0948 &#8211; \u092f\u0926\u093f \u0939\u092e \u092c\u093e\u090f\u0901 \u0938\u094d\u0935\u093f\u091a, L \u0915\u094b \u0926\u092c\u093e\u0924\u0947 \u0939\u0948\u0902, \u0924\u094b \u0932\u0948\u0902\u092a \u092c\u0902\u0926 \u0939\u094b \u091c\u093e\u0928\u093e \u091a\u093e\u0939\u093f\u090f\u0964 \u092f\u0926\u093f \u0939\u092e \u0926\u093e\u092f\u093e\u0901 \u0938\u094d\u0935\u093f\u091a, R \u0926\u092c\u093e\u0924\u0947 \u0939\u0948\u0902, \u0924\u094b \u0932\u0948\u0902\u092a \u091a\u093e\u0932\u0942 \u0939\u094b \u091c\u093e\u0928\u093e \u091a\u093e\u0939\u093f\u090f\u0964 <\/em><\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1401\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Study-Lamp.gif\" alt=\"\" width=\"600\" height=\"338\"><\/p>\n<p>&nbsp;<\/p>\n<h3>Coding Steps<\/h3>\n<p>\u0928\u0940\u091a\u0947 \u0926\u093f\u090f \u0917\u090f \u0938\u094d\u091f\u0947\u092a\u094d\u0938 \u0915\u093e \u092a\u093e\u0932\u0928 \u0915\u0930\u0947\u0902:<\/p>\n<ol>\n<li><del>PictoBlox \u0910\u092a<\/del> \u0916\u094b\u0932\u0947\u0902, <del>My Space<\/del> \u092a\u0930 \u091c\u093e\u090f\u0902, \u0914\u0930 <strong>\u090f\u0915 \u0928\u0908 \u092b\u093c\u093e\u0907\u0932 \u092c\u0928\u093e\u0928\u0947<\/strong> \u0915\u0947 \u0932\u093f\u090f <del>+<\/del> \u092c\u091f\u0928 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902\u0964<\/li>\n<li><del>Quarky<\/del> \u0915\u094b <del>PictoBlox<\/del> \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\u0964<\/li>\n<li><del>Sensors<\/del> \u092a\u0948\u0932\u0947\u091f \u092e\u0947\u0902 \u091c\u093e\u090f\u0902 \u0914\u0930 \u090f\u0915 <strong>is button () pressed?<\/strong> \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f\u093f\u0902\u0917 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 \u092c\u094d\u0932\u0949\u0915 \u0915\u0930\u0947\u0902\u0964 \u092c\u091f\u0928, <strong>L<\/strong> , \u0921\u093f\u092b\u093c\u0949\u0932\u094d\u091f \u0935\u093f\u0915\u0932\u094d\u092a \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0939\u0948\u0964 <\/li>\n<li>\u092f\u0939 \u091c\u093e\u0902\u091a\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0915\u093f \u0915\u094d\u092f\u093e <strong>L<\/strong> \u0926\u092c\u093e\u092f\u093e \u0917\u092f\u093e \u0939\u0948, \u0939\u092e \u090f\u0915 <strong>if<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902\u0917\u0947\u0964 <del>Contro<em>l<\/em><\/del> \u092a\u0948\u0932\u0947\u091f \u092a\u0930 \u091c\u093e\u090f\u0902 \u0914\u0930 \u090f\u0915 <strong><em>if<\/em><\/strong> \u0921\u094d\u0930\u0949\u092a \u0915\u0930\u0947\u0902 <em> <\/em>\u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f\u093f\u0902\u0917 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 \u092c\u094d\u0932\u0949\u0915 \u0915\u0930\u0947\u0902\u0964 <strong>is button () pressed?<\/strong> \u092c\u094d\u0932\u0949\u0915 <strong><em>if<\/em><\/strong> \u0915\u0940 \u0938\u092b\u0947\u0926 \u091c\u0917\u0939 \u092e\u0947\u0902 \u092c\u094d\u0932\u0949\u0915 \u0915\u0930\u0947\u0902 <em> <\/em>.<\/li>\n<li>\u092f\u0926\u093f <strong>L<\/strong> \u0926\u092c\u093e\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948, \u0924\u094b \u0939\u092e\u093e\u0930\u0947 \u0924\u0930\u094d\u0915 \u0915\u0947 \u0905\u0928\u0941\u0938\u093e\u0930, LED \u0915\u094b \u092c\u0902\u0926 \u0915\u0930 \u0926\u0947\u0928\u093e \u091a\u093e\u0939\u093f\u090f\u0964 \u0907\u0938\u0932\u093f\u090f, Display \u092a\u0930 \u091c\u093e\u090f\u0902 <strong><em> <\/em><\/strong>\u092a\u0948\u0932\u0947\u091f \u0914\u0930 if \u0915\u0947 \u0905\u0902\u0926\u0930 \u090f\u0915 <strong>clear screen<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0921\u094d\u0930\u0949\u092a \u0915\u0930\u0947\u0902 <strong>\u0964<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1017 size-full\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image066.png\" alt=\"\" width=\"345\" height=\"145\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image066.png 345w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image066-300x126.png 300w\" sizes=\"(max-width: 345px) 100vw, 345px\" \/><\/strong><\/li>\n<li>\u0939\u093e\u0932\u093e\u0902\u0915\u093f, \u0905\u0917\u0930 <strong>R<\/strong> \u0926\u092c\u093e\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948, \u0924\u094b LED \u091a\u093e\u0932\u0942 \u0939\u094b\u0928\u0940 \u091a\u093e\u0939\u093f\u090f\u0964 \u0907\u0938\u0932\u093f\u090f, \u092a\u0939\u0932\u0947 \u0935\u093e\u0932\u0947 \u0915\u0947 \u0928\u0940\u091a\u0947 \u090f\u0915 \u0914\u0930 <strong>if<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091c\u094b\u0921\u093c\u0947\u0902 \u0914\u0930 <strong>is button () pressed?<\/strong> \u0938\u092b\u0947\u0926 \u0938\u094d\u0925\u093e\u0928 \u092e\u0947\u0902 \u0921\u094d\u0930\u0949\u092a \u0915\u0930\u0947\u0902\u0964 <\/li>\n<li>\u092b\u093f\u0930, <del>Display<\/del> \u092a\u0948\u0932\u0947\u091f \u092a\u0930 \u091c\u093e\u090f\u0902 \u0914\u0930 <strong>display matrix as ()<\/strong> \u0915\u094b <strong>if<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0905\u0902\u0926\u0930 \u0921\u094d\u0930\u0949\u092a \u0915\u0930\u0947\u0902, \u0914\u0930 \u0938\u092d\u0940 LED \u0915\u094b \u0938\u092b\u0947\u0926 \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902\u0964<\/li>\n<li>\u0938\u0902\u092a\u0942\u0930\u094d\u0923 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u0915\u0947 \u091a\u093e\u0930\u094b\u0902 \u0913\u0930 <strong>forever<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091c\u094b\u0921\u093c\u0947\u0902\u0964<\/li>\n<li>\u092b\u093f\u0928\u093f\u0936\u093f\u0902\u0917 \u091f\u091a \u091c\u094b\u0921\u093c\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f, forever \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u090a\u092a\u0930 <del>Event<em>s<\/em><\/del> \u092a\u0948\u0932\u0947\u091f \u0938\u0947 <strong>when flag clicked<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091c\u094b\u0921\u093c\u0947\u0902\u0964<\/li>\n<li>\u0905\u0902\u0924 \u092e\u0947\u0902, \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u091a\u0932\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f <strong>\u0939\u0930\u0947 \u091d\u0902\u0921\u0947 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902<\/strong> \u0964 <em>\u0932\u093e\u0907\u091f \u091a\u093e\u0932\u0942 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f L \u0938\u094d\u0935\u093f\u091a \u0926\u092c\u093e\u090f\u0902 \u0914\u0930 \u0932\u093e\u0907\u091f \u092c\u0902\u0926 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f R \u0926\u092c\u093e\u090f\u0902\u0964<\/em><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1021 size-full aligncenter\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image068.png\" alt=\"\" width=\"358\" height=\"375\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image068.png 358w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/image068-286x300.png 286w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><\/li>\n<li>\u092b\u093c\u093e\u0907\u0932 \u0915\u094b <del>Lamp<\/del> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0939\u0947\u091c\u0947\u0902\u0964<\/li>\n<\/ol>\n<h2 style=\"text-align: left;\">Activity 2: Traffic Light with Quarky<\/h2>\n<p>\u0907\u0938 \u0917\u0924\u093f\u0935\u093f\u0927\u093f \u092e\u0947\u0902, \u0939\u092e \u092f\u0939 \u0926\u0947\u0916\u0928\u0947 \u091c\u093e \u0930\u0939\u0947 \u0939\u0948\u0902 \u0915\u093f \u0915\u0948\u0938\u0947 \u0939\u092e \u091f\u094d\u0930\u0948\u092b\u093f\u0915 \u0932\u093e\u0907\u091f \u092a\u094d\u0930\u0926\u0930\u094d\u0936\u093f\u0924 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u090f\u0915 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f \u092c\u0928\u093e\u0915\u0930 \u092e\u0948\u091f\u094d\u0930\u093f\u0915\u094d\u0938 \u092a\u0930 \u090f\u0915 \u0915\u0938\u094d\u091f\u092e \u092a\u0948\u091f\u0930\u094d\u0928 \u092a\u094d\u0930\u0926\u0930\u094d\u0936\u093f\u0924 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902\u0964<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1405\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light.gif\" alt=\"\" width=\"600\" height=\"338\"><\/p>\n<h3><span lang=\"EN\">Coding Steps<\/span><\/h3>\n<p>\u0928\u0940\u091a\u0947 \u0926\u093f\u090f \u0917\u090f \u0938\u094d\u091f\u0947\u092a\u094d\u0938 \u0915\u093e \u092a\u093e\u0932\u0928 \u0915\u0930\u0947\u0902:<\/p>\n<ol>\n<li><del>PictoBlox \u0910\u092a<\/del> \u0916\u094b\u0932\u0947\u0902, <del>My Space<\/del> \u092a\u0930 \u091c\u093e\u090f\u0902 \u0914\u0930 <strong>\u090f\u0915 \u0928\u0908 \u092b\u093c\u093e\u0907\u0932 \u092c\u0928\u093e\u0928\u0947<\/strong> \u0915\u0947 \u0932\u093f\u090f <del>+<\/del> \u092c\u091f\u0928 \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902\u0964<\/li>\n<li><del>Quarky<\/del> \u0915\u094b <del>PictoBlox<\/del> \u0938\u0947 \u0915\u0928\u0947\u0915\u094d\u091f \u0915\u0930\u0947\u0902\u0964<\/li>\n<li><del>Events<\/del> \u092a\u0948\u0932\u0947\u091f \u0938\u0947 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f\u093f\u0902\u0917 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 <strong>when flag clicked<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u0916\u0940\u0902\u091a\u0947\u0902 \u0914\u0930 \u091b\u094b\u0921\u093c\u0947\u0902\u0964<em> <\/em><\/li>\n<li><strong>when flag clicked<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0928\u0940\u091a\u0947, <strong>set display brightness to ()<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091c\u094b\u0921\u093c\u0947\u0902\u0964 \u0916\u093e\u0932\u0940 \u091c\u0917\u0939 \u092e\u0947\u0902 15 \u0932\u093f\u0916\u094b\u0964 <\/li>\n<li><strong>set display brightness to ()<\/strong> \u0915\u0947 \u0928\u0940\u091a\u0947 <del>Contro<em>l<\/em><\/del> \u092a\u0948\u0932\u0947\u091f \u0938\u0947 <strong>forever<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u091c\u094b\u0921\u093c\u0947\u0902\u0964<\/li>\n<li>forever \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0905\u0902\u0926\u0930, <del>Display<\/del> \u092a\u0948\u0932\u0947\u091f \u0938\u0947 <strong>display matrix as ()<\/strong> \u091c\u094b\u0921\u093c\u0947\u0902\u0964 \u092e\u0948\u091f\u094d\u0930\u093f\u0915\u094d\u0938 \u0915\u094b <strong>red<\/strong> \u0930\u0902\u0917 \u0938\u0947 \u092d\u0930\u0947\u0902\u0964 <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1409\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-1.png\" alt=\"\" width=\"306\" height=\"451\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-1.png 306w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-1-204x300.png 204w\" sizes=\"(max-width: 306px) 100vw, 306px\" \/><\/li>\n<li><strong>display matrix as ()<\/strong> \u0915\u0947 \u0928\u0940\u091a\u0947 <strong>wait () seconds<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u091c\u094b\u0921\u093c\u0947\u0902 \u0914\u0930 \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0938\u092e\u092f \u0915\u094b <strong>5 seconds<\/strong> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902\u0964<\/li>\n<li><del>Display<\/del> \u090f\u0915\u094d\u0938\u091f\u0947\u0902\u0936\u0928 \u092a\u0930 \u091c\u093e\u090f\u0902 \u0914\u0930 \u0938\u094d\u0915\u094d\u0930\u093f\u092a\u094d\u091f\u093f\u0902\u0917 \u0915\u094d\u0937\u0947\u0924\u094d\u0930 \u092e\u0947\u0902 <strong>display () with ()<\/strong> \u092c\u094d\u0932\u0949\u0915 \u091c\u094b\u0921\u093c\u0947\u0902\u0964 \u0905\u0902\u0924\u0930\u093f\u0915\u094d\u0937 \u092e\u0947\u0902, 2 \u0926\u0930\u094d\u091c \u0915\u0930\u0947\u0902\u0964 \u092b\u093f\u0930, \u0921\u094d\u0930\u0949\u092a-\u0921\u093e\u0909\u0928 \u0938\u0947 \u090f\u0932\u0908\u0921\u0940 \u0915\u093e \u0930\u0902\u0917 \u092a\u0940\u0932\u093e-\u0930\u0902\u0917 (\u0906\u092a \u0939\u092e\u0947\u0936\u093e \u0905\u092a\u0928\u0940 \u092a\u0938\u0902\u0926 \u0915\u093e \u0930\u0902\u0917 \u091a\u0941\u0928 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902) \u092a\u0930 \u0938\u0947\u091f \u0915\u0930\u0947\u0902 \u0914\u0930 \u092f\u0939 <strong>\u092a\u0940\u0932\u0947 \u0930\u0902\u0917 \u092e\u0947\u0902 \u0928\u0902\u092c\u0930 2 \u092a\u094d\u0930\u0926\u0930\u094d\u0936\u093f\u0924<\/strong> \u0915\u0930\u0947\u0917\u093e\u0964<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1411\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-2.png\" alt=\"\" width=\"309\" height=\"543\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-2.png 309w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-2-171x300.png 171w\" sizes=\"(max-width: 309px) 100vw, 309px\" \/><\/li>\n<li><strong>display matrix as ()<\/strong> \u0915\u0947 \u0928\u0940\u091a\u0947 <strong>wait () seconds<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u091c\u094b\u0921\u093c\u0947\u0902 \u0914\u0930 \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0938\u092e\u092f \u0915\u094b <strong>1 second<\/strong> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902\u0964<\/li>\n<li>\u0905\u092c <strong>wait () seconds<\/strong> \u0915\u0947 \u0928\u0940\u091a\u0947 <strong>display () with ()<\/strong> \u091c\u094b\u0921\u093c\u0947\u0902, \u0938\u094d\u092a\u0947\u0938 \u092e\u0947\u0902 <strong>1<\/strong> \u0926\u0930\u094d\u091c \u0915\u0930\u0947\u0902\u0964 \u092b\u093f\u0930, \u0921\u094d\u0930\u0949\u092a-\u0921\u093e\u0909\u0928 \u0938\u0947 \u090f\u0932\u0908\u0921\u0940 \u0915\u0947 \u0930\u0902\u0917 \u0915\u094b \u092a\u0940\u0932\u0947-\u0930\u0902\u0917 \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902 \u0914\u0930 \u092f\u0939 <strong>\u0928\u0902\u092c\u0930 1 \u0915\u094b \u092a\u0940\u0932\u0947 \u0930\u0902\u0917 \u092e\u0947\u0902 \u092a\u094d\u0930\u0926\u0930\u094d\u0936\u093f\u0924<\/strong> \u0915\u0930\u0947\u0917\u093e\u0964<\/li>\n<li><strong>display matrix as ()<\/strong> \u0915\u0947 \u0928\u0940\u091a\u0947 <strong>wait () seconds<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u094b \u091c\u094b\u0921\u093c\u0947\u0902 \u0914\u0930 \u092a\u094d\u0930\u0924\u0940\u0915\u094d\u0937\u093e \u0938\u092e\u092f \u0915\u094b <strong>1 second \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902\u0964 <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1415\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-3.png\" alt=\"\" width=\"265\" height=\"441\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-3.png 265w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-3-180x300.png 180w\" sizes=\"(max-width: 265px) 100vw, 265px\" \/><\/strong><\/li>\n<li><strong>display matrix as ()<\/strong> \u092c\u094d\u0932\u0949\u0915 \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0930\u093e\u0907\u091f-\u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902 \u0914\u0930 \u0915\u094b\u0921 \u0915\u094b \u0921\u0941\u092a\u094d\u0932\u093f\u0915\u0947\u091f \u0915\u0930\u0947\u0902\u0964 <strong><em>display matrix as () \u092c\u094d\u0932\u0949\u0915 \u092e\u0947\u0902 \u0930\u0902\u0917 \u0915\u094b \u0939\u0930\u0947 \u0930\u0902\u0917<\/em><\/strong> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0947\u091f \u0915\u0930\u0947\u0902\u0964<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1417\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light.png\" alt=\"\" width=\"216\" height=\"575\" srcset=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light.png 216w, https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light-113x300.png 113w\" sizes=\"(max-width: 216px) 100vw, 216px\" \/><\/li>\n<li>\u0915\u094b\u0921 \u092a\u0942\u0930\u093e \u0939\u094b \u0917\u092f\u093e \u0939\u0948\u0964 <strong>green flag<\/strong> \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947\u0902 \u0914\u0930 \u0915\u094b\u0921 \u0915\u093e \u092a\u0930\u0940\u0915\u094d\u0937\u0923 \u0915\u0930\u0947\u0902\u0964 <em>\u0906\u092a \u0915\u094d\u0935\u093e\u0930\u094d\u0915\u0940 \u0915\u094b \u091f\u094d\u0930\u0948\u092b\u093f\u0915 \u0932\u093e\u0907\u091f \u0915\u0940 \u0924\u0930\u0939 \u0926\u094c\u0921\u093c\u0924\u0947 \u0939\u0941\u090f \u0926\u0947\u0916\u0947\u0902\u0917\u0947\u0964<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1405\" src=\"https:\/\/stemlab.org.in\/wp-content\/uploads\/2023\/03\/Traffic-Light.gif\" alt=\"\" width=\"600\" height=\"338\"><\/em><\/li>\n<li>\u092b\u093c\u093e\u0907\u0932 \u0915\u094b <del>Traffic Light<\/del> \u0915\u0947 \u0930\u0942\u092a \u092e\u0947\u0902 \u0938\u0939\u0947\u091c\u0947\u0902\u0964<\/li>\n<\/ol>\n<p><em>\u0905\u0917\u0932\u0947 \u092a\u093e\u0920 \u092a\u0930 \u091c\u093e\u0928\u0947 \u0938\u0947 \u092a\u0939\u0932\u0947<\/em> \u0938\u0941\u0928\u093f\u0936\u094d\u091a\u093f\u0924 \u0915\u0930\u0947\u0902 \u0915\u093f \u0906\u092a\u0928\u0947 <strong>assignment<\/strong> \u092a\u0942\u0930\u093e \u0915\u0930 \u0932\u093f\u092f\u093e \u0939\u0948 \u0914\u0930 \u0909\u0938\u0947 \u0938\u092c\u092e\u093f\u091f \u0915\u0930 \u0926\u093f\u092f\u093e \u0939\u0948, \u0938\u093e\u0925 \u0939\u0940 <strong>quiz<\/strong> \u092e\u0947\u0902 \u092d\u093e\u0917 \u0932\u0947\u0902\u0964<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0907\u0938 \u092a\u093e\u0920 \u092e\u0947\u0902, Quarky \u0915\u0947 \u0938\u094d\u092a\u0930\u094d\u0936\u0915 \u0938\u094d\u0935\u093f\u091a \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0915\u0947 \u0932\u0948\u092e\u094d\u092a \u0914\u0930 \u091f\u094d\u0930\u0948\u092b\u093f\u0915 \u0932\u093e\u0907\u091f \u092c\u0928\u093e\u0928\u093e \u0938\u0940\u0916\u0947\u0902\u0964 forever \u092c\u094d\u0932\u0949\u0915 \u0914\u0930 \u0938\u0936\u0930\u094d\u0924 \u092c\u092f\u093e\u0928\u094b\u0902 \u0915\u0940 \u092e\u0942\u0932 \u092c\u093e\u0924\u0947\u0902 \u0938\u092e\u091d\u0947\u0902\u0917\u0947 \u0914\u0930 \u0905\u092a\u0928\u093e \u0915\u094b\u0921 \u0932\u093f\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0909\u0928\u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947\u0902\u0917\u0947\u0964<\/p>\n","protected":false},"author":1,"featured_media":337,"menu_order":4,"template":"","meta":{"footnotes":""},"class_list":["post-1849","lesson","type-lesson","status-publish","has-post-thumbnail","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/lesson\/1849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/lesson"}],"about":[{"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/types\/lesson"}],"author":[{"embeddable":true,"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":13,"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/lesson\/1849\/revisions"}],"predecessor-version":[{"id":2247,"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/lesson\/1849\/revisions\/2247"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/media\/337"}],"wp:attachment":[{"href":"https:\/\/stemlab.org.in\/hi\/wp-json\/wp\/v2\/media?parent=1849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}