Difference between revisions of "W1089 Hello World"
(Add exercises) |
|||
Line 4: | Line 4: | ||
* [[W1086 Merlin Build System]] | * [[W1086 Merlin Build System]] | ||
* [[W1002 The Client, the Server, and the Shell]] | * [[W1002 The Client, the Server, and the Shell]] | ||
== Background == | == Background == | ||
A Brief History of the '''Hello World''' program: | A Brief History of the '''Hello World''' program: |
Revision as of 10:11, 24 May 2021
Prerequisites[edit]
Background[edit]
A Brief History of the Hello World program:
In the 1970s, Brian Kernighan was a computer scientist at Bell Labs, developing UNIX along with other famous computer scientists such as Ken Thompson and Dennis Ritchie, who created the programming language C. In a 1974 internal memo at Bell Labs, Kernighan created the Hello, World program as a simple demonstration of the input/output capabilities of the programming language B. Later, when Kernighan and Ritchie published their first book on C programming, The C Programming Language, the Hello World example found its way in and became instantly famous as a sort of 'first program' to write.
Introduction[edit]
A Hello world program is simply a program that prints the text "Hello, World!" or some variation thereof to some kind of output device for the user. It is commonly used as a sample program, and is often the first program taught to students.
- Why do you think Hello world is typically the first program taught to students?
- How might the Hello World program be different, depending on the programming language it's written in?
Exercises[edit]
References[edit]
- Brian Kernighan (Wikipedia)
- The C Programming Language (Book) (Wikipedia)
- "Hello, World!" Program (Wikipedia)