Basic Structure of Computer
Basic Structure of Computer
- A computer is the electric device that accepts data from the user, processes it and produce outputs.
- Basic function of computer
- 1.Input-data put various input into computer device like keyboard, mouse, digital pens etc.
- 2.Processing-input data take operations based on instruction provide by the programs.
- 3.Output-the processed information are stored and communicated to the output through device like monitor, printer, etc.
- CPU is the main computer processing component.
- Current CPU is compose of two or more processor called core.
TWO categories of storage are
1.short term storage which is also called as volatile.
- RAM-Random Access Memory
- RAM is also referred as "working storage"
- CPU can only access data or code in RAM.
- It maintain data even when their is no power.
- examples: hard disk, USB flash drive.
- It is also used to store documents and files.
- Motherboard
- Motherboard is the main printed circuit board in the computer.
- It is backbone that ties computer's components together at one spot and allow them to talk to each other.
Computer Bus Fundamental
- Bus is a collection of wires carrying signals from one place to another.
1.Data Bus-it is carry data signals from main memory to CPU and input/output and vice versa
2.Address Bus-it is used to carry information about the location of data in memory.
- It used to carry the location to where it should be stored.
- Hard drive is primary long term storage
- Hard drive consist of magnetic disk called platter
- Hard drive stores documents and application that opens the documents.
- SSD is faster and short lifespan. Whereas hard drive is slower and longer lifespan
- It is more expensive. and hard drive is cheaper.
- It use flash memory.
Data is stored in Bits
- In one byte it contain 8 bits
- A bits can either be 0 or 1
- Primary memory is also known as main memory
- Cache memory contain in the primary memory.
- Cache memory is smaller and faster than main memory(primary memory)
- Processor is circuit that performs all of the calculations needed to run the computer.
Steps:
- Get instructions and increment the PC.
- Decode the instructions and read register from register file.
- perform ALU operation.
- Read or write the memory data if instruction involve memory operand.
- write the result into destination register.
Basic instruction types are
- load
- stored
- operate
- When instruction fetched, PC increases its stored value by 1.
- After that PC point to next instruction in sequence.
- When the computer restart, the PC reverts to 0.
Comments
Post a Comment