Page 118 - TP_Pluse_V2.2_Class_6
P. 118

(iii)  Variable
                           ______________________________________________________________________________
                           ______________________________________________________________________________

                        (iv)  Logical Operators
                           ______________________________________________________________________________
                           ______________________________________________________________________________
                     e.  Distinguish between the following with the help of examples.

                        (i)  AND operator and OR operator
                           ______________________________________________________________________________
                           ______________________________________________________________________________

                        (ii)  Modulus operator and Division operator
                           ______________________________________________________________________________
                           ______________________________________________________________________________
                        (iii) Single-line comment and Multiple-line comment
                           ______________________________________________________________________________

                           ______________________________________________________________________________

                  6.  Competency-based/Application-based questions.
                     a.   Rohan was using the terms Compiler and Interpreter interchangeably, his friend
                        Namrata  interrupted  him? What  could  she have said  to  clarify the  difference
                        between the two terms for Rohan.

                     b.   Chirag is planning to create a simple program in Python where he intends to welcome the user
                        after taking in his name and class? Would you design the same for him and put a multi-line
                        comment to explain the viewer of your Python code, what do you intend to do in that page?





                  teCh Zone



                   Let's soLve                                                            Century   #Critical Thinking
                                                                                            21 st
                                                                                           Skills
                      What will be the output of the following programs:
                      1.  a = 4.5
                        b = 2

                        print (a//b)

                     2.  y = 10

                        y += 2

                        print(y)




                  116   Plus (Ver. 2.2)-VI
   113   114   115   116   117   118   119   120   121   122   123