Saturday, September 11, 2010

Programming Language PASCAL


Pascal is a programming language that was first made by Professor Niklaus Wirth, a member of the International Federation of Information Processing (IFIP) in 1971. By taking the name from the French mathematician, Blaise Pascal, who first created the counting machine, Professor Niklaus Wirth Pascal made this as a tool for teaching computer programming concepts to students. In addition, Professor Niklaus Wirth Pascal also made to complement the shortcomings of existing programming languages at that time.


The advantage of the Pascal programming language is:

Standard data types, standard data types that are already available in most programming languages.Pascal has a standard data types: boolean, integer, real, char, string,User Defined Data Types, programmers can create other data types derived from standard data types.Strongly-typed, the programmer must specify the data type of a variable, and variables can not be used to store data type other than the specified format.Structured, has a syntax that allows the writing of the program is broken down into smaller functions (procedures and functions) that can be used repeatedly.Simple and Expressive, has a simple structure and very close to human language (English) so easily learned and understood.

In Pascal there are several types of data types that can be used for a variable or constant in the program.


 These data types include


Data        Type Description (range variable).
Byte               number from 0 to 255.
Integer           numbers from -32 768 to 32 767.
Real             all fractional values of 1E-38 to 1E 38.
Boolean         value of TRUE or FALSE.
Char               all characters from the ASCII table.
String             all the letters, spaces, phrase.

Related posting:

0 comments:

>