Page 487 - AI Ver 3.0 class 10_Flipbook
P. 487

In Life                                                 21 st  Century   #Communication
                                                                                               Skills
                                                                                                   #Social Interaction

                     Doctors now use AI-powered tools to detect diseases from medical scans, analyse patient records, and suggest
                     treatments. Python is at the heart of these applications. Could AI-driven Python solutions revolutionise healthcare
                     accessibility and accuracy?





                                Deep Thinking
                                                                                           21 st  Century
                                                                                               Skills  #Critical Thinking
                     A student is working on a school project that involves analysing a large dataset of student performance, visualising
                     trends, and understanding sentiment from feedback comments. They want to make data-driven predictions and
                     generate insights efficiently. How can leveraging Python modules like NumPy for numerical processing, Matplotlib
                     for visualisation, and NLTK for text analysis help them? How can AI enhance their project by enabling predictive
                     analysis and automation?




                                                                                        21 st  Century   #Technology Literacy
                                                                                            Skills
                                 Lab


                          Write a Python code for the following.
                          a.  Input radius and calculate the area and circumference of a circle.
                          b.  To find the average of 3 numbers.
                          c.  Print the highest of three numbers entered.
                          d.  Print the even numbers between 21–50.
                          e.  Print “HELLO” in reverse order.
                          f.  Input age and check whether eligible for driving or not.
                          g.  Input 5 numbers and print its sum.
                          h.  Input a number and print your name that many times.








                 Answers

                 Exercise (Section A)
                 A.    1.  b   2.  b   3.  b   4.  c     5.  a     6.  d    7.  b     8.  a    9.  b    10.  b
                     11.  c   12.  a   13.  b   14.  b   15.  c   16.  c   17.  d    18.  d    19.  c   20.  c
                 B.   1.  Navigator   2.  Jupyter Notebook   3.  virtual environment   4.  Kernel        5.  Notebook
                      6.  cell        7.  statements       8.  enter key        9.  Single line comment  10.  loop
                     11.  NumPy arrays   12.  two-dimensional   13.  scatter       14.  xlabel        15.  linear algebra
                     16.  statistical
                 C.    1.  False       2.  True          3.  False          4.  True           5.  True
                      6.  True        7.  False          8.  True           9.  False          10.  False
                     11.  True       12.  True          13.  False         14.  False          15.  True
                 D.    1.  d          2.  a              3.  c              4.  e              5.  b
                                                                                    Advance Python (Practical)  485
   482   483   484   485   486   487   488   489   490   491   492