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

Viva Voce Questions




                  1.  Name two different modes used in Python.

                Ans.  Script and interactive mode are the two modes available in Python.
                  2.  Is Python an interpreter or compiler supported language?
                Ans.  Python is an interpreted language.

                  3.  What do you mean by cross-platform language? Does Python support it?
                Ans.  A cross-platform language is developing computer software, which is developed to. work across multiple computing
                    platforms. Python is a cross-platform language.
                  4.  Name the module required to calculate the mean of values.
                Ans.  Statistics module is used to calculate the mean of values.

                  5.  Give an example of NLP application in our daily life.
                Ans.  Virtual assistants like Siri, Google assistant etc. are some of the real-life applications of NLP.
                  6.  What is the meaning of corpus?

                Ans.  A corpus is a large collection of written or spoken text that is used for language research.
                  7.  Differentiate between lists and tuples.
                Ans.  Lists are mutable whereas the tuples are immutable. It means we can modify lists but we cannot change tuples.

                  8.  Expand TFIDF.
                Ans.  TFIDF stands for Term Frequency Inverse Document Frequency.
                  9.  Name the arithmetic operators that can be used with strings.

                Ans.  The ‘+’ operator is used to concatenate and the ‘*’ operator is used to multiply the strings.
                 10.  What are the different parameters used with print().
                Ans.  print(object(s), sep=separator, end=end)
                    Where, object = It can be one or more separated by comma and it can be a variable, literal or an expression. An object
                    will be converted to string before printed. It is optional.
                    sep = If there are more than one objects then it will tell how to separate those objects. Default is space' '. It is optional.
                    end = Specify what to print at the end. Default is newline ‘\n’. It is optional.
                 11.  Differentiate between end and sep parameter used with print statement.
                Ans.  The end parameter defines the line terminator for print function. The sep parameter defines the separator between the
                    arguments or items in an iterator to print.

                 12.  What is RGB?
                Ans.  RGB (Red, Green, and Blue) refers to a system for representing the colors to be used on a computer display.
                 13.  What are pixels?
                Ans.  Pixel stands for "Picture Element". It is the smallest unit of information in a digital image.

                 14.  What is the minimum and maximum value of each RGB color?
                Ans.  The minimum value is 0 and the maximum value is 255.






                    500     Touchpad Artificial Intelligence (Ver. 3.0)-X
   497   498   499   500   501   502   503   504   505   506   507