Lecture 1
5
Computers and programs
•Computer: a machine that can simulate many different machines
–word processor    traffic light controller
–internet shopping site    bank ATM      … 
•Program: the instructions that tell a computer how to act like some particular machine
•Example: Bank simulation
–user interface (how the program behaves)
–object model (the program’s architecture)
–Java implementation (the program itself)
•