Basic Structure of Computers
Computer system consists of three main components:
- Input: If a user types of some letters on the keyboard, the computer creates a code representing those letters to the computer.
- Processing: The CPU determines what letter was typed by checking the code created by the computer.
- Output: The CPU sends instructions to the graphic cards to display the letters typed, which is showed on the monitor.
Input Components:
- Examples:
- Keyboards
- Microphones
- Webcams
- Scanners
- and etc.
- Storage devices such as Hard disks and CDs/DVDs.
Processing Components:
- CPU (Central Processing Unit)
- CPU is the computers main processing component.
- Executes instructions from the computer's programs.
- Modern computers are composed of two or more cores and are commonly called multicores.
- Greater the number of cores, better the overall performance.
Output components:
- Examples:
- Monitors
- Printers
- Speakers
- and etc.
Storage Components:
- The more storage computer has, the better the performance.
- Most storage components are both input and output components.
- There are two main types of storage again:
- Short term storage
- Long term storage.
RAM (Random Access Memory)
- This falls under the short-term storage(volatile)
- When power to computer is gone, all of its contents are gone.
- Also called working storage
- If there is not enough RAM to run a program, the computer uses disk drive to supplement (virtual memory).
Virtual Memory
- Part of disk drive can be set as virtual memory.
- Less used data are stored in virtual memory.
- CPU can only access code from RAM.
- Data needed by CPU are moved to RAM.
Long Term Storage
- Contents still remains even when power is gone (Non-volatile).
- Some examples can be hard disks, CDs and flash drives.
- Stores documents and multimedia files.
Four major PC components:
- Motherboards
- RAM
- Hard drive
- BIOS/CMOS
Bus Fundamentals
- Bus: A collection of wire carrying signals (data, address and control) from one part of a PC to another.
- All data that goes in and out of a computer has to go through the motherboard.
Data Bus
- Used to carry signals from RAM to CPU and vice versa or from RAM to BIOS devices.
Address Bus
- Used to carry address signals, examples like memory locations.
Control Signals
- Used to carry control signals, example read or write, from CPU to memory or interfaces.
Differences between Address bus and Data bus
- The data bus carries the data to be stored while the address bus carries the location to where it is to be stored.
I/O Polling and Interrupt
- Polling and Interrupt let CPU stop whatever it is doing and respond it to a more important task.
- The main difference between the two is polling keeps on checking the I/O devices at regular intervals to see whether it needs CPU service or not whereas in interrupt, the I/O devices stops the task and tell the CPU that it needs CPU service.
Hard Drive Fundamentals
- Long term storage
- Consists of magnetic disk called "platters" and stores data in the form of magnetic pulses.
- Stores the OS our computer loads when it boots.
Solid State Drive
- SSDs are used in place of hard drives.
- Uses flash memory instead of platters and will have faster access time.
- More expensive than hard drive.
RAM Fundamentals
- Short term storage
- No moving parts so accessing data there is much faster as compared to hard drives.
- The more RAM a PC has, the faster it will be.
Fundamentals of Network Communication
- A computer network consists of two or more computers connected by some kind of transmission medium.
- Attaching a computer to a network requires a network interface card (NIC)
- Unique identifier assigned to NIC.
Comments
Post a Comment