19
First appeared Features Popular uses Assembl y 1949 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. .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 Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

Embed Size (px)

DESCRIPTION

First appeared Features Popular uses ALGOL 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. BEGIN FILE F (KIND=REMOTE); EBCDIC ARRAY E [0:11]; REPLACE E BY "HELLO WORLD!"; WHILE TRUE DO BEGIN WRITE (F, *, E); END; END.

Citation preview

Page 1: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Assembly

1949For 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.

.MODEL TINY

.CODECODE SEGMENT BYTE PUBLIC 'CODE'

ASSUME CS:CODE,DS:CODEORG 0100HMOV AH,9INT 21HRETDB 'HELLO WORLD$'

CODE ENDS

Page 2: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Basic

Loops, menu driven applications, system commands, subroutines, built-in

functions, user-defined functions, arrays, sorting and searches.

Teaching the introductory concepts

of programming..Many business

applications, still a popular choice.

1964

10 PRINT "Hello World!"20 GOTO 10

Page 3: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

ALGOL 68

1968Mostly 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.

BEGINFILE F (KIND=REMOTE);EBCDIC ARRAY E [0:11];REPLACE E BY "HELLO WORLD!";WHILE TRUE DO BEGIN WRITE (F, *, E); END;END.

Page 4: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Pascal

1970Developed 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.

program Hello;begin writeln ('Hello, world.')end.

Page 5: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Prolog

1972Commercial, research laboratories, finance,

defence and telecommunication.

Intelligent systems, expert systems, databases, logical and declarative and

natural language systems.

Hello:-nl,write('Hello world!' ).

}

Page 6: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

C

1973System 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.

#include<stdio.h>main() {

printf("Hello World");}

Page 7: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Scheme

1975Used 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.

(define hello-world (lambda () (begin (write ‘Hello-World) (newline) (hello-

world))))

Page 8: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

C++

1983Driver 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.

#include <iostream>

int main(){ std::cout << "Hello World!";}

Page 9: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Perl

1987Originally 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.

#!/usr/bin/env perl

use v5.10.0; use warnings; use strict;

say "Hello World!"

Page 10: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

COBOL

1989First 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.

000100 IDENTIFICATION DIVISION.000200 PROGRAM-ID. HELLOWORLD.000300000400*000500 ENVIRONMENT DIVISION.000600 CONFIGURATION SECTION.000700 SOURCE-COMPUTER. RM-COBOL.000800 OBJECT-COMPUTER. RM-COBOL.000900001000 DATA DIVISION.001100 FILE SECTION.001200100000 PROCEDURE DIVISION.100100100200 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.

Page 11: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Haskell

1990Mathematical 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.

module Main wheremain = putStrLn "Hello, World"

Page 12: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Visual Basic .NET

1991For 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.

Module Hello Sub Main() MsgBox("Hello, World!") ' Display message on computer screen. End Sub End Module

Page 13: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Python

1991Web 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.

X = input(“Hello or Bye? ”)If x == “Hello”:

print (“Hello World!”)Else:

print (“Goodbye World”)

Page 14: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Java

1995Commercially, android apps,

scientific applications, Mine craft and software

tools.

Object-orientated, portable, interpreted, arrays, looping, compiled and array limit

checking.

public class HelloWorld { public static void main(String[] args) {

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

}

Page 15: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

PHP

1995The server side of web development

and to create dynamic web

pages.

Different classes, reading XML documents, pre defined variables and

error reporting.

<?php Print "Hello, World!"; ?>

Page 16: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

JavaScript

1995HTML 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, object-

based, functions, prototyping, arrays and conditional catch clauses. A lot of

features were adopted from Python.

<!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>

Page 17: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Ruby

1995Web based

development.Object orientated, executes everything imperatively, arrays, embedded code in

strings, default arguments, garbage collection and interactive ruby shell.

puts 'Hello world‘

Page 18: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

C#

2000Web applications,

windows app development and many applications

on windows 8.

Arrays, constructors and destructors, indexers, string interpolation, compiled

and XML documentation.

// Hello1.cs public class Hello1 {

public static void Main() { System.Console.WriteLine("Hello, World!"); }

}

Page 19: First appeared Features Popular uses Assembly 1949 For code that must directly interact with the hardware (drivers), embedded processors, processor specific

First appeared FeaturesPopular uses

Scratch

2002Education of young

and beginner programmers,

often used as a first language.

Event driven, variables and lists, single frame programming and simplified

casting rules.