CS 150 - Intro to Programming - Fall 2001
Lecture 1

Some definitions:

computer: A programmable device that can store, retrieve and process data.
          A Computer is used to solve problems or complete a task.

computer program: A list of instructions to be performed by a computer

computer programming: The process of planning a sequence of steps for a computer to follow.

computer system: A computer with the software (programs) needed to use it.


Machine Language

010110 001111 (move base pay from memory to register)
010111 001101 (move overtime pay from memory to register)
110101 010000 (add registers)
100110 010001 (move result from register to memory)

Assembly Language

LOAD BASEPAY
ADD OVERPAY
STORE GROSSPAY

High Level Language

GrossPay = basePay + overTimePay