MIS 304 Lecture Notes - Lecture 1: Peanut Butter, Odometer, List Of Utility Software
Document Summary
A computer only does what we tell it to do. Peanut butter and jelly sandwich example to understand whether programmer or user comes first. Problem: calculate miles per gallon for previous tank of gas. Calculation -> mpg = (end miles - beginning miles (odometer)) / gallons used (receipt) Calculate total miles = end miles - beginning miles. Instruct computer to perform a task - code. Machine language: set of built-in primitive instructions as binary code. Assembly language: developed to make programming easier, uses mnemonics to represent instructions (ex. High-level language: platform independent, english-like and easy to learn and use. All but machine language must be translated into cpu instructions prior to execution (compilers and interpreters) Translates high-level language program into separate machine language program. Machine language can be executed at any time. Translates and executes instruction in high-level language program. Primary purpose: manage hardware resources and provide support services to users and application programs.