computer programming languages how computers work ècircuits èbinary digit èbit (0 or 1) èbyte -...
TRANSCRIPT
Computer Programming
Languages
HOW COMPUTERS WORK
CIRCUITSBINARY DIGITBIT (0 OR 1)BYTE - 8 BITSASCII
PROGRAMMING LANGUAGES
Low Level Vs High Level
LOW LEVEL LANGUAGES
Machine Languagethe only language your computer understandseach instruction consists of ones and zeros
Assembly Languageuses letters and numbers to represent machine
language
HIGH LEVEL LANAGUAGES
EXAMPLES C / C++ PascalBASICJavaCOBOL
HTMLSchemeAdaFortranVisual BASIC
Which is Better? High or Low
High-Level -Requires less
Programming -Portable (Easier
to Move) -More easily Read
Low-Level -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