Page 76 - Digicode_AI_class_7
P. 76

Critical Thinking
                   code Quest                                                    Information Literacy



                 State whether the following statements are true (T) or false (F).
                 1.  Part of the code in which the variable can be used is scope.

                 2.  Variable name must begin with a special character.
                 3.  Variable is a name given to a storage area.

                 4.  A variable is declared but is not initialized ever has a null value.

                 5.  A sequence in programming is an ordered set of instructions.
                 6.  Loops make the code easier to understand.

                 7.   A collection is a container which groups multiple elements into a
                     single object.
                 8.  Collection decreases the performance of the program.











                     Muhammad Hamza Shahzad is currently the youngest coder in the
                     world. He says: “I want to be Bill Gates.”






                   REFRESH


                  Variable is a name given to a location in the memory, to store values or data.
                   Variable name acts as an identifier for that variable and suggest the information which it contains.
                   Variable is a storage area which the programs can manipulate by changing the values stored in it.
                   Data type identifies the type of data which the declared variable can hold.
                   A sequence in programming is an ordered set of instructions or tasks.
                   A loop is a construct which executes a block of code multiple times until a specific condition is met.
                   A bug is an unexpected problem in your program.
                   Event is an action which has happened.
                   A collection is a container which groups multiple elements into a single object.
                   Python is a high-level object-oriented programming language.














                 74    DigiCode AI-VII
   71   72   73   74   75   76   77   78   79   80   81