1 / 7

Abstraction

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.

dheller
Télécharger la présentation

Abstraction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Abstraction

  2. Abstraction • Generalizing • Removing detail

  3. Abstraction • Procedural abstraction naming a procedure • Data abstraction standardizing a way to represent data • Model abstraction using some parameters and not others

  4. Procedural Abstraction • Give a name to a procedure that can be used over and over again

  5. 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

  6. 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

  7. 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

More Related