© Thomas Kunz 2000
SCE 574
112
   High Level Languages
äAssembly language programming
äToo time consuming and error prone
äTarget dependent, not portable
äHigh level languages
äTarget independent
äMore convenient way to express algorithms
äExamples: COBOL, FORTRAN
äBetter control mechanisms than assembler: loops, if-then-else  etc., array and matrix manipulation
äMore readable, people could write billions of lines of code!
äLimited support for data structures
äStructures or records
ä C, Pascal
äMore support for data structures, user defined types, but do not  fully enforce type checking
äExplicit support for pointers in both languages
äC  uses symbol * to indicate a variable holds a pointer
äint * variable
äPascal introduces a symbol ^ for pointers
ävariable : ^integer
ävariable is a pointer to another variable of type integer