title: What is a Computer
date:2023-09-11author:- AllenYGY
status: DONE
tags:- NOTE
- CO
- Lec1
created: 2023-11-03T00:59updated: 2024-06-14T17:12publish:True
What is a Computer
Definition:
electronic, digital, general purpose computing machine that automatically follows a step-by-step list of instructions for solving a problem.
This step-by-step list of instructions that a computer follows is also called a computer program.
Computer Part: case, motherboard, CPU, RAM, power supply, hard drive, graphic cards.
Turing Machine
In 1936, British mathematician Alan Turing developed a hypothetical device, the Turing machine, which is the abstract model of all computers
A Turing machine consists of
a tape divided into cells
a moving read/write head
a state register storing the state of the Turing machine
a finite table of instruction specifying what the machine does when reading the content of the current cell:
move right/left; erase/write a symbol; change the state
All things that can be computed can be computed by a Turing machine
Universal Turing Machine
Turing described a Turing machine that could simulate all other Turing machines.
inputs: data + a description of computation (Turing machine)