Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 128 - CodePilot V5.0 C6
P. 128

    PYTHON–START

                            9                                     TO CODE

                      PRIMARY PREVIEW

                         Computer Languages                Language Translator
                         Python                            Installing Python                                                                    Programming is a useful skill for creating things like websites and games. It is a good language for
                         Modes in Python                   Opening an Existing Program                                                          beginners because its simple syntax makes learning easy.
                         Input and Output                  Character Set
                         Keywords and Identifiers          Variables in Python
                         Data Types                        Comments in Python                                                                          COMPUTER LANGUAGES
                         Operators                         Precedence of Operators
                         Some More Programs                                                                                                     Programming languages are used to communicate with computers through words or characters
                                                                                                                                                that describe actions. Writing these instructions is called programming and the people who do it
                                                                                                                                                are called programmers.

                                                                                                                                                                                   Computer Languages

                                                                                                                                                            Low-Level Language                               High-Level Language
                                Hey, AIRO! What is Python?

                                                                 Python is a programming language that lets                                         First Generation   Second Generation   Third Generation   Fourth Generation    Fifth Generation
                                                                                                                                                    Language (1GL)      Language (2GL)      Language (3GL)     Language (4GL)      Language (5GL)
                                                                      you write instructions for the computer.

                                                                                                                                                LOW-LEVEL LANGUAGE
                                That sounds cool! How do                                                                                        A low-level language is machine-dependent and works directly with a computer’s hardware,

                                we start coding in Python?                                                                                      giving exact instructions for managing it.

                                                                   First, you install Python, then write code in                                First Generation Language
                                                                simple steps to tell the computer what to do.                                   The  First Generation of programming  languages or machine  language,  uses  binary  digits  (0
                                                                                                                                                and 1) that computers directly understand. It is machine-dependent and works only on specific

                                                                                                                                                hardware.

                                Can I make my own programs with it?                                                                             Second Generation Language

                                                                                                                                                The  Second Generation of programming  languages  or assembly  language,  uses  symbols  or
                                                                                 Absolutely! Let’s start coding
                                                                                and see what you can create!                                    mnemonics (like MOV, ADD, SUB) instead of binary. It is machine-dependent but easier to read
                                                                                                                                                and write.

                       126
                            CodePilot (V5.0)-VI

| 123 124 125 126 127 128 129 130 131 132 133 |