RSS
Showing posts with label Tugas pak aci. Show all posts
Showing posts with label Tugas pak aci. Show all posts

How to Use Pascal

Opening and Saving Files in Pascal 

Opening and closing your files in pascal follows the usual method of:
* File Menu
* Open (or Save)
* Select the File (or type in the file name)
* Click Open (or Save)
This is exactly the same as you would do in any word processing program.
Alternatively you can press F2 to save your program.
It is a good idea to save your work regularly.

Exiting Pascal

To exit Pascal:
* File Menu
* Exit
Alternatively you can press Alt-x to exit.

Compiling and Running Your Program
 It is VERY important that you know how to do this so make sure you remember it.

COMPILING:
When you compile your program, Pascal checks it for errors. If there are any errors Pascal tells you. If you don't understand what the error means then look up the error in the help.
 To compile your program press F9, or you can select Compile from the Compile menu.
 
RUNNING YOUR PROGRAM:
To run your program press Ctrl+F9, or select Run from the Compile menu. This command compiles your program. Then if the compilation was successful your program will be run.

Copyright from here

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

What is Pascal ?

The Pascal language was named for Blaise Pascal, a French mathematician who was a pioneer in computer development history. In 1641, at the age of eighteen, Pascal constructed the first arithmetical machine, arguably the first computer. He would improve upon the instrument eight years later. In 1650, Pascal left the world of geometry and physics, and shifted his focus towards religious studies, or, as Pascal wrote, to "contemplate the greatness and the misery of man." Pascal died in Paris on August 19, 1662.

The earliest computers were programmed in machine code and assembly. This type of programming is tedious and error prone, as well as extremely difficult to understand and modify. Programming is a time-consuming and expensive process. High level languages were developed to resolve this problem. High level languages provide a set of instructions that read like English, but can be translated by a program called a compiler into machine code. Pascal is one such language.

Other high level languages developed in the early years of the computer were FORTRAN (1957), COBOL (1959), ALGOL (1960), APL (1962), BASIC (1964), C (1972) and Ada (1983), to name a few. One problem with many of the early languages (e.g., FORTRAN and BASIC) was the heavy dependency on the use of "goto" instructions. "Goto" instructions tell the computer to jump from one step to another, enabling the computer to skip steps or to go back to repeat earlier steps. This type of sporadic branching increases the difficulty of debugging code. Additionally, languages like COBOL were designed with over-elaborate definitions, weak data structures support, and a lack of flexibility, making programs tedious to code and difficult to enhance.

Niklaus Wirth completed development of the original Pascal programming language in 1970. He based it upon the block structured style of the Algol programming language. There were two original goals for Pascal. According to the Pascal Standard (ISO 7185), these goals were to a) make available a language suitable for teaching programming as a systematic discipline based on fundamental concepts clearly and naturally reflected by the language, and b) to define a language whose implementations could be both reliable and efficient on then-available computers.

Pascal went far beyond its original design goals, with commercial use of the language often exceeding academic interest. Pascal provides rich data structures, including both the enumerated and record data types, and defined with a pleasing and powerful clarity. It provided an orthogonal and recursive approach to data structures, with arrays of arrays, arrays of records, records containing arrays, files of records, files of arrays, files of records containing arrays of records, and so on. Pascal's popularity exploded in the 1970's, as it was used in writing both system and application software. For this reason, the International Standards committee decided that a formal standard was needed to promote the stability of the Pascal language (the ISO 7185 Pascal Standard was originally published in 1983). By the end of the 1970's, more than 80 computer systems had Pascal implementations in use.

One of the more popular Pascal's of the 1970's and early 1980's was UCSD Pascal on the UCSD P-System operating system. The UCSD P-System was developed at the Institute for Information Studies at the University of California - San Diego, under the direction of Kenneth Bowles. In fact, the P-System operating system itself was written in UCSD Pascal. As Wirth writes in his 1985 Turing Award Lecture, From Programming Language Design To Computer Construction, "But Pascal gained truly widespread recognition only after Ken Bowles in San Diego recognized that the P-system could well be implemented on the novel microcomputers. His efforts to develop a suitable environment with integrated compiler, filer, editor, and debugger caused a breakthrough: Pascal became available to thousands of new computer users who were not burdened with acquired habits or stifled by the urge to stay compatible with software of the past."

In 1978, Richard Gleaves and Mark Allen, working on-campus in San Diego, used UCSD Pascal to develop the 6502 interpreter which became the basis for Apple Pascal. By the 1980's, Pascal was used by most universities to teach programming, while still invading the commercial markets. It became so popular that even FORTRAN began to change, taking advantage of Pascal's innovations.

Due to the strong popularity of the Pascal language in system and application software development, and in response to the many cited drawbacks of the original Pascal implementation, an Extended Pascal evolved to address the needs of commercial development. In 1990, the ISO 10206 Extended Pascal Standard was published to support this new version of the language.

In addition to Extended Pascal, in 1986, Apple Computer released the first Object Pascal implementation, a version of its Apple Pascal that supported object-oriented programming. In 1993, the Pascal Standards Committee published an Object-Oriented Extensions to Pascal technical report which was based upon Apple's Object Pascal implementation.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

A Story About Pascal

Pascal is based on the ALGOL programming language and named in honor of mathematician and philosopher Blaise Pascal. Wirth subsequently developed the Modula-2 and Oberon, languages similar to Pascal, and earlier, also the language Euler.

Initially, Pascal was a language intended to teach students structured programming, and generations of students have "cut their teeth" on Pascal as an introductory language in undergraduate courses. Variants of Pascal are still widely used today, for example Free Pascal can be used in both 32 and 64 bit formats, and all types of Pascal programs can be used for both education and software development.

Examples of usage

Pascal was the primary high-level language used for development in the Apple Lisa, and in the early years of the Mac; parts of the original Macintosh operating system were hand-translated into Motorola 68000 assembly language from the Pascal sources. The popular typesetting system TeX by Donald E. Knuth was written in WEB, the original literate programming system, based on traditional Pascal, while an application like Total Commander was written in Delphi

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

How to Use Google Adsense

For now, we want to share how to use or register google ads, hopefully this will be usefull for you :) 

Once we know what it is google adsense, you certainly want her to use these facilities, let's find out how to use google adsense.
Now Google Adsense advertising on the Web. Almost in every website we can find ads from Google Adsense. Adsense is very popular because everyone who has a website that meets the requirements of Google can sign up for Google Adsense. In addition, people who place ads from Google Adsense ads get paid per click. Although the pay is not much, but if the amount a lot then it could be hundreds of dollars. If you want to sign up for Google Adsense follow the steps - these steps:

Fulfill the requirements first:
1. Got webiste in English at the initial approval. If it is approved you can put Adsense on other websites. If you can not have a blog on, then fill with the English-language articles.
2. Read the first rule. Do not be violated if you do not want your account blocked.
Step - step sign up for Google Adsense:
1. Register here: Google Adsense
2. Fill the form.
3. Open your email, then open an email from Google, click on registration confirmation link.
4. Wait until your site to be approved.
How to Use Google Adsense:
1. Once you activate your account log into your Adsense Account.
2. Included in the Adsense Setup. You will find 3 types of Adsense:
Adsense for content, this type of advertising content in the form of text and images.
Adsense for Search, you'll get paid every one who search with Google's search engine will put in your website.
Referrals, you will get money from the intake of other users who register through your link.
3. Setealah it follow the steps - the next step. Once you get the source code for Adsense, you just mengcopynya to your website.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

Google Adsense

Hi Guys, today i want to give some information to you all about Google Ads / Google adsense, check this one :)

Do you know about google adsense? if you do not know let's learn what it is google adsense
well now let's break what is google adsense
 

google adsense is.....

AdSense is an advertising partnership program through Internet media held by Google. Through its AdSense advertising program, owners of web sites or blogs that have signed up and approved its membership may install advertising units that form and material have been determined by Google in their web pages. The owner of the website or blog will get a profit sharing revenue from Google for each ad clicked by visitors to the site, known as a pay per click (ppc) or pay per click.

In addition to providing ads with pay-per-click system, also provides a Google AdSense AdSense for search (AdSense for Search) and referral ads (Referral). In the AdSense for search, web site owners can install the Google search box on their web pages. The site owner will get revenue from Google for each search conducted visitors through the search box, which continues to click on ads that are included in the search results. On referral ads, site owners will receive an income after click on the ad continues with certain actions by visitors who have agreed between Google and advertisers.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS