comp sci flashycardys Flashcards
purpose computer
The purpose of a computer is to take data, process it, then output it.
what does comp sys consist of
A computer system consists of hardware and software that work together to process data/complete tasks.
software is
Software is the programs or applications that a computer system
runs
hardware is
hardware are the physical components making up a computer
general purpose comp
designed to perform many tasks
dedicated sys
designed for one particular function
these are typically embedded systems
whats embedded sys
Embedded systems are computers built into other devices
usually dedicated systems
embd system often used as
Embedded systems are often used as control systems — they monitor and control machinery
in order to achieve a desired result.
pros embd sys
As they’re dedicated to a single task, embedded systems are usually easier to design,
cheaper to produce, and more efficient at doing their task than a general purpose computer.
power supply
Power supply — supplies power
to motherboard, optical and
hard drives, and other hardware.
case cooling fan
Case cooling fan — extracts
hot air from the computer case.
cpu heat sink and cooling fan
CPU heat sink and cooling fan —
keeps the CPU at a steady temperature
(CPUs generate a lot of heat).
cpu componenet
CPU (hidden under the
heat sink) — the most
important component.
Does all the processing
optical drive
Optical drive —
for read/writing of
optical discs
motherboard
Motherboard — The main circuit
board in the computer, where
the hardware is connected.
hard disk drive
Hard Disk Drive — Internal
secondary storage
cpu performance depend on
clock speed, number of cores and cache size
control unit job
The control unit is in overall control of the CPU. Its main job is to execute
program instructions by following the fetch-decode-execute cycle
also manages other components in processor
cu tasks
Ensures the execution of instructions in the correct sequence
Decodes every instruction that the processor will execute
Sends and receives control signals to and from other components
Checks that signals have been delivered successfully
Controls flow of data inside and outside CPU
what does cu also contain
The control unit also contains the clock. This is a tiny component that controls the rate at which instructions are executed in the processor
clock
The clock signal is used to synchronise the operations of the processor components.
what if clock fail
Then the operations of the processor components inside the processor would not be synchronised and it would not be able to process any data. The computer would not work.
alu job
The Arithmetic and Logic Unit (ALU) is the component of the CPU that carries out the following:
Arithmetic calculations
Logical operations: such as AND, OR, NOT
Comparisons between values, such as greater than, less than, equal to
what alu contain
accumulator
cache speeds comparison
faster than ram
slower than register
what cache store
It stores regularly used data so that the CPU can access it quickly the next time it’s needed.
When the CPU requests data, it checks the cache first to see if the data is there.
If not, it will fetch it from RAM.
cons cache
Caches have a very low capacity and are expensive compared to RAM and secondary storage.
levels of cahce
There are different levels of cache memory — L1, L2 and L3. L1 is quickest but has the lowest
capacity. L2 is slower than L1 but can hold more. L3 is slower than L2 but can hold more.