Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 52 - Ai Robogenius
P. 52

    Some of the important variable blocks are:

                                        Block                                       Description

                                                                Assign (set) a variable’s value
                               set  my variable  to  0

                                                                Change a variable’s value
                             change  my variable  by  1

                                                                Created variable.
                                      my variable

                                                You have created a game in Micro:bit, but it keeps crashing.
                                                 Should you continue using the software, knowing that it may
                                                                   not always work perfectly?

                      WRITING YOUR FIRST PROGRAM

                      When starting to write code, you can choose between Blocks Programming and
                      Text Programming.  Let’s  see  how to  write  a  Hello program using  block-based
                      programming. In block-based programming, the steps are easy to follow since you

                      only need to drag and drop blocks.

                      Follow these simple steps to create a Hello program:

                        STEP - 1   Visit the link: https://makecode.microbit.org/ or scan
                                      the QR Code.

                        STEP - 2   Click on the New Project button to create a project.

                                     AI RoboGenius - IV
                     50

| 47 48 49 50 51 52 53 54 55 56 57 |