Concept · Term / definition · Insight · Procedure / algorithm

'HELLO, WORLD!'

'HELLO, WORLD!"

Also known as: 'Hello, World!' | Sanity Check, 'Hello, World!' | Computer Program

‘Hello, World!’ is a computer program as minimal and simplistic as possible, by design. It’s nothing more than a pop-up dialog box with no other functionality or purpose other than to simply display the message ‘Hello, World!’

It’s also often the first initiation into the word of coding for any aspiring computer programmers and coders, not only due to it’s ease and functionality; but also, because it’s the perfect introduction and example of the variety and complexity in which a computer operates with.

—-

There are two variations of the code which runs the ‘hello, world!” program:

This is because there are two different types of programming languages you can use to successfully run a computer algorithm: Compiled Coding Language (Compiled Coding Language) and Interpreted Coding Language. (Interpreted Coding Language.)

The Algorithm for the ‘Hello, World!’ program written in Compiled Coding Language looks like this:

“#include <stdio.h>int main(int argc, char** argv) {
printf("Hello, World!\n");
return 0;”

The Algorithm for the ‘Hello, World!’ Program written in Interpreted Coding Language looks like this:

“print("Hello, World!")”

These is what is known as an algorithm, which is an ordered set of instructions recursively applied to transform data input into processed data output.

“In the compiled version a preliminary translation has been made from the higher-level programming language into lower-level machine language. When the compiled version is run, the instructions of the machine-language code are directly executed.

In the interpreted version, each high-level language instruction is first translated into machine language, executed, and then the process is repeated with the next instruction.”

In short, Compiled Coding Language is “Computer Language” while Interpreted Coding Language is “Human Language.”

Referenced in

← All concepts

VENUS