Page 205 - Ai Book - 10
P. 205

S Solvedolved  QQuestionsuestions


        A.  Tick () the correct answer.
            1.  What is the primary purpose of Anaconda?

                 a.  A large snake
                 b.  A programming language

                 c.  A distribution of the Python programming language
                 d.  A type of lizard

            2.  Which tool in Anaconda serves as a desktop GUI for managing environments and packages?
                 a.  Anaconda Prompt                                b.  JupyterLab

                 c.  Anaconda Navigator                             d.  QtConsole
            3.  How do you initiate Jupyter Notebook?

                 a.  Type start jupyter in the command line
                 b.  Click on Jupyter icon on the desktop

                 c.  Type jupyter notebook in the command line
                 d.  Open it from Anaconda Navigator

            4.  What is the purpose of a virtual environment in Python?
                 a.  To run Python code without Anaconda

                 b.  To install Jupyter Notebook
                 c.  To create isolated Python environments for different projects

                 d.  To access the Internet in Python
            5.  Which menu in Jupyter Notebook is used for basic operations such as opening a new document and
                saving?

                 a.  Edit menu                                      b.  View menu
                 c.  File menu                                      d.  Cell menu

            6.  What is the main function of the print() function in Python?
                 a.  Take input from the user

                 b.  Display output on the screen
                 c.  Create a virtual environment

                 d.  Install Python packages
            7.  Which data type is used to represent true or false values in Python?

                 a.  Numeric                                        b.  Set
                 c.  Boolean                                        d.  Sequence






                                                                                                              79
                                                                                                              79
   200   201   202   203   204   205   206   207   208   209   210