Chapter 11: Hardware Flashcards
Explain the fetch-decode-execute cycle?
Firstly, the program instructions are copied from a storage device such as a hard disk drive or DVD to the random access memory.
FETCH
The instructions and data are moved from the RAM to the CPU
DECODE AND EXECUTE
The control unit interprets the instructions and decides what action to perform based on the opcode. During the execute phase, these instructions are carried out
What is the difference between hardware and software?
Hardware are all the physical components making up the software. Software are the programs that a computer system needs to function.
What is an embedded system?
A specialised computer system built within a larger device.
What is the CPU?
The Central Processing Unit processes data. The way the CPU executes the program instructions is called ‘von Neumann architecture’. This was when he built a new computer that stored the program and data in the memory.
Why do computers have RAM?
It can take a long time for computers to fetch data and program instructions from the hard drive. So they are stored in the RAM (a temporary store of data) so that the CPU can retrieve the information quickly.
What is RAM and how does it speed up memory retrieval?
It is called Random Access Memory because each memory location can be accessed in any order. This speeds up data retrieval as the CPU can go to any location instead of having to start at the first location (serial access).
RAM is said to be volatile because if there is no electrical power then the RAM will lose all of its data.
What are the 2 types of RAM and what are there advantages/ disadvantages?
Dynamic Ram (DRAM) and Static Ram (SRAM). DRAM is slower than SRAM but it is cheaper.
What is ROM and BIOS?
Read Only Memory is an integrated circuit on a chip. The data can be read but cannot be changed (data is not turned lost when power is removed). The BIOS is stored in ROM. The BIOS controls what happens to the computer when it is first switched on. It checks the hardware to ensure there are no errors and then loads basic software. Then it locates and passes control to the operating system.
What are buses?
A collection of wires that carry signals or communications between components in a computer system. The control bus connects the control unit to the CPU and devices in the computer system. The CU uses it to send instructions to the components. Then the components use it to send the information back to the CPU.
What are registers?
Storage locations inside the CPU. They can be accessed more quickly than RAM.
What are some examples of registers?
The accumulator (A/ACC) The program counter (PC) The memory address register (MAR) The instruction register (IR) The memory data register (MDR) The memory buffer register (MBR)
What is the ALU?
The arithmetic and logic unit performs arithmetic and logical operations. Such as : addition and subtraction, multiplication and division, logical tests using logic gates, comparisons, such as whether one number is greater than another.
What is the control unit and what are it’s two main components?
The CU coordinates the actions of the computer by sending out electrical control signals to the CPU.
Clock and decoder
What is the clock?
A vibrating quartz crystal sends pulses to components in order to coordinate their activities. One instruction can be carried out with each pulse of the clock, therefore, the higher the clock speed, the faster the CPU can carry out program instructions.
What is the decoder?
Decodes program instructions that have been brought by the memory and decides what actions should be taken. It then sends control signals to the other components to carry them out.