Page 155 - Trackpad_V4.0_C8_Flipbook
P. 155

8.  AI enabled homes will fail to provide the            facility.

                               a. let us turn on our lights                      b. play favourite music

                               c. love and care                                  d. change our room temperature


                 B.  Fill in the blanks with the correct words.

                    1.  AI-assisted              has built an autonomous weapon system.
                    2.  Else statement can be used with              loop too.
                    3.  The inputs given to the functions are referred to as           .

                    4.  A string is enclosed or surrounded by             or                quotes.
                    5.                 enables a computer to read and understand data by mimicking human natural
                       language.
                    6.  Barr and Feigenbaum in                defined AI.


                 C.  Tick ( ) the correct statements and cross ( ) the wrong ones.

                    1.  The range(5) generates a set of whole numbers starting from 0 to 5.


                    2.  An infinite loop in Python is a loop that never stops executing because its condition is always true.

                    3.  Email filters are the most basic application of NLP.


                    4.  Data Science helps AI systems to train using real-time data.


                    5.   Computer vision is used for security & surveillance.

                    6.  Alexa is a Google product.

                 D.  Answer the following questions:

                    1.   Write a program to check whether a given number is even or odd. If the number is even, then print “Even
                       number”. If the number is odd, then print “Odd number”.
                    2.   Write an if condition to display “We have a match on Sunday” or “No, match on Sunday” based on
                       whether today is Sunday and if there is a cricket match.
                    3.  Explain the difference between a for loop and a while loop in Python.

                    4.  How can you exit a loop before the condition becomes false in Python?
                    5.  How do you pass arguments to a Python function? Explain with an example.
                    6.    What is the difference between string concatenation operator and string replication operator? Explain
                       with example.
                    7.  Define Computer Vision.
                    8.  What role does AI play in enhancing healthcare services?











                                                                                                     Test Sheet 2  153
   150   151   152   153   154   155   156   157   158   159   160