Page 101 - CG_v2.1_flipBooks_class_6
P. 101

EXERCISE




                 A.  Tick ( ) the correct option.
                    1.  What is the purpose of the "set position" block in MakeCode?
                         (i)  To change the size of a sprite or element

                        (ii)  To rotate a sprite or element
                        (iii)  To place a sprite or element at specific X and Y coordinates on the screen

                        (iv)  To change the color of a sprite or element
                    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 tool allows you to select from a range of colors for drawing and filling?
                         (i)  Undo/Redo                                   (ii)  Color Palette

                        (iii)  Line tool                                 (iv)  Pencil tool
                    4.  What does the Fill tool do?
                         (i)  Draws freehand strokes

                        (ii)  Creates rectangular shapes
                        (iii)  Fills a selected area or shape with colour or pattern

                        (iv)  Adjusts the pencil thickness
                    5.  What is a bug in programming?

                         (i)  A fault in a program that causes it to run correctly.
                        (ii)  A fault in a program that can predict output.

                        (iii)  A fault in a program that generates incorrect output.
                        (iv)  All of these

                    6.  What is an event handler in programming?
                         (i)  A function that initialises variables before an event occurs.

                        (ii)  A block of code that gets executed in response to a specific event.
                        (iii)  A tool that manages the overall program execution flow.

                        (iv)  A method used to define new events in a program.

                 B.  Fill in the blanks using the words given below.
                                  dictionary   MakeCode Arcade   say   Pseudocode   event handler

                    1.                      is used to describe the steps of an algorithm in a human-understandable language.

                    2.  To find the meaning of a particular word in a                , you need to follow a set of steps.



                                                                                    Using MakeCode Arcade     99
   96   97   98   99   100   101   102   103   104   105   106