Wikijunior:Programming for Kids/What is Programming?
We know you're very excited to learn programming! What exactly is programming, though?
How do computers work?
Computers are essentially a system that receives input, processes the data, and outputs the processed inputs. Inputs to a computer system are known as data (singular: datum), and the outputs are known as information.
In order to process data, a computer must receive instructions or commands. However, it would be unfeasible to make the user input commands for everything. Even something as simple as saving a document or opening a browser takes thousands or even millions of lines of code. In response to this problem, stored programs have been invented.
A stored program is a series of instructions stored in a computer's memory. When the program is used, the computer will then fetch each instruction from the stored program and execute it. This process was conceptualised by mathematician Charles Babbage and later implemented by Ada Lovelace, who is Lord Byron's daughter.
What are high-level and low-level programming languages?
A low-level programming language is one that is understood by the computer. They include machine code and assembly language, both of which instruct computer hardware components to carry out instructions directly. However, low-level programming languages are difficult to learn and time-consuming to code.
What is programming really like?
Programming is a form of problem-solving. It involves locating your problem, analysing it, designing a framework for the solution, writing the actual code for it, testing your algorithm, and, finally, writing a documentation for it. In this book, we will go through the process one by one. Let's start!