Page 100 - TP_V5.1_C7_fb
P. 100

Periodic Assessment                          3

                                                    (Based on chapters 5 to 7)

                  1.  Who am I?

                     a. I am a tag that is used to display pictures in an HTML document.         _______________

                     b. I am a CSS property that is used to style and control the image
                       borders.                                                                  _______________

                     c. I allow you to link to other web pages or resources on
                       the internet.                                                             _______________


                     d. I am used to collect user input, such as text, selections, or files,
                       and submit them to a server.                                              _______________

                     e.  I am an HTML element that allows you to embed another webpage
                       or document inside the current one.                                       _______________

                  2. What will be the value of the result if the following code is executed:

                     num1 = 17
                     num2 = 3

                     result = num1 % num2
                     print(result)

                    ____________________________________________________________________

                  3.  Differentiate between iOS and Android.

                    ____________________________________________________________________

                    ____________________________________________________________________

                    ____________________________________________________________________


                  4.  If a = 10, b = 5 and c = 20, then what will be the output of the following statements:

                     a. print(a > b and b < c)       _______________________________________

                     b. print(a ** b + c)            _______________________________________

                     c. print(a, b, c)               _______________________________________

                     d. print(a > b or b > c)        _______________________________________

                     e.  print(a // b – 2 + c)       _______________________________________








                   98   Premium Edition-VII                                                                                                                                                                              Periodic Assessment 3  PB
   95   96   97   98   99   100   101   102   103   104   105