Page 158 - Touchpad_Plus_V3.2_Class 8
P. 158

Periodic Assessment 4



                                                      (Based on chapters 9 to 11)

                  A.  What will be the output of the following Python codes:

                     1.  for number in range(1, 11):
                       if number % 3 == 0:

                           print(f"Found a number divisible by 3: {number}")
                          break
                       print(number)






                     2.  number = 1
                      while number <= 10:
                        print(number)
                        number += 3




                  B.  Match the following:
                        Column A                                    Column B

                     1.  AI machines                            a.  a software robot that mimics human actions


                     2.  RPA                                    b.   network of physical devices that have UIDs

                     3.  Machine Learning                       c.   a complimentary approach to cloud computing


                     4.  IoT                                    d.   smart and intelligent as the human brain

                     5.  Edge computing                         e.   set of algorithms that find and apply patterns to data


                  C.  Write the program to paint the boxes to make letter (L).

                       Start



















               156      Plus (Ver. 3.2)-VIII
   153   154   155   156   157   158   159   160   161   162   163