Page 167 - TP_Prime_V2.2_Class8
P. 167

Periodic Assessment 4


                                                     (Based on chapters 8 to 10)




                 A.  Write a Program in Python to determine whether a given number is prime or not.                         PERIODIC ASSESSMENT  4

















                 B.  Write the output of the following Python program:
                                                                                                                          165
                     student_marks = 90
                     passing_marks = 50

                     if(student_marks >=passing_marks):

                          print("Congratulations!!!")
                          print("You have passed the exam")

                     else:

                          print("Failed")

                 C.  Write one example of the following:

                     1.  Application of NLP
                        ___________________________________________________________________

                     2.  Application of CV
                        ___________________________________________________________________

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

                                  Start
   162   163   164   165   166   167   168   169   170   171   172