Page 103 - Digicode_AI_class_6
P. 103

REFRESH


                  Traffic lights contain sensors that are programmed to calculate how many cars or pedestrians are
                 present at a specific point.

                  Coding or programming, is the process of creating codes to instruct a computer to perform a specific
                 task.
                  To interact with computers, you need a language that the computer understands, which is called a
                 programming language.
                  A dictionary is a book that contains words and phrases in alphabetical order with their meanings.

                  Pseudocode is used to describe the steps of an algorithm in a human-understandable language.
                  MakeCode Arcade is a free, open-source, online integrated development environment (IDE) for game
                 production.

                  Block Toolbox, Programming Workspace, Game Simulator, Game Controls, etc. are some components
                 of the Makecode Arcade Window.
                  Sprites blocks, controller blocks, game blocks, etc. are some commonly used blocks.
                  We can add a sprite using the given two options: creating a new sprite using the image editor or using
                 a built-in sprite from Gallery.

                  Block-based coding uses a drag and drop approach.
                  Logical operators are the fundamental blocks that add decision-making capability to code.
                  A relational operator checks the value of the two operands.

                  If there is another if-else construct within the if block or the else block, this is called nesting or nested
                 if-else.





                                             TeCh Ready





            A.  Tick ( ) the correct option.
                1.  Which of the following device control the traffic?

                    (i)  Vehicle                                     (ii)  Traffic light
                   (iii)  Bar code scanners                          (iv)  None of these

                2.  Which of the following uses drag and drop approach?
                    (i)  Block-based coding                          (ii)  Pseudocode

                   (iii)  both (i) and (ii)                          (iv)  None of these
                3.  Which of the following operator is used to reverse a condition?

                    (i)  NOT                                         (ii)  OR
                   (iii)  AND                                        (iv)  If-else



                                                                               Using MakeCode Arcade     101
   98   99   100   101   102   103   104   105   106   107   108