Python 3


PAGE 1 / 5
The universe of programming
Home >>> Free online lessons


This is the name of the most remarkable traveling pigeon and saved 1000 British soldiers in the World War II. The little pigeon flew 20 miles in as many minutes back to the American base and the attack planes did not take off.

British troops had already occupied the town of Colvi Vecchia, the Germans had retreated, and an air raid would have been devastating for the alliance. The mayor of London later awarded the pigeon the Dickin Medal for bravery.

Nowadays, an almost instant message on WhatsApp or Messenger is enough, and the medal could reach Mark Zuckerberg, the founder of Facebook. 😉

Computer programming

Similar to animal training, computers are programmed. G.I. Joe orients himself according to the position of the Sun, the Earth's magnetic field or instincts, but electronic devices are a raw computing force that initially knows nothing (hardware).

The microprocessor (Central Processing Unit, CPU) is the brain of the computer and works under the control of machine code instructions, some incredible sequences of 0 and 1, difficult to understand without advanced knowledge.

We all use software, i.e. specialized programs that fall into four main categories: operating systems, applications, compilers and interpreters.

For example, to develop an application we need to know a programming language, such as: C++, C#, Java, Python, etc.

The programming language contains instructions that follow certain syntax rules and we can program the computer to perform a sequence of operations in order to obtain a result. The instructions are written in a language close to the natural one, most often in English. This gives us the source code.

Depending on the language used, the source code is transformed into machine code using a compiler or an interpreter.

The compiler scans and analyzes all the source code, then turns it all into machine code in the form of an executable program. Although it is faster, the program errors are displayed at the end, making debugging a little more difficult. Examples: C++, C#, Java (javac.exe), etc.

The interpreter converts the code line by line code into the machine code, without the need for an executable file generated at the end. At the first error, the analysis stops, making it easier to troubleshoot programs. Examples: Python, Pearl, JavaScript, Logo, etc.

As a programmer, it is necessary to have a deep analytical thinking, to be attentive, persevering, creative and ... to like to develop useful applications!

Go to the next page.
 home   list  LESSONS   arrow_upward