Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programming in the Context of a Typical Computer Computer Studies Created by Rex Woollard.

Similar presentations


Presentation on theme: "Programming in the Context of a Typical Computer Computer Studies Created by Rex Woollard."— Presentation transcript:

1 Programming in the Context of a Typical Computer Computer Studies Created by Rex Woollard

2 CPU Essential Architecture MotherboardCPU Arithmetic Logic Unit –Registers (static) Control Unit L1 Cache RAM (static) L2 Cache RAM (static) Address Bus Data Bus RAM Dynamic RAM Devices connected to motherboard Disk Drive KeyboardMonitor Network Connections L2 Cache L1 Cache Control Unit static RAM Disk drive Keyboard Monitor Arithmetic Logic static registers data bus address bus RAM dynamic RAM Network Billions of bytes Millions of bytes

3 CPU Essential Architecture Multiply two numbers Identify RAM location on address bus (Value: 20) Read value on data bus into ALU register Identify RAM location on address bus (Value: 365) Read value on data bus into ALU register Perform multiplication (Result: 7300) Identify RAM location on address bus Write value to data bus going to RAM L2 Cache L1 Cache Control Unit static RAM Disk drive Keyboard Monitor Arithmetic Logics 203657300 static registers data bus address bus RAM 207300365 dynamic RAM Network

4 Building – Executing a Java Program Source code English-like Ordinary text Editable as text Convert to bytecode Compile Execute through Java VM (virtual machine)


Download ppt "Programming in the Context of a Typical Computer Computer Studies Created by Rex Woollard."

Similar presentations


Ads by Google