Programming in Pascal introduction. This is simple explanation of how programming in Pascal looks like.
Pascal was developed by Niklaus Wirth in 1970. It is a high-level programming language, which has won great popularity due to its versatility. It is now often used in schools and college campuses, as well suited to learning programming.
Just like learning a foreign language, acquisition of programming language, including Pascal, requires knowledge of its grammar, or specific rules of writing, allowing the processing of code written by the programmer to understand the source code for the computer. This machine code are instructions for the processor, that the computer stores as binary numbers.
Tools translating source code (understandable for the programmer) to code understandable for computer are called compilers. Pascal has a large range of compilers provided by the companies involved in the production of these tools, such as Borland (Turbo Pascal). Currently there are commercial versions that we can obtain free of charge via the Internet, they resemble the commercial tools and are useful for learning programming.
Basic Programming Concepts
A computer program is defined as a sequence of instructions executed by a computer to carry out a specific task, for example, calculate or solve the problem in a specific programming language. Computer program is also called as written algorithm using a programming language.
One such a definition of the word “program” is also the title of a book belonging to the classic computer science: “Algorithms + Data Structures = Programs”, written by Niklaus Wirth.
I’ll provide more informations regarding programming in Pascal in subsequent posts.