Gxest203 M1
Gxest203 M1
Module 1
There are three components required for the implementation of a computerized input-process-
output model:
1. The computer hardware, which provides the physical mechanisms to input and
output data, to manipulate and process data, and to electronically control the various
input, output, and storage components.
2. The software, both application and system, which provides instructions that tell
the hardware exactly what tasks are to be performed and in what order.
3. The data that is being manipulated and processed. This data may be numeric, it
may be alphanumeric, it may be graphic, or it may take some other form, but in all cases
it must be representable in a form that the computer can manipulate.
• The hardware and system software components make up the architecture of the
computer system. The communication component connects individual computer
systems together.
• The most visible part of the computer system is obviously the hardware that makes up
the system.
• Eg: Consider the computer system upon which you write and execute your programs.
You use a keyboard and mouse to provide input of your program text and data, as
well as for commands to the computer.
• A display screen is commonly used to observe output. These are all physical
components.
• Calculations and other operations in your program are performed by a central
processing unit (CPU) inside the computer.
• Memory is provided to hold your programs and data while processing is taking place.
• Other input and output devices, such as a disk and SD plug-in cards,
are used to provide long-term storage of your program and data files.
• Data and programs are transferred between the various input/output devices and
memory for the CPU to use.
• The CPU, memory, and all the input, output, and storage devices form the hardware
part of a computer system.
• A typical hardware block diagram for a computer is seen in Figure.
Primary Memory
• It is also known as the main memory of the computer system. It is
used to store data and programs or instructions during computer
operations. It uses semiconductor technology and hence is commonly
called semiconductor memory. Primary memory is of two types:
• RAM (Random Access Memory)
• ROM (Read Only Memory)
• S RAM (Static RAM): S RAM uses transistors and the circuits of this memory are
capable of retaining their state as long as the power is applied.
• This memory consists of the number of flip flops with each flip flop storing 1 bit. It
has less access time and hence, it is faster.
• D RAM (Dynamic RAM): D RAM uses capacitors and transistors and stores the data
as a charge on the capacitors.
• They contain thousands of memory cells. It needs refreshing of charge on capacitor
after a few milliseconds. This memory is slower than S RAM.
ROM(Read-Only Memory)
• Unlike RAM, Read-only memory (ROM) permanently stores its data, even when the
computer is shut off.
• ROM is called nonvolatile memory because it never loses its contents.
• Whenever the computer's power is turned on, it checks ROM for directions that help it
start up, and for information about its hardware devices.
• ROM is used to store information that is used to operate the system. As its name refers
to read-only memory, we can only read the programs and data that is stored on it.
• The information stored in the ROM in binary format. It is also known as permanent
memory. ROM is of four types:
• PROM (Programmable Read Only Memory): This read-only memory is
modifiable once by the user. The user purchases a blank PROM and uses a PROM
program to put the required contents into the PROM. Its content can’t be erased once
written.
• EPROM (Erasable Programmable Read Only Memory): EPROM is an extension
to PROM where you can erase the content of ROM by exposing it to Ultraviolet rays
for nearly 40 minutes.
• EEPROM (Electrically Erasable Programmable Read Only Memory): Here the
written contents can be erased electrically. You can delete and reprogramme
EEPROM up to 10,000 times.
• Erasing and programming take very little time, i.e., nearly 4 -10 ms(milliseconds).
Any area in an EEPROM can be wiped and programmed selectively.
• MROM (Masked ROM): Hard-wired devices with a pre-programmed collection of
data or instructions were the first ROMs. Masked ROMs are a type of low-cost ROM
that works in this way.
The memory devices used for primary memory The secondary memory devices are
are semiconductor memories. magnetic and optical memories.
It can hold data/information currently being It can hold data/information that are
used by the processing unit. not currently being used by the processing
unit.
The capacity of primary memory is usually within It stores a considerable amount of data and
the range of 16 to 32 GB. information. The capacity of secondary
memory ranges from 200 GB to some
terabytes.
Computer storage is often conceptualized hierarchically, based upon the speed with which data
can be accessed.
• The table in Figure shows this hierarchy, together with some typical access times.
• At the top of the hierarchy are the CPU registers used to hold data for the short term
while processing is taking place.
• Access to registers is essentially instantaneous, since the registers are actually a part
of the CPU.
• Cache memory, if present, is the fastest memory outside the CPU.
• The CPU will always attempt to access current instructions and data in cache memory
before it looks at conventional memory.
• There may be as many as three different levels of cache L1,L2,L3.
• The CPU accesses the data or instruction in conventional memory if cache memory is
not present.
• Next in the hierarchy is conventional memory. Both conventional and cache memory
are referred to as primary memory. Both provide immediate access to program
instructions and data by the CPU and can be used for the execution of programs.
• Below the level of conventional memory, storage in the hierarchy is not immediately
available to the CPU, is referred to as secondary storage, and is treated as I/O.
• Data and programs in secondary storage must be copied to primary memory for CPU
access.
• Except for flash memory, access to secondary storage is significantly slower than
primary storage.
• Disks and other secondary storage devices are mechanical in nature, and mechanical
devices are of necessity slower than devices that are purely electronic.
• The location of the desired data is usually not immediately accessible, and the medium
must be physically moved to provide access to the correct location.
• This requires a seek time, the time needed to find the desired location.
• Once the correct data is located, it must be moved into primary memory for use.
• One important advantage of secondary storage, is its permanence, or lack of
volatility.
• Flash memory uses a special type of transistor that can hold data indefinitely without
power.
• The magnetic media used for disk and tape and the optical media used for DVD and
CD disks also retain data indefinitely.
• Secondary storage has the additional advantage that it may be used to store massive
amounts of data.
• The additional advantage that secondary storage may be used for offline archiving,
for moving data easily from machine to machine, and for offline backup storage.
• For example a removable hard disk can be used to move large amounts of data
between computers.
• Optical disks require little space and can store large amounts of data for archiving and
installation purposes, with rapid mounting for retrieval when required.
• Of the various secondary storage components, flash memory and disk devices are the
fastest, since data can be accessed randomly.
Virtual Memory
• Virtual memory is a memory management technique that uses secondary memory to
extend the amount of physical memory available on a computer.
• It's a common feature of modern computers' operating systems (OS).
• It allows a computer to compensate for physical memory limitations by temporarily
transferring data from RAM to disk storage.
How it works
• Virtual memory uses hardware and software to move data between the computer's RAM
and storage devices like hard drives or solid-state drives (SSDs).
• This allows the computer to run programs that require more memory than is physically
available.
• Virtual memory can also help with multitasking and improving system performance.
Benefits
• Virtual memory can help programs share memory, which can improve security.
• It can also help optimize CPU usage.
Drawbacks
• Virtual memory can be slower than RAM, which can cause the computer to slow down.
This is called thrashing.
• Virtual memory can take up storage space that could be used for other purposes
Motherboard
• A computer is an electronic device that processes the data with respect to the user’s
requirements using IO devices.
• The data processing takes place in a processor, an important component.
• The processor is situated in a hardware circuit board called the motherboard or printed
circuit board (PCB).
• It distributes electricity and facilitates communication between and to the central
processing unit (CPU), random access memory (RAM), and any other component of the
computer’s hardware.
• A computer motherboard may be found inside a computer casing, which is the point of
connection for most of the computer’s elements and peripherals.
TYPES OF MOTHERBOARD
BTX motherboard
• Balanced technology extended, abbreviated as BTX, is a strategy developed to fulfill the
requirements of emerging technologies, which call for increased power consumption and,
as a result, emanate more heat.
CPU
• The central processing unit (CPU) is commonly referred to as the computer’s brain. The
CPU controls all the functions of a computer.
• CPUs are available in different form factors, each requiring a particular slot on the
motherboard.
• A CPU can contain one or multiple cores. A CPU with a single core can only perform a
single task at a time, while those with multiple cores can execute multiple tasks
simultaneously.
RAM memory
• RAM slots connect the random access memory (RAM) to the motherboard. RAM allows
the computer to temporarily store files and programs that are being accessed by the CPU.
• Computers with more RAM capacity can hold and process larger files and programs, thus
enhancing performance.
• A computer usually has two RAM slots. However, some computers have up to four RAM
slots in the motherboard to increase the available memory.
Chipsets
• The chipsets of a computer control how the computer hardware and buses interact with the
CPU and other components.
• Chipsets also determine the amount of memory users can add to a motherboard and the
type of
connectors that the motherboard can have.
• The first type of chipset is the northbridge chipset. The northbridge manages the speed at
which the CPU communicates with the components.
• It also controls the processor, the AGP video slot, and the RAM.
• The second type of chipset is the southbridge chipset. The southbridge chipset controls the
rest of the components connected to the computer, including communication between the
processor and expansion ports such as USB ports and sound cards.
Cooling fans
• The heat generated when electric current flows between components can make a computer
run slowly.
• If too much heat is left to build up unchecked, it could damage computer components.
Thus, a
computer performs better when kept cool.
• Cooling fans increase the airflow, which helps to remove heat from the computer. Some
elements, such as video adapter cards, have dedicated cooling fans.
Adapter cards and expansion slots
• Adapter cards are integrated into the motherboard to enhance a computer’s functionality.
Examples include sound and video adapters.
• The expansion slots allow users to install compatible adapter cards.
• Examples of expansion slots include the peripheral component interconnect (PCI) slot, the
AGP slot (which enables the insertion of video cards), the PCI Express serial bus slot, and
the PCI- extended slot.
CMOS battery
• The CMOS battery is a small round battery found on the motherboard of every computer.
• It provides power to the complementary metal oxide semiconductor (CMOS) chip. The
CMOS
chip stores BIOS information and computer settings, even when powered down.
• The CMOS battery allows users to skip resetting BIOS configurations, such as boot order,
date, and time settings, each time they power on their computer.
Storage devices
• Storage drives store data permanently or retrieve data from a media disk. The storage
devices can either be installed in the computer as hard drives or in removable drives that
can connect to the computer through the USB ports.
• Hard disk drives(HDD) or solid-state drives (SSD) are computers’ primary storage drives.
Computers with SSDs execute tasks much faster and perform better than HDDs.
• Users can also use optical drives such as compact discs to store information.
• The power supply connector has 20 pins and converts 110-V AC power into +/-12-Volt, +/-
5-Volt, and 3.3-Volt direct current (DC) power.
Northbridge
• It is an integrated circuit within the chipset on the motherboard that is responsible for
providing a connection between AGP, CPU interface, and memory.
• Unlike southbridge, it is directly connected to the CPU interface, AGP, and memory. The
primary task of northbridge is to provide communication between CPU and external
devices via buses.
Southbridge
• It is an integrated circuit on the motherboard that is designed for a single function and
manufactured as a single unit. It is important for I/O controller, hard drive controller, and
integrated hardware.
Jumpers
• It is a tiny metal connector that allows the computer to close an electrical circuit, by which
electricity can flow to the certain areas of the circuit board.
• It is an alternative for a dual in-line package switch, and it contains two or more
connecting points that control the electrical circuit board.
PCI slot
• It allows users to add internal components to a desktop computer.
• In 1992, it was designed and introduced by Intel.
• It stands for Peripheral Component Interface that is used to connect the addition of PCI
devices
such as modems, sound cards, video cards, and network hardware cards.
Input Devices
Keyboard
• The keyboard is the most basic and very commonly used input device which helps to input
data to the computer.
• The layout of the buttons in a normally used keyboard is similar to the traditional
typewriter, but there are a few additional keys provided by different manufacturers for
performing additional functions.
• Normally available keyboards in the market were of two sizes 84 keys and 101/102 keys,
but now keyboards with 104 keys or 108 keys are also possible for Windows and Internet.
Light Pen
• Just like a pen, a light pen is a digital pointing device. This device is used to select
an item displayed in the menu or to draw anything on the display.
• It contains a photocell and an optical sensor placed in a small tube at the tip.
• When the light pen tip is traveled on the display, its photocell sensing element
calculates the screen location and sends the digital signal to the CPU.
Track Ball
• The trackball is another type of input device similar to the mouse.
• It is most helpful with a notebook or laptop computer, instead of a mouse.
• It consists of a ball on the top which is half inserted and connected to the sensors. By
moving fingers on the ball, the cursor can be moved.
• Because the whole device is not moved to move the cursor, a trackball requires less
space as compared to the mouse. This device comes in different shapes like a ball, a
square, or a button.
Scanner
• A scanner is another input device, which works very much like a photocopy
machine.
• It can be used when some information on paper is to be transferred to the hard disk
of the computer in digital format for further manipulation.
• The scanner captures high-resolution images from the source which are then
converted into a digital format that can be saved on the disk and shared digitally.
• These digital images can be edited before they are printed.
Digitizer
• A digitizer is also an input device that is used to convert analog information into
digital form.
• Using a digitizer, the signal from the television or camera can be transformed into a
series of numbers that could be saved in a computer hard drive.
• They can be helpful with the computer to create a picture of whatever the camera has
been pointed at.
• Digitizer is also called Tablet or Graphics Tablet because it transforms graphics and
pictorial data into binary inputs to the system.
Microphone
• A microphone or mic is a very common input device used to input sound that is then
stored in a digital form.
• Nowadays microphones are used in almost every industry and devices related to
sound recording or transmission.
• The microphone is used for different applications like adding
sound to a multimedia presentation or for mixing music, voice
calling and recording, video conferencing, and more.
Webcam
• A Webcam is a camera that is combined with a computer. Unlike a digital camera,
they cannot function independently and should be connected to the computer/laptop
for operation.
• It functions as an input device that can take pictures and is mostly used for video
streaming and video conferencing or chatting.
Output Devices
Output Devices
• A piece of hardware/equipment that presents the result of the entered input, once it is
processed, is called an output device.
• Several output devices display output in various ways such as images, text, hard
copies, and audio/video.
Monitors
• Monitors or Visual Display Unit (VDU), are the primary output devices of a
computer system.
• It generates images from tiny dots, termed pixels that are arranged in a well-defined
rectangular form.
• The depth and sharpness of the image depend upon the number and size of the
pixels.
Printers
Projector
• A projector is an optical output device that can take images produced by a computer
and project or present them onto a screen or surface called a projector.
• Projectors are most commonly used in offices, classrooms, auditoriums, theatres to
watch
presentations, videos, or pictures generated from a computer or laptop.
• In the older version of projectors, images were created by shining the light through a
small transparent lens on the projector; however, the new version of projectors uses
laser technology for the same.
Speakers
• Computer speakers are the most popular output devices used with a computer to
listen to sound.
• These speakers receive audio as input either in analog or digital form and generate
sound as an output.
• With the advancement of technology, speakers are now available with wireless and
Blue Tooth facilities as well.
Headphones
• The headphones or earphones or headsets are hardware output tools
that are either plugged into the computer or can be wireless.
• They offer the same function as a speaker, the only difference is the frequency of
sound.
• With speakers, the sound can be detected over a larger distance while utilizing
headphones, the sound is only audible to the individual using them.
Plotters
• A plotter is a computer output device that is primarily used
to produce high-quality drawings, designs, and graphics.
• It is different from other printers as it uses one or more pens or markers to draw
continuous lines on paper or other suitable materials, rather than using dots or pixels
to create images
The largest number of sectors will be in the zone containing the outermost cylinders,
Instead of adjusting the motor speed, the disk controller buffers the data rate so that
the data rate to the I/O interface is constant, despite the variable data rate between the
controller and the disk.
• Different vendors call this technique multiple zone recording, zone bit recording
(ZBR), or zone-CAV recording (Z-CAV).
• The platter on a hard disk drive is made of a rigid material and is precisely mounted.
• A typical hard disk rotates at 5400 revolutions per minute (rpm), 7200 rpm, or even
10,800 rpm.
• The disk surface is divided into concentric circles (tracks) and sectors (wedges).
Dividing the surface in this way provides physical addresses to remember where
data is saved.
• The point to be noted here is that the outer tracks are bigger than the inner tracks but
they contain the same number of sectors and have equal storage capacity.
• Typical HDD capacities are measured in Terabytes (TB).
• The read-write (R-W) head moves over the rotating hard disk.
• It is this Read-Write head that performs all the read and write operations on the disk
and hence, the position of the R-W head is a major concern.
1. Seek time – The time taken by the R-W head to reach the desired track from its
current position.
2. Rotational latency – Time is taken by the sector to come under the R-W head.
3. Data transfer time – Time is taken to transfer the required amount of data. It
depends upon the rotational speed.
4. Controller time – The processing time taken by the controller.
5. Average Access time – seek time + Average Rotational latency + data transfer time +
controller time.
• If the hard drive in the example contains 30 sectors per track, the transfer time for a
single block would be
Features of SSD
• Start-up Time: SSDs do not use any mechanical component hence it takes almost
negligible startup time.
• Random Access Times: Accessing data directly from the Flash memory creates a
lag-free
experience for its users.
• Data transfer rates: Higher Data Transfer rates of about 100-600 Mb/sec.
• Noise: As they have no mechanical part they create zero noise.
• Reliability: SSDs are reliable as there are no moving parts that can wear over time.
• Security features: SSDs offer advanced security features like hardware encryption
and secure erase functions to protect data from unauthorized access.
Disadvantages of SSD
• Cost: SSDs are more expensive than regular hard drives.
• Limited Lifespan: Each memory cell in an SSD has a limited number of write
cycles before it degrades.
• Storage choices: Because of the expense, SSDs are often sold in smaller sizes.
Long term HDDs are more reliable for long- SSDs are comparatively less reliable for long-
storage term storage. term storage due to data leaks that can occur if
kept unpowered for more than a year.
Access The data accessing speed is slower The data accessing speed is much higher as
speed as compared to SSD. compared to HDD.
Performance The performance suffers because of The performance does not suffer because of
fragmentation. fragmentation.
Suitable for HDDs are suitable for SSDs are suitable for
• Extensive storage • Fast data retrieval
• Long-term storage • Laptop or desktop because of low power
consumption and size.
Optical drives
• An optical disc is an electronic data storage medium that is also referred to as an
optical disk, optical storage, optical media, Optical disc drive, disc drive, which
reads and writes data by using optical storage techniques and technology.
• An optical disc, which may be used as a portable and secondary storage device, was
first developed in the late 1960s. James T. Russell invented the first optical disc,
which could store data as micron- sized light and dark dots.
• An optical disc can store more data and has a longer lifespan than the preceding
generation of magnetic storage medium.
• To read and write to CDs and DVDs, computers use a CD writer or DVD writer
drive, and to read and write to Blu-ray discs, they require a Blu-ray drive.
• The CDs, Blu-ray, and DVDs are the most common types of optical media, which
are usually used to:
1. They are used to transfer data to various devices or computers.
2. These media are used to deliver the software to others.
3. They help users to hold large amounts of data, like videos, photos, music, and
more.
4. Also, optical media are used to get back up from a local machine.
CD-ROM
• CD-ROM, short for compact disk read-only memory, was the first disk on the basis
of drives for the latest PCs.
• To reduce noise and increase stability, most CD-ROM drives in computers run at a
slower speed, and if the drive experiences read errors, it will only speed up for larger
data files.
• The newest CD-ROM drives have the potential to achieve read speeds of 60
revolutions in a second (60x).
• CD-ROM data storage is similar to magnetic disk: data is stored in blocks on the
disk. The blocks can be arranged in files, with a directory structure similar to that of
magnetic disks.
• Rather than concentric tracks, data on a CD-ROM is stored on a single track,
approximately three miles long.
• A CD-ROM typically stores 270,000 blocks of data. Each block is 2352 bytes long
and holds 2048 bytes of data.
• Due to the difficulty of the manufacturing process, errors can occur, so the CD-ROM
provides extensive means for correcting the errors.
• Blocks on a CD-ROM are identified by a 4-byte identification code that was
inherited from the audio origins of the medium. Three bytes, stored in binary-coded
decimal (BCD) format, identify the block by minute, second, and sector.
• The fourth byte identifies a mode of operation. Mode 1, the normal data mode, with
error correction. Mode 2 increases the capacity by eliminating the error correction.
Other modes are provided for special audio and video features.
DVD-ROM
• DVD-ROM drives, which stand for Digital Versatile Disk Read Only Memory and
are a direct evolution from CD-ROM drives, have significantly more performance
and capacity than their CD counterparts while maintaining the same physical
dimensions.
• DVD technology is essentially similar to CD-ROM technology. The disk is the same
size, and is formatted similarly.
• The use of a laser with a shorter light wavelength (visible red, instead of infrared)
allows tighter packing of the disk In addition, the laser can be focused in such a way
that two layers of data can be placed on the same side of the disk, one underneath the
other.
• Each layer on a DVD can hold approximately 4.7 GB. If both layers on both sides are
used, the DVD capacity is approximately 17 GB.
• The use of a blue laser extends this capability even further, to approximately 50 GB.
Blu-ray
• Blu-Ray technology squashes even more data into the same size disc as a CD or
DVD.
• Disc capacities
CD DVD
700 MB 4.7 GB
WORM or write-once-read-many-times
• WORM, or write-once-read-many-times, disks were originally designed to
provide an inexpensive way for archiving data.
• WORM disks provide high-capacity storage with the convenience of compact size,
reasonable cost, and removability.
• As the name indicates, WORM disks can be written, but, once written, a data block
cannot be rewritten.
• WORM disks work similarly to a CD or DVD. The major difference is that the disk
is made of a material that can be blistered by a medium-power laser.
• Initially, the entire disk is smooth. When data is to be written, the medium-power
laser creates tiny blisters in the appropriate locations.
• These correspond to the pits in a normal CD-ROM. The WORM disk is read with a
separate low- power laser in the same way as a CD-ROM.
I/O Communications
• I/O (Input/Output) communication refers to the process by which a computer
exchanges data with external devices, such as keyboards, monitors, storage devices,
and network interfaces.
• It enables interaction between the computer's CPU, memory, and peripheral devices.
Memory mapped IO
With memory mapped I/O there is a single address space for memory and I/O
devices as shown in figure.
The processor treats the I/O devices just like memory locations and uses same
instructions to access both memory and I/O devices.
Single read line and single write line are required on the bus to access both memory
and I/O devices.
I/O mapped I/O or isolated I/O:
With I/O mapped I/O, the memory and I/O devices are addressed separately.
Processor uses different instructions for memory and I/O devices. (ie, MOV for
memory and IN,OUT for I/O)
Different read and write control signals are used for memory and I/O devices as
shown in the figure below.
Polling I/O
• Polling is the simplest way for an I/O device to communicate with the processor.
• The process of periodically checking status of the device to see if it is time for the
next I/O
operation, is called polling.
• The I/O device simply puts the information in a Status register, and the processor
must come and get the information.
• Most of the time, devices will not require attention and when one does it will have to
wait until it is next interrogated by the polling program. This is an inefficient
method.
Interrupts I/O
• An alternative scheme for dealing with I/O is the interrupt-driven method.
• An interrupt is a signal to the microprocessor from a device that requires attention.
• A device controller puts an interrupt signal on the bus when it needs CPU’s attention
when CPU receives an interrupt’
• It saves its current state and invokes the appropriate interrupt handler using the
interrupt vector (addresses of OS routines to handle various events).
• When the interrupting device has been dealt with, the CPU continues with its
original task.
Device Management
• Device Management is a core function of an operating system (OS) that handles the
interaction and control of hardware devices connected to a computer system.
• It ensures that devices like printers, storage drives, and network interfaces work
efficiently and are
accessible to applications and users.
Interface cards
• Interface cards (also called expansion cards or adapter cards) are
hardware components inserted into a computer's motherboard to
expand its functionality and enable communication with
peripheral devices.
• Types of Interface Cards:
1. Network Interface Card (NIC):
2. Graphics Card (GPU):
3. Sound Card:
Types of NICs
• Wireless. NICs that use an antenna to provide wireless reception through radio
frequency waves. Wi-Fi connections use wireless NICs.
• Wired. NICs that have input jacks made for cables. Ethernet is the most popular
wired LAN technology.
• USB. NICs that provide network connections through a device plugged into the USB
port.
• Fiber optics. NICs used as a high-speed support system for network traffic handling
on server computers. It's also possible to achieve this support by combining multiple
NICs. Fiber optic NICs are typically more expensive and complex.
NIC components
• Speed. All NICs have a speed rating in terms of megabits per second (Mbps) that
determines the card's performance in a network. The average Ethernet NICs come
in 10 Mbps, 100 Mbps, 1000 Mbps and 1 gigabits per second varieties.
• Driver. The required software that passes data between the computer's operating
system and the NIC. When a NIC is installed on a computer, the corresponding
driver software is also downloaded.
• MAC address. Unique, unchangeable media access control addresses, also known as
physical network addresses, are assigned to NICs.
• LED indicator. Most NICs have an LED indicator integrated into the connector to
notify the user when the network connects and data transmission occurs.
• Router. A router is sometimes needed to enable communication between a computer
and other devices. In this case, the NIC connects to the router which is connected
to the internet.
Graphics Card
• GPU stands for Graphics Processing Unit. The power of GPU depend on the model
of the GPU.
• The graphics as an external component is attached on a slot known as an expansion
slot. It is the
brain of the graphics card and is what creates the visuals that we see on the monitor.
• Memory: Graphics card carries its own memory. Memory range could be from
128MB to 2GB of memory.
• Multiple Screen support: Most new video cards have the ability to connect two
monitors to one card.
• Connection – The graphic card is connected to the monitor using many different
ports put the port must be present on both monitor and Graphics card.
• These are some common ports used to connect graphics card with a monitor.
• VGA
• HDMI
• DVI
Sound Cards
• The sound card is a part of a computer that produces and
records sound. Users may use it to connect analogue
microphones, speakers, and headphones to their
computers.
• Usually connected via USB, external sound cards are also known as audio
interfaces.
USES in computer
• A computer bus is a communication system within a computer or between computers
that transfers data between different components.
• The purpose of buses is to reduce the number of "pathways" needed for
communication between the components, by carrying out all communications over a
single data channel.
• A bus is a set of physical connections (cables, circuits, etc.) that can be shared by
multiple hardware components to communicate with one another.
• Memory and input/ output devices are connected to the Central Processing Unit
through a group of lines called a bus.
1. Address Bus
2. Data Bus
3. Control Bus
Address Bus
• A collection of wires used to identify particular location in main memory is called
Address Bus.
• The address bus transports memory addresses which the processor wants to access in
order to read or write data.
• The address bus is unidirectional.
• The size of address bus determines how many unique memory locations can be
addressed.
• A system with 4-bit address bus can address 2^4 = 16 Bytes of memory.
Data Bus
• A collection of wires through which data is transmitted from one
part of a computer to another is called Data Bus.
• Data Bus can be thought of as a highway on which data travels within a computer.
• The main objective of data bus is transfer of the data
between microprocessor to input/ output devices or
memory.
• The data bus transfers instructions coming from or going to the processor.
• The data bus is bidirectional because the data can flow in either direction from CPU
to memory(or input/output device) or from memory to the CPU.
• The size (width) of bus determines how much data can be transmitted at one time.
Example:
• A 16-bit bus can transmit 16 bits of data at a time.
• 32-bit bus can transmit 32 bits at a time.
Control Bus
• The connections that carry control information between the CPU and other devices
within the computer is called Control Bus.
• The main objective of control bus is all signals controller carried from processor to
other hardware device.
• The Control bus is bidirectional because the data can flow in either direction from
CPU to memory(or input/output device) or from memory to the CPU.
• It also transmits response signals from the hardware.
Firmware
Boot process
• The procedure of starting a computer by loading the kernel is known as booting the
system.
• On most computer systems, a small piece of code known as the bootstrap program
or bootstrap
loader locates the kernel, loads it into main memory, and starts its execution.
• Some computer systems, such as PCs, use a two-step process in which a simple
bootstrap loader fetches a more complex boot program from disk, which in turn
loads the kernel.
• When a CPU receives a reset event—for instance, when it is powered up or
rebooted—the instruction register is loaded with a predefined memory location, and
execution starts there.
• At that location is the initial bootstrap program. This program is in the form of read-
only memory (ROM).
• ROM is convenient because it needs no initialization and cannot easily be infected
by a computer virus.
Types of Booting
1. Cold Booting : A cold boot is also called a hard boot.
• It is the process when we first start the computer. When the computer is started from
its initial state by pressing the power button it is called cold boot.
• The instructions are read from the ROM and the operating system is loaded in the
main memory.
2. Warm Booting : Warm Boot is also called soft boot. It refers to when we restart the
computer.
• When the system gets stuck sometimes it is required to restart it while it is ON.
Therefore, in this condition the warm boot takes place.
• Restart button or CTRL+ALT+DELETE keys are used for warm boot.
1. The Startup : It is the first step that involves switching the power ON. It
supplies electricity to the main components like BIOS and processor.
2. BIOS: Power On Self Test : It is an initial test performed by the BIOS. Further,
this test performs an initial check on the input/output devices, computer’s main
memory, disk drives, etc. Moreover, if any error occurs, the system produces a
beep sound.
3. Loading of OS: In this step, the operating system is loaded into the main
memory. The operating system starts working and executes all the initial files
and instructions.
4. System Configuration: In this step, the drivers are loaded into the main
memory. Drivers are programs that help in the functioning of the peripheral
devices.
5. Loading System Utilities :System utilities are basic functioning programs, for
example, volume control, antivirus, etc. In this step, system utilities are loaded
into the memory.
6. User Authentication : If any password has been set up in the computer system,
the system checks for user authentication. Once the user enters the login Id and
password correctly the system finally starts.