2

Click here to load reader

Describe professional programing languages and talks

  • Upload
    ed-bray

  • View
    84

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Describe professional programing languages and talks

UNIT32 AO2

Describe professional programing languages and talks

Computer consists of Hardware and Software

Hardware: Electronic chips and components, processors, graphics card, motherboard, hard drives, fans, disk drive, data ports, circuit boards, memory.

Software:software consists of sequences of instructions called programs that can be understood by hardware

A Computer program is a sequence of instructions

Generation of programing language

Hardware

1st Generation

2nd Generation

3rd Generation

4th Generation

LowLevel

Abstraction

HighLevel

Abstraction

Machine code

Assembly code

Problem oriented languages (imperative language). C= systems solutions/software. PHP= Server side scripting, Basic

Declarative programing language - C+T, Java - Declare variables and then processes them when needed.

Abstract Source code

Fast processingSlow to precess

object codeLiteral

4th Gen

3rd Gen

2nd Gen

1st Gen

Page 2: Describe professional programing languages and talks

Language Translators = translate program written in source code into excitable instructions understood by the computer in its own object code.

Assembler = translate an assembly language into machine code.

Compiler = translates an entire program with in a high level source code into object code in one go (+) no translation required at run time - runs faster.(-) long programs may require a long time to complete before then can run.

Interpreter = analyses and translates individual lines of code at run time.(+) possible to test section of code during development(-) slower to process at run time