Assembly
.MODEL TINY
.CODE
CODE SEGMENT BYTE PUBLIC
'CODE'
ASSUME
CS:CODE,DS:CODE
ORG 0100H
MOV AH,9
INT 21H
RET
DB 'HELLO WORLD$'
CODE ENDS
First appeared
1949
Popular uses
Features
For code that must
directly interact with
the hardware
(drivers), embedded
processors,
processor specific
instructions.
Binary as mnemonics, efficiency easier
to improve, fast and provides
programmers with low level access to a
computer’s hardware.
Basic
10 PRINT "Hello World!"
20 GOTO 10
First appeared
Popular uses
Features
1964
Teaching the
introductory concepts
of programming..
Many business
applications, still a
popular choice.
Loops, menu driven applications, system
commands, subroutines, built-in
functions, user-defined functions, arrays,
sorting and searches.
ALGOL 68
BEGIN
FILE F (KIND=REMOTE);
EBCDIC ARRAY E [0:11];
REPLACE E BY "HELLO WORLD!";
WHILE TRUE DO
BEGIN
WRITE (F, *, E);
END;
END.
First appeared
Popular uses
Features
1968
Mostly used for research
computer scientists,
publication of algorithms,
led to future language
development and it was the
first second generation
programming language
(ALGOL 60).
Dynamic arrays, reserved words, user
defined data types, second generation
but similar to first generation and
variables.
Pascal
program Hello;
begin
writeln ('Hello, world.')
end.
First appeared
1970
Popular uses
Features
Developed to teach
programming
however is no
longer very widely
used.
Very similar to machine code, loops,
constants, decision making, functions,
arrays, procedures and file handling.
Prolog
Hello:nl,
write('Hello world!' ).
}
First appeared
1972
Popular uses
Features
Commercial,
research
laboratories,
finance, defence and
telecommunication.
Intelligent systems, expert systems,
databases, logical and declarative and
natural language systems.
C
#include<stdio.h>
main()
{
printf("Hello World");
}
First appeared
1973
Popular uses
Features
System programming
such as in operating
systems and
embedded systems,
assemblers,
interpreters and
utilities.
Portability, low level features, high level
features, loops, functions, bit
manipulation operators, modular
programming and pointers.
Scheme
(define hello-world
(lambda ()
(begin
(write ‘Hello-World)
(newline)
(hello-world))))
First appeared
1975
Popular uses
Features
Used for graphic
applications.
Lexical scoping, 7 types of expressions
like procedure creation, arrays and it lets
users concentrate on what they want to
say rather than how to say it.
C++
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
First appeared
1983
Popular uses
Features
Driver
development,
games, advanced
engines, telecom
and embedded
software.
High kevel features like imperative,
object-orientated and generic
programming features along with low
level features for memory manipulation.
Perl
#!/usr/bin/env perl
use v5.10.0;
use warnings;
use strict;
say "Hello World!"
First appeared
1987
Popular uses
Features
Originally developed
for text manipulation,
now used for system
administration, web
development, network
programming and GUI
development.
Arrays, loops, subroutines, file input and
output, error handling and sending
emails.
COBOL
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. HELLOWORLD.
000300
000400*
000500 ENVIRONMENT DIVISION.
000600 CONFIGURATION SECTION.
000700 SOURCE-COMPUTER. RM-COBOL.
000800 OBJECT-COMPUTER. RM-COBOL.
000900
001000 DATA DIVISION.
001100 FILE SECTION.
001200
100000 PROCEDURE DIVISION.
100100
100200 MAIN-LOGIC SECTION.
100300 BEGIN.
100400 DISPLAY " " LINE 1 POSITION 1 ERASE
EOS.
100500 DISPLAY "Hello world!" LINE 15
POSITION 10.
100600 STOP RUN.
100700 MAIN-LOGIC-EXIT.
100800 EXIT.
First appeared
1989
Popular uses
Features
First programming
language to be used
by the Department
of Defence,
designed to solve
business problems.
File handling and organisation, loops,
conditional statements, subroutines and
database interface.
Haskell
module Main where
main = putStrLn "Hello, World"
First appeared
1990
Popular uses
Features
Mathematical and
scientific research
and commercial,
open source
software.
Lazy evaluation, pattern matching,
arrays, type classes, open source,
functional programming, statically types
and it infers what the programmer is
going to write.
Visual
Basic .NET
Module Hello
Sub Main()
MsgBox("Hello, World!") '
Display message on computer
screen.
End Sub
End Module
First appeared
1991
Popular uses
Features
For beginners to
learn or more
experienced
programmers to
write more
complex software.
Written in C++, object-orientated, arrays,
shows errors, simple to use, procedures,
variables, XML documents.
Python
X = input(“Hello or Bye? ”)
If x == “Hello”:
print (“Hello World!”)
Else:
print (“Goodbye World”)
First appeared
1991
Popular uses
Features
Web and internet
development,
scientific
applications,
education and
desktop GUIs.
Loops, arrays, interpreted, object
orientated, databases, GUI programming
and easily integrated with other
languages like C and Java.
Java
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
First appeared
1995
Popular uses
Features
Commercially,
android apps,
scientific
applications, Mine
craft and software
tools.
Object-orientated, portable, interpreted,
arrays, looping, compiled and array limit
checking.
PHP
<?php
Print "Hello, World!";
?>
First appeared
1995
Popular uses
Features
The server side of
web development
and to create
dynamic web
pages.
Different classes, reading XML
documents, pre defined variables and
error reporting.
JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<title>Some Page</title>
<script type="text/javascript">
alert("Hello World!");
</script>
</head>
<body>
<p>The content of the web
page.</p>
</body>
</html>
First appeared
1995
Popular uses
Features
HTML pages such as
Dynamic HTML,
makes the page
more user friendly
as it means they
don’t have to just fill
in forms.
Loops, switch statements, scoping,
automatic semicolon insertion, objectbased, functions, prototyping, arrays and
conditional catch clauses. A lot of
features were adopted from Python.
Ruby
puts 'Hello world‘
First appeared
1995
Popular uses
Features
Web based
development.
Object orientated, executes everything
imperatively, arrays, embedded code in
strings, default arguments, garbage
collection and interactive ruby shell.
C#
// Hello1.cs
public class Hello1
{
public static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
First appeared
2000
Popular uses
Features
Web applications,
windows app
development and
many applications
on windows 8.
Arrays, constructors and destructors,
indexers, string interpolation, compiled
and XML documentation.
Scratch
First appeared
2002
Popular uses
Features
Education of young
and beginner
programmers,
often used as a first
language.
Event driven, variables and lists, single
frame programming and simplified
casting rules.
© Copyright 2026 Paperzz