Computers Flashcards
(80 cards)
What is a
computer?
a machine that takes some kind of input from its surroundings and then processes it to produce an output
What are
hardware?
the physical components of a computer system
What is
software?
the set of programs running on the hardware which direct the computer to perform specific operations
What is the
stored program concept?
a proposed design for a new computer architecture where both program instructions and data are stored together in a computer’s main memory
this was by von Neumann
this is based on the premise that program instructions are only stored in a computer’s memory for as long as they are needed
What does the
von Neumann architecture consist of?
main memory and a central processing unit interconnected by buses
What does
main memory consist of?
a collection of storage locations, each with their own memory address
What does it mean to be
volatile?
the content is lost when the power is turned off
What does the
CPU consist of?
(3)
- control unit (CU)
- arithmetic logic unit (ALU)
- registers
What does the
control unit do?
(2)
- decodes instructions received from main memory
- coordinates the actions of the other parts of the CPU in order to execute them
What does the
arithmetic logic unit do?
performs arithmetic and logic operations on data
What do
registers do?
and what are some examples? (2)
provide fast, temporary storage for instructions, intermediate results and data
instruction register -> holds the instruction currently being executed
accumulator -> holds the results of calculations performed by the ALU
What are the
three types of bus?
- address bus
- data bus
- control bus
What does the
address bus do?
carries the address of the memory location that the CPU will read from or write to
(this is unidirectional)
What does the
data bus do?
holds the value being read from or written to memory
(this is bidirectional)
What does the
control bus do?
carries the command signals from the control unit to other components so that they know whether to read or write data, and the status signals back to the CPU
(this is bidirectional)
What is the
bus width?
the number of connections on a bus
a greater bus width means that a larger number of values can be communicated
What does the
clock do?
sends out electronic signals at regular intervals to all the other hardware components in order to synchronise their actions
What does
clock speed affect?
the faster the clock, the more instructions the CPU can execute per second
What is
pipelining?
the process of modern CPUs that execute programs more quickly by overlapping the stages of the fetch-execute cycle
What are the differences between
main memory and secondary storage?
(4)
secondary storage:
- non-volatile
- slower
- cheaper
- higher capacity
What are the
three common physical ways of recording binary data?
- magnetic storage (hard drives)
- optical storage (CDs and DVDs)
- solid-state storage - aka ‘flash’ memory (USB memory sticks and SD cards)
What is inside a
hard disk drive?
(magnetic secondary storage)
A stack of disks called platters made from a hard material (e.g. glass or ceramic).
The surface of each platter has a thin magnetic coating and is divided into billions of tiny areas.
How is data stored in a
hard disk drive?
(magnetic storage)
Data is stored on the surface of a platter as a series of bits. An area that is magnetised represents a 1.
(and vice versa)
How is data read/written onto a
hard disk drive?
(magnetic storage) (3 steps)
- Each platter has two magnetic read-write heads.
- These move in and out above the surface as the platter rotates at a high speed. (The arm positions the heads over the correct area of the platter to read or write data.)
- To write data to the disk, the heads alter the magnetic state of the surface. To read data, they detect the magnetic state.