Course Instructor: Dr. Afshan Jamil Lecture # 1: Chapter # 1: Computer Abstractions and Technology
Course Instructor: Dr. Afshan Jamil Lecture # 1: Chapter # 1: Computer Abstractions and Technology
Contents
• Understanding performance
• Eight great ideas
• Below your program
• Level of program code
• Five classic components of computer
• Technology trends
The Computer Revolution
• Personal computers
– Target individual users.
– General purpose, variety of software.
– Subject to cost/performance tradeoff.
• Server computers
– Network based.
– High capacity, performance, reliability.
– Range from small servers to building sized.
Classes of Computers
• Supercomputers
– High-end scientific and engineering calculations.
– Highest capability but represent a small fraction of
the overall computer market.
• Embedded computers
– Largest class of computers.
– Hidden as components of systems.
– Stringent power/performance/cost constraints.
Post PC Era
Post PC Era
• Algorithm
– Determines number of operations executed.
• Programming language, compiler, architecture
– Determine number of machine instructions executed
per operation.
• Processor and memory system
– Determine how fast instructions are executed.
• I/O system (including OS)
– Determines how fast I/O operations are executed.
Eight Great Ideas
• Application software
– Written in high-level language
• System software
– Compiler:
• translates HLL code to machine code
– Operating System:
• service code
• Handling input/output
• Managing memory and storage
• Scheduling tasks & sharing resources
• Hardware
– Processor, memory, I/O controllers
Levels of Program Code
CONTD..
• High-level language
– Level of abstraction closer to problem domain.
– Provides for productivity and portability.
• Assembly language
– Textual representation of instructions.
• Hardware representation.
– Binary digits (bits) Encoded instructions and
data
Five Classic Components of a Computer
Input
Output
Processor
Control
Memory
1001010010110000
0010100101010001
1111011101100110
1001010010110000
Datapath 1001010010110000
1001010010110000
Looking through the glass
• Post PC device
• Supersedes keyboard and mouse
• Resistive and Capacitive types
– Most tablets, smart phones use capacitive
– Capacitive allows multiple touches
simultaneously
Opening the box
Inside the processor