A451: Topic 2 - Hardware Flashcards
What is the purpose of the CPU?
- The purpose of the CPU is to…
- Fetch and Execute instructions stored in memory.
- Decodes and executes instructions.
- Performs calculations.
- Manages the movement of data etc, to and from peripheral devises.
Define the Fetch stage of the Fetch Execute cycle?
-Fetch/ CPU first fetches some data and instructions from main memory then store them in its own temporary internal memory areas or registers. The data and instructions travel down paths called ‘address bus’ and ‘data bus’
What is the clock speed?
- This is the number of cycles that the CPU can complete in one second (measured in Hertz or Hz).
- The faster the clock speed the faster the CPU 1MHz CPU can process 1 million instructions be second while 1GHz CPU can process 1000 million instructions in the same time.
What is the Cache size?
-This is the holding area for data from the RAM. It ensures the CPU is always busy with data. The large the cache size means more data can be held and it’s less likely that any cycles are wasted.
What does the number of cores mean?
-This is the number of processing cores the CPU has. A dual-core has two and is able to process two instructions simultaneously in the same cycle. A dual-core processor or quad-core processor is 2 to 4 times faster than a conventional chip as they can process simultaneous instructions.
What in the difference between RAM and ROM?
-ROM is memory that cannot be changed by a program or user. ROM retains its memory even after the computer is turned off. For example, ROM stores the instructions for the computer to start up when it is turned on again. RAM is a fast temporary type of memory in which programs, applications and data are stored, because they are being used by the CPU. RAM is also volatile storage while ROM is not.
What is ROM?
-ROM is memory that cannot be changed by a program or user. ROM retains its memory even after the computer is turned off. For example, ROM stores the instructions for the computer to start up when it is turned on again.
What is RAM?
-RAM is a fast temporary type of memory in which programs, applications and data are stored. Here are some examples of what’s stored in RAM, the operating system, applications, and the graphical user interface. If a computer loses power, all data stored in its RAM is lost.
What is RAM normally measured in?
-Gb.
What is ROM normally measured in?
-Kb.
How does the amount of RAM effect the speed of the computer?
-The more RAM available the more programs, applications and data the computer can store, that is at easy access to the CPU. This makes the computer faster and there is less need for virtual memory.
Why do we need ROM?
-ROM is memory that cannot be changed by a program or user. ROM retains its memory even after the computer is turned off. For example, ROM stores the instructions for the computer to start up when it is turned on again.
What is the purpose of RAM?
-RAM is a fast temporary type of memory in which programs, applications and data are stored. Here are some examples of what’s stored in RAM the operating system, applications, The GUI. If a computer loses power, all data stored in its RAM is lost.
What is virtual memory?
-Because of the size of the Ram it is not always possible to store all the running programs in the RAM at once and the computer will start running low of memory and begin to slow down. Virtual memory then comes in and stores the data that the RAM isn’t actively using on the hard drive to free up the RAM. When the CPU needs the data is is taken out of virtual memory on the hard drive and is put back on to the RAM.
what is cache memory?
-This is the holding area for data from the RAM. It ensures the CPU is always busy with data. A larger cache size means more data can be held and it’s less likely that any cycles are wasted.
What is Flash memory?
-Flash Memory is often referred to as solid-state storage, which means that there are no moving parts. It’s similar to RAM but is non-volatile which means when the power is cut off, it still remembers the content). Flash memory is used in USB memory sticks and memory cards for digital cameras and some games consoles.
Why is data represented as binary in computers?
-Computers use binary as it’s a lot simpler. Each CPU is made up of millions of transistors which can only have two states (ON/OFF). Anything can be converted into a binary number so a computer can understand, process and store it.
Why do we need input and output devices?
- This is so that we can enter information into computers.
- In order to process data we must be able to capture it and convert it into digital representation.
Why do we need secondary storage?
-Secondary storage is needed for when we want to store files permanently or semi-permanently. We might want to transfer files between computers by using portable secondary storage media.
What are the three most common storage techniques?
- Optical - codes data using microscopic dips on the surface of the disk.
- Magnetic - Codes data using small changes in magnetic fields
- Solid state - Uses non-volatile memory chips to store bis of data, expensive but very fast.
Arrange in order the terms of storage?
- Bit, nibble(4 bits), Byte(8 bits), Kilobyte (1,024bytes), Megabyte (1,024kilobytes), etc.. gigabytes and terabytes.
NOT gate truth table?
-Input/Output
0/1
1/0
AND gate truth table?
-Input/Input/Output 0/0/0 0/1/0 1/0/0 1/1/1
OR gate truth table?
-Input/Input/Output 0/0/0 0/1/1 1/0/1 1/1/1
How is a touch screen used to input information?
-Responds to figures / stylus on specified icons, for example a software keyboard converts handwriting to text.
How is a camera used to input information?
-Used to capture users images, used to capture user’s movement e.g. as input.
State to tasks that are carried out by the CPU?
- Fetches instructions from memory.
- decodes instructions.
Explain how the clock speed of the CPU affects its performance?
- The higher the clock speed the faster the CPU will run.
- Represents the number of fetch execute cycles/ instructions the CPU can process in a given time.
Explain how the cache size of a CPU affects its performance?
- The more the cache the CPU has the less time is spent accessing memory/ programs run faster..
- Cache is faster than memory/ built into CPU/ contains frequently accessed data.
What are the three main parts of the CPU?
- Control unit.
- Immediate access store.
- Arithmetic and logic Unit.
What are the three main jobs of the control unit?
- To control and monitor the hardware attached to the system, to make sure instructions are sent correctly.
- It controls the input and output of data so that the signals are going to the right place at the right time.
- It controls the flow of data within the CPU.