Page 7 - Touchcode_C8_Flipbook
P. 7

4.  Arithmetic operation combines two or more ........................... expressions.
                      5.  Simple assignment operator assigns values from ........................... side to left side operand.
                    D.  Match the following.
                         Column A             Column B
                      1.  Modulus          a.  ++
                      2.  Increment        b.  –=
                      3.  Add AND assignment operator   c.  *-
                      4.  Subtract AND assignment operator   d.  +=       Assessment Resources
                      5.  Multiply AND assignment operator   e.  %
                    E.  Answer the following.
                      1.  Define the term variables.
                         ..............................................................................................................................................................
                        Applied Project                                       Exercise
                       ..............................................................................................................................................................
                     It  helps  the  students  work  outside  the             It contains a variety of questions to assess
                      2.  Write the rules to name a variable.
                         ..............................................................................................................................................................
                        classroom environment  while  improving               the concepts taught in the chapter.
                       ..............................................................................................................................................................
                        their practical skills.
                      3.  Define and name the data types in programming?
                       ..............................................................................................................................................................
                         ..............................................................................................................................................................
                       applied project                                              Exercise
                                                                                  A.  Tick ( ) the correct option.
                    To perform modulus operation on two variables in makecode arcade.
                                                                                   1.  Which of the following denotes the area in which a variable can be used?
                    To perform the task, follow these steps:                         a.  Boundary      b.  Vision
                                                                                     c.  Scope      d.  all of the above
                    Step 1:     Visit the link: https://arcade.makecode.com, click on 'New Project', and write the name
                        of project ' Modules Operation'. Click on 'creat'.         2.  Which of the following symbol is used to find the remainder?
                                                                                     a.  *         b.  +
                                                                                     c.  x         d.  %
                                                                                   3.  What is the alternative of y=y-9?
                                                                                     a.  y=x-9       b.  y+=9
                                                                                     c.  y-=9      d.  x=-9
                                                                                   4.  Which of the following has the same meaning as X++?
                                                                                     a.  X=X+1        b.  X=+2
                                                                                     c.  y-=4        d.  X=x-6
                                                                                   5.  Which of the following is a valid variable name?
                     42  Touchcode Level 6                                           a.  @orange       b.  1orange

                                                                                                   d.  orange *1
                                                                             Step 14:  Drag and drop  the 'splash block to 'on start' block. Your workspace will look like:
                                                                                     c.  orange1
                                                                                  B.  State whether the following statements are true (T) or false (F).
                       Test Sheet                                                  1.  '/' operator divides the first operand by the second.
                       Two Test Sheets are included to evaluate                    2.  '++' operator increases the integer value by 1.
                                                                                   3.  An arithmetic operator is used to assign a new value to a variable.
                       the knowledge of the students.                              4.  Variable defined outside the scope cannot be accessed.
                                                                                   5.  Data type identifies the type of data which the declared variable can hold.
                                                                                  C.  Fill in the blanks.
                               test sheet 1                                               HELP BOX  unique, numeric, right, integer, packet
                               TesT sheeT 1                                  Step 15:   Click on the 'on start' to run the program, OR on the 'Play' button present on the left-
                                                                                   1.  Variables are the ........................... that hold information.
                                 Based on chapter 1 to 3                         hand side, to see the output.
                                                                                   2.  To identify the variables uniquely, you needs to allocate them a ........................... name.
                                                                                   3.  ........................... data type store whole numbers/Integer value.
                     A. tick ( ) the correct option.
                     A.  Tick ( ) the correct option.                                                                                                 ORANGE
                                      TesT sheeT 2
                      1.  Which of the following will help you to communicate with computers?
                                       TEST SHEET 2
                      1.  Which of the following will help you to communicate with computers?         Variables using  Block Coding
                                     b.  Programming language
                       a.  Program

                                        Based on chapter 4 and 5
                       a.  Program      b.  Programming language                                                41
                                        Based on chapter 4 and 5
                       c.  Code       d.  Coding
                       c.  Code       d.  Coding                          Hots
                      2.  Which of the following are the examples of programming language?
                             A.  Tick ( ) the correct option.
                            A.  Tick ( ) the correct option.
                      2.  Which of the following are the examples of programming language?
                       a.  Python

                               1.  If two expressions one true, which operator gives true as a result?
                                     b.  PHP
                                     b.  PHP

                       a.  Python   1.  Which of the following will help you to communicate with computers?   It provides an activity to the students allowing
                       c.  Java   a.  Program      d.  All of the above   b.  Or
                                a.  And

                                             b.  Programming language


                                     d.  All of the above
                       c.  Java

                                             d.  If-else
                                c.  Not
                      3.  Which of the following symbol is used to find the remainder of the variables?

                              c.  Code
                                             d.  Coding
                               2.    Which operator gives true as a result is used if the statement evaluates true only if one of
                      3.  Which of the following symbol is used to find the remainder of the variables?  them to research and learn new things.

                                     b.  +
                       a.  *
                                the expressions is true?
                                     b.  +
                       a.  *     2.  Which of the following are the examples of programming language?   Well done, you have created modulus of two numbers program!


                       c.  x
                                     d.  %
                                a.  And
                                             b.  Or
                       c.  x     a.  Python       d.  %        b.  PHP
                                             d.  If-else
                                c.
                              c.  Java  Not
                      4.  Which of the following is a valid variable name?       d.  All of the above
                                     b.
                       a.  @orange
                      4.  Which of the following is a valid variable name? 1orange

                               3.  Which of the following operator is used to reverse a condition?
                       a.  @orange    3.  Which of the following symbol is used to find the remainder of the variables?   higher order thinking skills  (Hots)
                                     b.  1orange

                                a.  And
                       c.  orange1    a.  *        d.  orange *1       b.  Or
                                             b.  +
                       c.  orange1    c.  Not       d.  orange *1     d.  If-else
                      5.  Variables are used to hold:     d.  %              Write a pseudocode and then draw a flowchart to perform different mathematical operation
                              c.  x
                       a.  one or more values  4.
                      5.  Variables are used to hold:Which of the following executes a block of code multiple times until a specific condition is met?

                                     b.  result of calculations
                             4.
                                a.  Iteration
                                     b.  result of calculations  b.
                       a.  one or more values  Which of the following is a valid variable name? Loop   (Multiplication, subtraction, Addition, Division) on two or more variables.


                       c.  database calls   a.  @orange      d.  all of the above   b.  1orange

                       c.  database calls   c.  Continue statement     d.  Break statement

                                     d.  all of the above
                      7.  Which of the following symbol is used to find the remainder of the variables?   teacher’s Corner
                              c.  orange1

                                             d.  orange *1
                               5.  Which of the following track how many times the loop is executed?
                      7.  Which of the following symbol is used to find the remainder of the variables?
                       a.  *
                    Gamification            b.  +          b.  Incrementing loop   1.  Discuss the concept of variable to the students by using real-life examples.
                                a.  Counter variable
                             5.  Variables are used to hold:
                       a.  *
                                     b.  +
                                     d.  %
                                                                             Project
                       c.  x
                                c.  While loop
                                             d.  For loop
                                             b.  result of calculations
                              a.  one or more values
                       c.  x
                                     d.  %
                      8.  Which of the following operator is used if the statement evaluates true only if both the
                               6.  Which of the following loop executes a statement or group of statements till a given condition
                                             d.  all of the above
                              c.  database calls

                    Activity designed to educate, entertain and              2.  Ask students to explain the data types and operations that can be performed on the data types.
                      8.  Which of the following operator is used if the statement evaluates true only if both the
                                is true?
                       expressions are true?
                       expressions are true? Which of the following symbol is used to find the remainder of the variables?
                             7.

                                a.  While loop
                                             b.  For loop
                       a.  And

                                                                                Touchcode Level 6
                                                                             46
                    engage students.  b.  Or         b.  +                   It presents a question/scenario in which
                              a.  *

                                             d.  Incrementing loop
                                     b.  Or
                                c.  Nested loop
                       a.  And
                                     d.  If-else

                       c.  Not
                               7.  Which of the following operator is used to reverse a condition?
                       c.  Not    c.  x        d.  If-else      d.  %        the students are required to think

                                a.  And
                     B. state whether the following statements are true (t) or false (F).  b.  Or
                             8.  Which of the following operator is used if the statement evaluates true only if both the
                     B.  State whether the following statements are true (T) or false (F).  d.  If-else
                                c.  Not

                              expressions are true?
                      1.  Bar-code scanners at the store to scan the product is an application of coding.    deeply and apply their knowledge.
                      1.  Bar-code scanners at the store to scan the product is an application of coding.
                              a.  And
                               8.  If both the expressions are true, which operator gives true as a result?
                                             b.  Or

                      2.  The application playing the video on the smartphone provides instruction via
                                a.

                              c.  Not   And
                                             b.  Or
                                             d.  If-else
                      2.  The application playing the video on the smartphone provides instruction via
                       programming language.
                                             d.  If-else
                                c.  Not

                       programming language.   Gamification
                            B.  State whether the following statements are true (T) or false (F).
                             B.  State whether the following statements are true (T) or false (F).
                             1.  Bar-code scanners at the store to scan the product is an application of coding.
                               1.  A loop reduces lines of code.   Test Sheet 1  47
                             2.  The application playing the video on the smartphone provides instruction via
                               2.  Condition should result false at a certain point of time, otherwise code block
                                              Test Sheet 1
                              programming language.   47                          PROJECT
                                will enter in an infinite loop.
                       Step 1:  Visit the link: https://education.minecraft.net/en-us/resources/hour-code-2020
                              86  Touchcode-VI
                             Watch the video: https://www.youtube.com/watch?v=FALg48OxtBQ
                                                                                            EAT THE FRUIT
                                                     Test Sheet 2
                       Step 2:   Click on 'Try a demo lesson'. Tick on 'Accept Terms' and click on Play. Click on   Create a game with three sprites, one will be a Player sprite, second will be Fruit sprite and
                                                          93
                           'Start Lesson'.                                      another will be a Junk food sprite.
                       Step 3:  Choose the 'Hour of Code 2020' and Click on 'CREATE WORLD'.  Objective of the game:
                       Coding in Minecraft                                        Move your sprite around the screen and eat as much fruit as you can before the time
                       Step 4:   In this world there are two groups: 'villagers' and the 'illagers', both the group share
                                                                                 runs out!
                           the same space but interact very rarely with each other. You duty is to bring the
                       It helps the students to make the coding                   Every time the fruit is caught, points are added, and the timer is restored.
                           two villages together to learn from each other and appreciate each other.
                                                                                  You will be given three lives to play the game, once you hit third time to the junk food,
                                                                                 your game will be over.
                       task in Minecraft MakeCode.                              Code:
                       Step 5:   Start your journey at the castle by learning to move by using the keyboard and
                           mouse or touch command.
                                    Coding in Minecraft
                       Step 6:   Press W to move forward. Whenever you see a non-player character, right click
                           on the character to read what they have to say.
                       Step 7:  Move the agent forward, so that the your player can stand on the gold block.  Output:
                                  To create and initialize a variable
                      You can create and initialize a variable in minecraft, by using the following blocks:
                       Step 8:  To start coding press C, or tap on the agent icon present at the top of the screen.
                       Step 9:  Press play when you are ready to run your code.
                       Step 10:  The agent has given you a gift. Plant your sapling with code. The sapling will grow
                           as you complete the challenges in the villages.

                                                                                  Touchcode-VII
                                                                                88 88  Touchcode-VII
                       Reference : https://education.minecraft.net/hour-of-code-2020.
                       92  Touchcode-VI
                                  To find the square of a number
                      You can find the square of a number in minecraft, by using the following blocks:
                      Blocks:
                         Make a variable: To create a variable.
                         On start: An event that runs when the program starts and all the blocks
                        are placed inside it.
                         Say: Posts a message to the game chat.
                         Multiplication block: To perform the multiplication operation.
                         Set Num1 to 0: Assign (set) a variable’s value.
                         Change a to 10: Change a variable’s value.
                                                   Variables in Real Life
                                                   Variables in Real Life   17 17
   2   3   4   5   6   7   8   9   10   11   12