Computer Programming Languages
Computer Programming Languages
PROGRAMMING
LANGUAGES
BY-SUMIT SRIVASTAVA
MACHINE CODE
• The only type of program a computer can run is a machine code
program.
• …which looks like this….
Low Level Languages
• Low-level languages were developed to make it
easier for programmers to write and edit programs.
• Each machine
code instruction is
given a mnemonic.
ASSEMBLER
• A Low level language is often called an Assembly
Language.
• A computer cannot run an Assembly Language program.
• An Assembler converts an Assembly Language program
into machine code …then the computer can run it.
ASSEMBLY LANGUAGE
• It takes many instructions to perform simple tasks.
• Assembled programs run fast – so needed for Eg. Games.
Brother(X,Y) := ? father(who,Bob)
parent(Z,X)
Parent(Z,Y)
Male(X) who = Tom
Object Oriented Programming
Languages (OOPs)
– Objects have Properties and Methods.
– Properties can be set initially or at run-time.
– Methods are the things the object can do.
• International Standards.
• Difficult to create because of different hardware and software
manufacturers.
• An unambiguous syntax.
• There should never be two
different ways for a computer
to interpret an instruction.