export_week 6 programming tools Flashcards
,
Generations of programming languages
First generation
programmed directly in binary using wires or switches
,
Generations of programming languages
Second generation:
assembly language. Human readable, converted directly
to machine code
,
Third generation:?
: high-level languages, while loops, if-then-else, structured.
Most programming today, including object-oriented
,
Fourth generation:
1990s natural languages, non-procedural, report
generation. Use programs to generate other programs. Limited use today.
,
Key idea:
Regardless of the language of writing, computers only process
machine code
,
All non-machine code goes through a translation phase into machine code.
– Code generators
– Compilers
– Assemblers
,
Language translation process
– High level languages use comparison constructs, loops, variables, etc.
– Machine code is binary, directly executed by CPU
,
– Convert high level language to if/goto.
https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/image5am5qx-14A6291A5844FDC48ED.png
,
Language translation process
– Convert high level language
to if/goto
https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_264-14A62922EE1562CD2AA.png
,
Language translation process
– Convert if/goto to assembly
(LMC here).
https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_265-14A6292DDD74C832AB4.png
,
Convert if/goto to assembly
LMC here
https://s3.amazonaws.com/classconnection/655/flashcards/7082655/png/selection_266-14A6293600A1D36199D.png
,
you need to check and practice the code in chapter 6 and her virtual 6
yay xx
,
did you know 1
– High level languages are convenient to read and write for human
,
did you know 2
Computers execute only binary machine code.
,
fun info
– Compilers translate high level languages to machine code.
– Assemblers translate assembly language into machine code