The Universe of Programming
The "black-box" Model
A program quantifies a computing algorithm and functions to take specific
input data (like stimuli),
process it, and provide
output data (a response):
This is known as the
black-box model, which abstracts any "living" element around us. The car's engine revs higher when the gas pedal is pressed harder; if we're cold, the hair muscle contracts, causing goosebumps; pressing a certain icon on the phone opens the associated program, and so on.
Input data is "
read" using a peripheral device, such as a keyboard, mouse, joystick, touchscreen, etc.
After processing, the result is "
displayed" on the screen or sent to another output peripheral: screen, printer, etc.
We will discuss more about reading and displaying data in the lessons within this course.
The goal of any programmer is to create the program!
INDEPENDENT STUDY
1. In everyday life, we constantly encounter algorithms, such as the algorithm for making a phone
call or the algorithm for adding two integers. Can you provide other examples of algorithms?
2. Research the scientist
Abu Abdullah Muhammad bin Musa al-Khwarizmi on the Internet!
The Python Language
The
Python language is interpreted, very popular, and easy to learn and use.
Python closely
resembles pseudocode in English, allowing the focus to be on solving the problem rather than on using the language itself.
Python programs are truly portable. A properly written program can run directly on Windows as well as on GNU/Linux.
This introductory programming course is designed for
version 3 of the language.
Good luck and happy learning!
Great job!
The introductory part has concluded.