1 / 10

Levels of Abstraction

Levels of Abstraction. Computer Organization. Level of Abstraction. Provides users with concepts/tools to solve problem at that level Implementation hides complex details different implementations using different underlying “machines” are possible. Level of Abstraction -- Example.

livana
Download Presentation

Levels of 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. Levels of Abstraction Computer Organization

  2. Level of Abstraction • Provides users with concepts/tools to solve problem at that level • Implementation hides complex details • different implementations using different underlying “machines” are possible

  3. Level of Abstraction -- Example • Abstract Data Types • stack, queue, priority queue • Use for building higher level programs • solution search (e.g. maze, TSP) • depth-first, breadth first, branch and bound • Implementation • built on base language: C++, Pascal, Ada, etc. • Can be used to build high level abstraction • generic solution search • event driven simulation language

  4. Virtual Machine 3 Implementation of VM 3 on VM 2 Virtual Machine 2 Implementation of VM 2 on VM 1 Virtual Machine 1 Implementation of VM 1 on VM 0 Virtual Machine 0 Levels of Abstraction

  5. Simulation of Bank Data Structures Data Structures example translation Event Scheduling Simulation Language translation translation Base Language, e.g. C++

  6. High Level Language (HLL) 4 3 2 Compiler (translation) Assembly Language Assembler (translation/mapping to ISA) Operating System (OS) Partial Interpretation (device drivers, etc) Instruction Set Architecture (ISA) 1 0 -1 Hardware Digital Logic Hardware Electronics -- transistors, etc Hardware/Software Interface simple RISC

  7. Assembler 3 2 1 Assembler (translation/mapping to ISA) OS Partial Interpretation (device drivers, etc) ISA Firmware interpreter 1A Microarchitecture Hardware Digital Logic 0 -1 Hardware Electronics -- transistors, etc Hardware/Software Interface more complex architectures

  8. Java (HLL) Java Compiler Java Byte Code (ISA) Interpreter and JIT compiler Java Virtual Machine (JVM) OS Machine ISA Java

  9. Java Byte Code = ISA Java -- Java Chips Java (HLL) Java Compiler Interpreter and JIT compiler JVM (Microarchitecture) Digital Logic

  10. COSC 420 High Level Language (HLL) Compiler (translation) COSC 425 Assembly Language Assembler (translation/mapping to ISA) 1 COSC 301 Operating System (OS) Partial Interpretation (device drivers, etc) Instruction Set Architecture (ISA) 3 Hardware Digital Logic 2 Hardware Electronics -- transistors, etc This Course

More Related