Study Guide CECS 341Different types of languages:Assembly language: language used by compilersMachine language: language used by the computerHigh level languages: language used by programmersLevels of LanguagesHigh-level language1.Portable/convenientAssembly language1.Textual representation of instructionsHardware representation1.Encoded instructions/data2.All 1’s and 0’s (bits)Instruction Set Architecture1.Assembly/machine codeMicroarchitecture1.ISA implementationResponse time an throughtputResponse time1.How long it takes to do a taskThroughput1.Total work done per unit timeElapsed time1.Total response time, including all aspectsPerformancePerformance = 1/Execution Time“X is n time faster than Y”Example: time taken to run a program10s on A, 15s on BExecution TimeB / Execution TimeA= 15s / 10s = 1.5So A is 1.5 times faster than BCPU timeCPU time = CPU clock cycles * clock cycle time= CPU clock cycles/ Clock rateClock CyclesClock cycles = Instruction count * cycles per instructions