



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1.3 Two Recurring Themes (pp 5-7)
1. Notion of abstraction Operating at the highest level of abstraction allows us to be more efficient. However, we should understand components below the level of their abstractions, so that we know what’s going on when combining multiple components into a larger system (and can troubleshoot). 2. Hardware vs software Most computing problems yield better solutions when the problem solver takes into account capabilities/limitations of hardware/software. Good to know about both! 1.4 A Computer System (pp 7-11) Computer = system consisting of software and hardware. o Software directs and specifies the processing of information o Hardware performs the actual processing of information in response to what the software asks the hardware to do (additions, multiplications) o Hardware = central processing unit (CPU) = processor / microprocessor When people use the word computer, they usually mean a collection of parts – a computer system o Computer system = CPU/processor + keyboard + mouse + disks/USB + software … **1.5 Two Very Important Ideas (pp 11-12)
1.6 Computers as Universal Computational Devices (12-14) Calculating machines over the years… Computers are universal computational devices. Computers are also universal Turing machines. Turing machine = a mathematical model of a machine, developed by Alan Turing, that performs an operation (addition, subtraction) using a set of predetermined rules. Turing’s Thesis: every computation can be performed by some Turing machine. Informal proof: make a machine U that can simulate all Turing machines. This machine receives descriptions of Turing machines to simulate as well as input data, and subsequently computes the appropriate output. U, and, in effect, modern computers, can compute anything that can be computed, because they are programmable. Analog Machines produce an answer by measuring a physical quantity (distance, voltage) hard to increase accuracy Digital Machines produce an answer by manipulating a fixed finite set of digits/numbers easy to increase accuracy, just add more digits Digital Adding Machines Perform only one computation: adding integers Modern Computers Programmable, so perform myriad computations
A useful analogy… microprocessor hardware = car computer program = driver ISA = specification of (a) what the driver has to do to tell the automobile what he/she wants done (e.g. step on the brakes) and (b) correspondingly, what the automobile will interpret those actions to mean so it can carry out the specified tasks (e.g. feels pressure from human on pedal, must activate hardware to stop the car) Microarchitecture = what goes on underneath the hood. ISA vs microarchitecture: An ISA describes the interface to the computer from the perspective of the 0s and 1s of the program. For example, it describes the operations, data types, and addressing modes a programmer can use on that particular computer. It doesn’t specify the actual physical implementation. The microarchitecture does that. Using the car analogy, the ISA is what the driver sees, and the microarchitecture is what goes on under the hood.