|
CMPS 002 - Computer Literacy Prof. Paulo Franca |
|
CyberSlug Rules! ClassesClass Syllabus Labs
Interact
HelpLinks
|
Consider the example program in machine language:
Compute the average of three scores entered by the user and display the result. Machine language vs Assembly Language
FORTRAN:
The compiler will figure out memory locations for the variables MID1,MID2, FINAL and AVERAGE Then translate to machine language generating an executable (or object) program Javascript There is no compilation, program is translated during execution. |