Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 181 - CodePilot V5.0 C7
P. 181

    PERIODIC ASSESSMENT - 4                                                  Based on Chapters 9 to 11

                     A.  Write the output for the following codes:
                                                   Code                                             Output

                          num1 = int(input("Enter first number: "))
                          num2 = int(input("Enter second number: "))

                          if num1 > num2:
                              print("The largest number is:", num1)

                          else:
                              print("The largest number is:", num2)

                          num = int(input("Enter a number: "))

                          square = num ** 2

                          print("The square of", num, "is", square)

                     B.  Label the components of the Tinkercad circuit interface.

                     C.  Write the full form of the following:
                        1.  NLP:
                        2.  ML:

                        3.  OCR:

                                                                                                                      179
                                                                                                Periodic Assessment - 4

| 176 177 178 179 180 181 182 183 184 185 186 |