Download Computer Language ppt

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Structured programming wikipedia , lookup

Program optimization wikipedia , lookup

Abstraction (computer science) wikipedia , lookup

Programming language wikipedia , lookup

Name mangling wikipedia , lookup

ILLIAC IV wikipedia , lookup

One-pass compiler wikipedia , lookup

Go (programming language) wikipedia , lookup

Assembly language wikipedia , lookup

Cross compiler wikipedia , lookup

C Sharp (programming language) wikipedia , lookup

Compiler wikipedia , lookup

Interpreter (computing) wikipedia , lookup

Transcript
Computer
Programming
Languages
HOW COMPUTERS WORK
CIRCUITS
BINARY DIGIT
BIT (0 OR 1)
BYTE - 8 BITS
ASCII
PROGRAMMING
LANGUAGES
Low Level Vs High Level
LOW LEVEL LANGUAGES
 Machine Language
the only language your computer understands
each instruction consists of ones and zeros
Assembly Language
uses letters and numbers to represent machine
language
HIGH LEVEL LANAGUAGES
EXAMPLES
 C / C++
 Pascal
BASIC
Java
COBOL
HTML
Scheme
Ada
Fortran
Visual BASIC
Which is Better? High or Low
High-Level
Low-Level
-Requires less
Programming
-Portable (Easier
to Move)
-More easily
Read
-Better Use of
Hardware
-Requires less
Memory
-Runs more
Quickly
Translating High-Level to
Machine Language
Interpreter Vs. Compiler
An Interpreter
translates a computer
language one
instruction at a time.
To run a program
written in an
interpreted language,
you must first load the
interpreter into the
computers memory.
Then you load the
program to be
interpreted.
A compiler makes the
translation once, then
saves the machine
language so that the
instructions do not
have to be translated
each time the program
is run. Source code is
translated using the
compiler to object
code then a linker
produces executable
code.
ASCII Codes Link