https://www.ocf.berkeley.edu/~shidi/cs61a/w/index.php?title=Hello_world_program&feed=atom&action=historyHello world program - Revision history2024-03-29T06:40:48ZRevision history for this page on the wikiMediaWiki 1.22.6https://www.ocf.berkeley.edu/~shidi/cs61a/w/index.php?title=Hello_world_program&diff=564&oldid=prevAxis: {{Sufficient-class}}2014-06-24T06:57:12Z<p>{{Sufficient-class}}</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 06:57, 24 June 2014</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{Sufficient-class}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>A '''"Hello world" program''' is a program that outputs the string "{{#invoke:Bananas|hello}}" or a similar expression onto a certain display, such as the terminal window. This program is simple, yet highlights some of the important features of a programming language, such as its data types and output functionality. This program is therefore commonly used as the first program to demonstrate a programming language to a beginner. This program can also be used to check that a certain program is installed and functioning correctly.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>A '''"Hello world" program''' is a program that outputs the string "{{#invoke:Bananas|hello}}" or a similar expression onto a certain display, such as the terminal window. This program is simple, yet highlights some of the important features of a programming language, such as its data types and output functionality. This program is therefore commonly used as the first program to demonstrate a programming language to a beginner. This program can also be used to check that a certain program is installed and functioning correctly.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Axishttps://www.ocf.berkeley.edu/~shidi/cs61a/w/index.php?title=Hello_world_program&diff=545&oldid=prevDickson.tsai: Note: the purpose of this page is really to test the Scribunto extension. It looks like Scribunto works as expected.2014-06-22T05:35:00Z<p>Note: the purpose of this page is really to test the Scribunto extension. It looks like Scribunto works as expected.</p>
<p><b>New page</b></p><div>A '''"Hello world" program''' is a program that outputs the string "{{#invoke:Bananas|hello}}" or a similar expression onto a certain display, such as the terminal window. This program is simple, yet highlights some of the important features of a programming language, such as its data types and output functionality. This program is therefore commonly used as the first program to demonstrate a programming language to a beginner. This program can also be used to check that a certain program is installed and functioning correctly.<br />
<br />
== Example ==<br />
In Python:<br />
<syntaxhighlight lang="python"><br />
print("Hello, world!")<br />
</syntaxhighlight><br />
== Sources ==<br />
* [http://www-inst.eecs.berkeley.edu/~cs61a/sp14/lab/lab00/lab00.php Spring 2014 Lab 0 with "Hello world" example]<br />
* [http://en.wikipedia.org/wiki/Hello_world_program Wikipedia article on the "Hello world" program]</div>Dickson.tsai