70 likes | 99 Views
Abstraction. Abstraction. Generalizing Removing detail. Abstraction. Procedural abstraction naming a procedure Data abstraction standardizing a way to represent data Model abstraction using some parameters and not others. Procedural Abstraction.
E N D
Abstraction • Generalizing • Removing detail
Abstraction • Procedural abstraction naming a procedure • Data abstraction standardizing a way to represent data • Model abstraction using some parameters and not others
Procedural Abstraction • Give a name to a procedure that can be used over and over again
The Ladder of Abstraction application software 010101010010101011111011010001010101011111111110 forthing inroom: pick_up(thing) high-level language COBOL C low-level language int register c; Grace Hopper en.wikipedia.org/wiki/File:Intel_80486DX2_bottom.jpg bytes and bits + + http://en.wikipedia.org/wiki/File:Transistorer.jpg - - voltage and current - - + - - http://theloveforhistory.wordpress.com/2011/05/24/einstein physics
CPU Follows a Sequence of Instructions • CPU is the Central Processing Unit: one “core” • Programs are turned into instructions understood by the CPU en.wikipedia.org/wiki/File:E6750bs8.jpg
Typing Code That Makes Sense Closer to Human Language Thankfully, Grace Hopper invented the compiler, a computer program that lets programmers work with more human-readable language. A compilertranslates a more human-friendly code into a sequence of assembly language code before the code runs. Grace Hopper called her new language COBOL. She received a B.S. in mathematics from Vassar College and a Master’s and Ph.D. from Harvard. She programmed the Mark I, II, and III computers and was a Rear Admiral in the U.S. Navy. Grace Hopper 1906-1992