LM - Ic - Unit2 2
LM - Ic - Unit2 2
LM - Ic - Unit2 2
Hardware:
It is a physical device of computer system which can be touched, seen, moved, dragged. The
hardware can be upgraded further as per the requirement of the user. Input output devices
certain parts of CPU are hardware (monitor, keyboard, printer, ram, motherboard, speaker,
network cards etc). Hardware is onetime expense thing which does not require to spend money
until the hardware device stop working.
Software:
System Software
It is designed for handling the operation and extending the processing capability of the
computer system. It makes computer system operation more effective and efficient.
Application Software
It is a set of programs which are designed to some specific task or some special job. It can
further classify in the two types: general purpose application software and special purpose
application software. General purpose application software can be used for very common
need like word processing, spread sheets etc. Special purpose application software is
specially designed for solving special problems or for performing specific task with use of
some particular language of computers. Eg. Billing System, Hotel Management System.
User:
We as a user can operate on the computer system through some software by the means of
application software through system software on the computer hardware.
So as per the architecture shown above it works in hierarchy. User cannot use computer
hardware directly without the system software and application software.
Control bus
Address bus
Data bus
1. Control Bus
The control bus carries the control signal.
The control signal is used for controlling and coordinating the various activities across
the computer.
It is generated from the control unit within the CPU.
Different architectures result in a differing number of lines of wires within the control
bus, as each line is used to perform a specific task.
2. Address Bus
The address bus carries a memory address within the device.
It allows the CPU to reference memory locations within the device.
It connects the CPU and other peripherals and carries only memory addresses.
In a computer system, each peripheral or memory location is identified by a numerical
value, called an address and the address bus is used to carry this numerical value as
well as it also contains a few control lines to carry control commands.
The address bus is unidirectional, bits flow in one direction, from the processor to a
peripheral or a memory location.
The address bus contains the connections between the processor and memory that
carry the signals relating to the addresses which the CPU is processing at the time,
such as the locations that the CPU is reading from or writing to.
The processor uses the address bus to perform, identifying a peripheral or a memory
location.
If the address bus could carry 8 bits at a time, the CPU could address only (i.e. 2^8)
256 bytes of RAM. Most of the early PCs had 20-bit address buses, so CPU could
address 2^20 bytes (1 MB) of data.
Today with 32-bit address busses CPU can address 4 GB (over billion bytes) of RAM.
Wider the bus path, more information can be processed at a time, and hence it also
affects the processing speed of a computer.
3. Data Bus
Data bus transfers data from one location to another across the computer.
The meaningful data which is to be sent or retrieved from a device is placed on these
lines.
The CPU uses a data bus to transfer data. It may be a 16-bit or 32-bit data bus.
It is an electrical path that connects the CPU, memory, and other hardware devices on
the motherboard.
These lines are bidirectional, data flow in both directions between the processor and
memory and peripheral devices.
The number of wires in the bus affects the speed at which data can travel between
hardware components just as the number of lanes on a highway affects the time it
takes people to reach their destination.
Each wire can transfer 1 bit of data at a time, an 8 wire bus can move 8-bit at a time,
which is 1-byte data at a time.
A 16-bit bus can transfer 2 bytes. 32-bit can transfer 4 bytes etc.
Intel 80286 microprocessor used 16 bits of the data bus. Intel 80386 used a 32-bit data
bus.
As the data bus width grows larger, more data can be transferred.
Cache Memory
- Cache Memory is a faster memory used by the central processing unit (CPU).
- It is a memory that helps to reduce the access time for files or data that is recently
used by the main memory.
- It is smaller in size, high-speed memory, and located near a processor core that stores
the copies of the information or instruction frequently used by the main memory
locations.
Virtual Memory
- Virtual Memory is used in the computer memory to increase the storage capacity of
the main memory.
- It is a logical storage unit of a computer that creates an illusion to execute a large
program that may not be completely placed in the main memory.
- Furthermore, it allows the user to load or store the data program or files larger than
the size of the main memory.
2.3.1. Motherboard
The motherboard serves as a single platform to connect all of the parts of a computer together.
It connects the CPU, memory, hard drives, optical drives, video card, sound card, and other
ports and expansion cards directly or via cables. It can be considered as the backbone of a
computer.
Features of Motherboard
A motherboard comes with following features −
Motherboard varies greatly in supporting various types of components.
Motherboard supports a single type of CPU and few types of memories.
Video cards, hard disks, sound cards have to be compatible with the
motherboard to function properly.
Motherboards, cases, and power supplies must be compatible to work properly
together.
Intel
ASUS
AOpen
ABIT
Biostar
Gigabyte
MSI
Description of Motherboard
- The motherboard is mounted inside the case and is securely attached via small screws
through pre-drilled holes.
- Motherboard contains ports to connect all of the internal components.
- It provides a single socket for CPU, whereas for memory, normally one or more slots
are available.
- Motherboards provide ports to attach the floppy drive, hard drive, and optical drives
via ribbon cables.
- Motherboard carries fans and a special port designed for power supply.
- There is a peripheral card slot in front of the motherboard using which video cards,
sound cards, and other expansion cards can be connected to the motherboard.
- On the left side, motherboards carry a number of ports to connect the monitor, printer,
mouse, keyboard, speaker, and network cables.
- Motherboards also provide USB ports, which allow compatible devices to be connected
in plug-in/plug-out fashion. For example, pen drive, digital cameras, etc.
2.3.2. Types of Processor (CPU and GPU)
Central Processing Unit (CPU): CPU is known as brain for every ingrained system.
CPU comprises the arithmetic logic unit (ALU) accustomed quickly to store the information
and perform calculations and Control Unit (CU) for performing instruction sequencing as
well as branching.
CPU interacts with more computer components such as memory, input and output for
performing instruction.
The basic difference between CPU and GPU is that CPU emphasis on low latency. Whereas,
GPU emphasis on high throughput.
SDRAM stands for Synchronous Dynamic Random Access Memory. SDRAM operates
more efficiently as it works according to the synchronization of the clock. This makes it easy
to manage faster, and the speed of the SDRAM measured in MHz instead of
nanoseconds. SDRAM introduced in 1969-70. It most widely used in computers. Nowadays
it is also used in other systems.
Advantages of SDRAM
ROM stands for Read-only Memory. It is a type of memory that does not lose its contents
when the power is turned off. For this reason, ROM is also called non-volatile memory.
Because ROMs are deployed in such a wide variety of applications, there are different types
of ROMs suited to different applications across the industry.
ROM is the kind of memory, data stored in which persists, i.e. it does not disappear after a
user logs out of the system or if the system restarts. This is possible because of non-volatile
nature of ROM.
Read Only Memory (ROM) is a memory unit that performs the read operation only, it does
not have a write capability.
This implies that the binary information stored in a ROM is made permanent during the
hardware production of the unit and cannot be altered by writing different words into it.
Whereas RAM is a general-purpose device whose contents can be altered during the
computational process.
A ROM is restricted to reading words that are permanently stored within the unit.
An m x n ROM is an array of binary cells organized into m words of n bits each. The block
diagram of ROM is shown below figure:
• It is cost-effective.
• It can reprogram.
• An EPROM is convenient for testing and debugging.
• Here, no external memory is required.
• An EPROM memory can retain the data even without the power.
Disadvantages of EPROM
• An EPROM memory chip is to store computer BIOS which used a bootstrap loader.
• Some micro-controllers make use of an EPROM memory chip for the storage of the data.
• An EPROM can also found in the making of the video game.
• EPROM mostly used on our personal computers.
There are two main types of memory are available from the family of EEPROM memory
devices.
Serial EEPROM Memory
The operation of serial EEPROM memory is complicated,and data transferred serially. So,
this makes them slow as compared to the parallel EEPROM. Also, serial EEPROMs are less
dense and are much cheaper.
A serial EEPROM protocol is made up of three phases:
• OP-Code phase
• Address Phase
• Data Phase
Parallel EEPROM memory
The operation performed by parallel EEPROM memory is much faster as compared to the
serial EEPROM memory.
Parallel EEPROM memory is much denser and reliable than the serial EEPROM memory.
Also, parallel EEPROM memory is compatible with the EPROM and flash memory devices.
Parallel EEPROMs are more substantial, and due to its cost, there is the very low popularity
of parallel EEPROMs.
Advantages of EEPROM Memory
• There is a requirement of different-2 voltages for erasing, reading and writing the data onto
the EEPROM memory.
• EEPROM has limited retention time.
• It is expensive as compared to the PROM and EPROM.
• The serial EEPROM memory requires more time for execution.
EPROM EEPROM
• EPROM stands for Erasable Programmable Read- • EEPROM stands for Electrically Erasable Programmable
Only Memory. Read-Only memory.
Imagine a small, round, flat disc that's like a special kind of plate for your computer or music
player. This disc is called a Compact Disc, or CD for short.
A CD can hold all sorts of information, like music, pictures, videos, and even computer
programs. It's like a magical plate that your computer can read.
Here's how it works: Imagine you drew a picture on the CD using tiny bumps. These bumps
are like a secret code that your computer can understand.
If the bumps are arranged in a certain way, the computer knows it's music and plays the songs
for you.
If they're a different kind of pattern, it might show you pictures or play videos. It's like reading
a special language that only computers and CD players understand.
So, a CD is like a special round disc that holds different kinds of information using tiny bumps,
and your devices can read those bumps to show you pictures, play music, or do other cool
things!
Advantages of CDs:
- Portability: CDs are small and lightweight, making them easy to carry around and
share with others. You can take your favorite music, photos, or videos wherever you
go.
- Standard Compatibility: CDs are widely compatible with a variety of devices,
including CD players, computers, laptops, and some car stereos. Many older systems
still support CD playback.
- Longevity: When properly stored and handled, CDs can have a long lifespan and can
hold their data for many years. This makes them suitable for archiving important files.
- High-Quality Audio: Audio CDs provide a relatively high-quality sound, especially
when compared to compressed digital formats
- Offline Use: CDs don't require an internet connection to access the content stored on
them. This can be advantageous for situations where internet access is limited.
Disadvantages of CDs:
- Limited Capacity: CDs have a fixed storage capacity, which can be relatively small
compared to modern storage options like hard drives or USB drives. This limits the
amount of content that can be stored on a single disc.
- Sensitive to Scratches: CDs are sensitive to scratches and physical damage. A
scratch on the disc's surface can lead to read errors or even complete data loss.
- Readability Issues: CD players or drives that are dirty, dusty, or worn out might
struggle to read CDs properly, causing skips or pauses during playback.
- Inconvenience: Swapping CDs to access different content can be less convenient
compared to digital formats where you can easily switch between songs or files.
3. DVD:
DVD is short for digital versatile disc or digital video disc. It is a type of optical media used
for storing optical data. Although it has the same size as a CD, its storage capacity is much
more than a CD. So, it is widely used for storing and viewing movies and to distribute software
programs as they are too large to fit on a CD. DVD was co-developed by Sony, Panasonic,
Philips, and Toshiba in 1995.
DVDs can be divided into three main categories which are as follows:
o DVD-ROM (Read-Only): These types of DVDs come with media already recorded on
them, such as movie dvds. As the name suggests, data on these discs cannot be erased or
added, so these discs are known as a read-only or non-writable DVD.
o DVD-R (Writable): It allows you to record or write information to the DVD. However,
you can write information only once as it becomes a read-only DVD once it is full.
o DVD-RW (Rewritable or Erasable): This type of discs can be erased, written, or
recorded multiple times.
Short Questions:
Long Question: