Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 24 - 2501_KVS_C-7
P. 24

    3.    Which of the following denotes to Python prompt?

                                 a. &&&                                 b. @@@

                                 c. >>>                                 d. $$$

                            4.    Which of the following is not a Python feature?

                                 a. Case sensitive                      b. Portable

                                 c. Not Open Source                     d. Interpreted
                            5.    Python can be installed on which of the following Operating System.

                                 a. Windows                             b. Linux
                                 c. Macintosh                           d. All of these

                      E.    State whether these statements are true or false.

                            1.    Python is a case-sensitive programming language.

                            2.    Python code is not portable in nature.

                            3.    To download Python, one needs to pay license fee.

                            4.    GUI application can be developed using Python.

                            5.    Python is an Interpreted language.

                                    Activity 2.2

                        1.    Open your browser and type www.python.org to find the latest version of Python
                              for Windows.

                        2.    Take an A4 sheet and paste pictures of the steps in the installation process.
                        3.    Take a sheet and diagrammatically represent all the features of Python.

                      2.4 PYTHON BASICS
                      We have already discussed Python, its features, and the installation process in the previous
                      section. Now, to understand a programming language, you must learn fundamental concepts for

                      Python beginners. These fundamental building blocks are keywords, variables, and data types.

                      Let’s take a deeper look into these terminologies.

                      2.4.1 Keyword
                      Keywords are the reserve words that have special meanings and purposes. Python interpreter

                      interprets these words and performs actions accordingly.

                    22                         KVS DELHI REGION 2025

| 19 20 21 22 23 24 25 26 27 28 29 |