Presentation is loading. Please wait.

Presentation is loading. Please wait.

Computer Programming Languages HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII.

Similar presentations


Presentation on theme: "Computer Programming Languages HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII."— Presentation transcript:

1

2 Computer Programming Languages

3 HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII

4 PROGRAMMING LANGUAGES Low Level Vs High Level

5 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

6 HIGH LEVEL LANAGUAGES EXAMPLES â C / C++ â Pascal âBASIC âJava âCOBOL â HTML â Scheme â Ada â Fortran â Visual BASIC

7 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

8 Translating High-Level to Machine Language Interpreter Vs. Compiler

9 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 LinkLink

10


Download ppt "Computer Programming Languages HOW COMPUTERS WORK èCIRCUITS èBINARY DIGIT èBIT (0 OR 1) èBYTE - 8 BITS èASCII."

Similar presentations


Ads by Google