Basic Computer Organization
Basic Computer Organization
● Hardware are physical components which can be seen and touched (tangible). Examples of
hardware include CPU, mouse, keyboard, monitor, motherboard, cables, CPU case, power supply
unit, RAM, graphics card, sound card etc.
● Various hardware components are interconnected together using a pathway called 'Bus', that
facilitates the transfer of data.
● Software is a set of instructions, its documentation and data, which are stored digitally on the
computer. Examples are Microsoft Windows, Linux, Paint, Word, PowerPoint, Photoshop, VLC
Media Player, VS Code, Python. The software is intangible, i.e cannot be touched.
● A computer system receives instructions from the user (usually a human) using Input Devices.
● The Operating System (OS) is a crucial piece of software that allows users to interact with the
computer hardware and other software easily.
● Computers process data through a series of instructions stored in their memory. The CPU fetches
these instructions, decodes them, and then executes them.
● Computers can talk to other computers through networking. The Internet is one such network.
Advantages of Computers
● Multi-tasking - can perform multiple tasks simultaneously
● Speed - computes data rapidly
● Productivity - automates and streamlines work process to increase productivity
● Accuracy - tasks are performed with high accuracy
● Connectivity - access to vast amount of data and global communication networks
● Education- enhances learning through stores resources
● Storage - can store large amounts of data for a long time
● Reliability - can perform its functions adequately in a controlled environment with high precision
Disadvantages of Computers
● High initial costs of purchase, maintenance
3
● Long use may lead to health issues
● Security Risks - vulnerable to hacking, loss and theft of information
● Environmental Impact due to high carbon emissions
● Software issues - problems may arise due to buggy software
4
Input Devices
● The hardware devices that send input data from the user to the CPU are known as Input Devices.
● They are responsible for capturing, and transferring data from the outside world into the computer
system.
● Some of the popular Input Devices are Keyboard, Mouse, Joystick, Scanner, Microphone,
Touchpad, Biometric Sensors, Graphic Tablet, Bar/QR Code Readers, Webcam, Magnetic Ink
Character Reader (MICR) and Optical Character Reader (OCR) devices etc.
Output Devices
1. The hardware devices that are responsible for displaying output from the computer are known
as Output Devices.
2. Some of the popular Output Devices are Display Monitor, Projector, Speaker, Printer, Plotter,
Headphones etc
5
7. Registers can be accessed in a single CPU instruction and thus are extremely fast storage.
8. Registers are limited in number and thus data has to be transferred from the main/cache memory to
the registers for processing of data.
Memory
1. The location where the computer stores data, instructions, and programs is called the Memory.
2. Computer memory is organized into memory cells, each of which stores a fixed amount of data,
typically represented in binary as 0s and 1s.
3. The Memory of a computer is divided into Primary, Cache and Secondary Memory.
Primary Memory
1. The primary memory is directly accessible by the CPU.
2. It is a high speed memory which can closely match the operational speed of the CPU.
6
3. Due to the high speed, the cost of primary memory is high and the storage capacity of primary
memory is lower in comparison to the secondary memory.
4. There are two kinds of primary memory, namely RAM and ROM.
Cache Memory
1. Cache memory is an intermediate memory between the CPU and the primary memory.
2. The need for cache memory arises from the difference in operational speed of the CPU and the
primary memory.
7
3. Often, the CPU is faster than the RAM/ main memory, and thus has to wait for the next instruction
to be loaded from the memory.
4. To reduce this waiting time, and increase the throughput of the CPU, a cache memory (buffer) is
placed between the CPU and primary memory.
5. The cache holds frequently used instructions and data and makes them readily available to the CPU.
Secondary Memory
1. Secondary memory is also known as permanent memory.
2. It is non-volatile in nature, i.e the data does not get lost even after power is turned off from the
computer.
3. Examples of Secondary memory are Hard Disk Drive, Solid State Drive, USB Flash Drive.
4. The CPU does not interact with the Secondary Memory directly.
Units of Memory
1. The smallest unit of memory is called a binary digit, or a bit.
2. The bit can assume only two values, 0 and 1.
3. A sequence of 4-bits is called a Nibble.
4. A Word is a fixed length sequence of bits which the processor can handle at a time.
3 Word Group of bits on which the CPU can work as a single unit. Can be
8 bits, 16 bits, 32 bits or 64 bits depending on CPU Architecture.
5 KiloByte(KB) 1 KB = 1024 B
6 MegaByte(MB) 1 MB = 1024 KB
7 GigaByte(GB) 1 GB = 1024 MB
8 TeraByte(TB) 1 TB = 1024 GB
9 PetaByte(PB) 1 PB = 1024 TB