Page 72 - CloudGPT_C8_Flipbook
P. 72

B.  Fill in the blanks.
                      1.  If there is another if-else construct within the if block or the else block, this is called   .

                      2.  Each shape in flowchart represents the direction of               among the steps.
                      3.   The traffic lights cycle through green, yellow, and red at           interval of time to control
                         road intersections traffic flow.
                      4.  Arithmetic operation combines two or more                  expressions.

                      5.  Variables are the                  that hold information.
                      6.  Relational operator returns 1, if the value is             .
                      7.  To find the meaning of a particular word in a              , you need to follow a set of steps.

                      8.                    operator is used to check if two or more conditions are true.

                  C.  State whether these statements are true or false.
                      1.  '/' operator divides the first operand by the second.
                      2.  The language which the computer understands is syntax.

                      3.  Pseudocode uses structured English statements.
                      4.  Logical operators are the used to build a decision-making capability in the code.

                      5.  Decision represents entering or leaving point of the system.
                      6.  Syntax is same as grammar in our English language.

                      7.  Or operator returns true even if one of the condition is true.
                  D.  Match the following.
                     1.  TRUE                                       a. ++


                     2.                                             b. Set of rules


                     3.  Add AND assignment operator                c.  a is less than b

                     4.  a<b                                        d. 1

                     5.  Increment                                  e. Decision

                     6.  Syntax                                     f. +=


                  E.  Answer the following questions:
                      1.  What do you understand by the term coding?
                      2.  Explain by giving an example on how to combine different logical operators.

                      3.  What is the use of Subtract AND assignment operator?
                      4.  Write one difference between algorithm and pseudocode.

                      5.  Write the names of two programming languages.
                      6.   Write one difference between AND and NOT logical operator.
                      7.  Explain any two relational operators.



                   70     Premium Edition-VIII
   67   68   69   70   71   72   73   74   75   76   77