COMP10001 Lecture Notes - Lecture 2: Guido Van Rossum, Central Processing Unit, Machine Code
Lecture 1: subject outline
Lecture 2
- Computer definition: big grid/matrix of cells (memory locations); can add, multiply and
compare cells really fast (instructions); can run a “program” (list of instructions =
machine code); at the most basic level, computers use binary (one or zero)
-
- Computer takes in input (from keyboard, microphone, sensors, somewhere outside
computer) → does something to it → produces output (another stream of data)
-
- Computer we’re interested in: capable of solving mathematical and general problems;
second form of input (program: list of instructions we provide to computer to tell it what
we want to do to the input data to transform it into output data); opens up a lot more
flexibility and power
-
- CPU: central processing unit
- Memory: intermediate place where computer can store bits of data while it’s working on
them in between taking it from input and sending it to output [processing]; could be hard
disk, USB stick, RAM
- Computer: big grid or matrix of cells (memory locations); can tell computer to put things
into or get things out of memory
find more resources at oneclass.com
find more resources at oneclass.com