Browse Definitions :
Definition

Hello World

Contributor(s): FOG

Hello World is a simple program that, when run, displays the message: Hello World . Fittingly, the Hello World program has long been the new programmer's induction into a myriad of programming languages. A project at the Association for Computing Machinery (ACM) of Louisiana Tech collected all the Hello World program examples they could find -- and discovered 204.

Here's what the Hello World program looks like in Pascal :

   program Hello;
   begin     (* Main *)
      writeln ('Hello, world!')
   end.      (* Main *)
The output should look like: Hello, world!

No one knows exactly why Hello World has stood the test of time so well. The most likely historical explanation is simply that a short program like Hello World once allowed the programmer to make sure that a language's compiler , development environment, and run-time environment were correctly installed. Because this involved a lot of work, a very simple program was used first to test things out. According to Wikipedia, the tradition of using the phrase "Hello, world" as the test message was influenced by an example program in the book "The C Programming Language", by Brian Kernighan and Dennis Ritchie.

This was last updated in September 2005

Join the conversation

1 comment

Send me notifications when other members comment.

Please create a username to comment.

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco} span.s1 {text-decoration: underline} span.s2 {text-decoration: underline ; color: #0326cc} span.s3 {text-decoration: underline ; color: #3933ff}

System.out.println("Hello World");

Cancel

-ADS BY GOOGLE

File Extensions and File Formats

Powered by:

SearchCompliance

SearchSecurity

  • computer worm

    A computer worm is a type of malicious software program whose primary function is to infect other computers while remaining ...

  • Single Sign-On (SSO)

    Single sign-on (SSO) is a session and user authentication service that permits a user to use one set of login credentials (e.g., ...

  • Certified Information Systems Auditor (CISA)

    Certified Information Systems Auditor (CISA) is a certification issued by ISACA to people in charge of ensuring that an ...

SearchHealthIT

SearchDisasterRecovery

  • business continuity plan (BCP)

    A business continuity plan (BCP) is a document that consists of the critical information an organization needs to continue ...

  • disaster recovery team

    A disaster recovery team is a group of individuals focused on planning, implementing, maintaining, auditing and testing an ...

  • cloud insurance

    Cloud insurance is any type of financial or data protection obtained by a cloud service provider. 

SearchStorage

  • VRAM (video RAM)

    VRAM (video RAM) is a reference to any type of random access memory (RAM) used to store image data for a computer display.

  • Kilo, mega, giga, tera, peta, exa, zetta and all that

    Kilo, mega, giga, tera, peta, exa, zetta are among the list of prefixes used to denote the quantity of something, such as a byte ...

  • flash memory

    Flash memory, also known as flash storage, is a type of nonvolatile memory that erases data in units called blocks.

Close