Lecture Note for CSC 101
Lecture Note for CSC 101
Device Drivers
A device driver is a computer program that controls a particular device that is
connected to your computer. Typical devices are keyboards, printers, scanners,
digital cameras and external storage devices. Each of these need a driver in
order to work properly.
Device drivers act as a translator between the operating system of the computer
and the device connected to it. For many types of devices, the necessary drivers
are built into the operating system. When you plug in a device, the operating
system starts looking for the right driver, installs it and you are ready to start
using the device. This is referred to as plug-and-play and is much preferred over
having to manually install the correct drivers.
There are so many different devices, however, that not all of them are built into
the operating system. As an alternative, the operating system can look online to
find the right driver to install. Many hardware devices, however, come with the
necessary drivers. For example, if you buy a printer, it may come with a CD that
typically will include the correct driver. The advantage of this is that the
hardware manufacturer can make sure you have the right driver for the printer.
Firmware
While not as common a term as hardware or software, firmware is everywhere -
on your smartphone, your PC's motherboard, even your TV remote control.
Firmware is just a special kind of software that serves a very narrow purpose for
a piece of hardware. While you might install and uninstall software on your
computer or smartphone on a regular basis, you may only rarely, if ever, update
the firmware on a device and you'd probably only do so if asked to by the
manufacturer, probably to fix a problem. Firmware is software that is embedded
in a piece of hardware. You can think of firmware simply as "software for
hardware."
Devices that you might think of as strictly hardware such as optical drives, a
network card, a router, a camera, or a scanner all have software that is
programmed into a special memory contained in the hardware itself. However,
the firmware is not to an interchangeable term for software.
HARDWARE
Hardware is the physical and tangible part of the computer system.
The Major Hardware Component of Computer System:
Input unit (keyboard, mouse etc)
Output unit (monitor, speakers etc)
Memory unit (hard disk drive, CD/DVD drive etc)
Processor (CPU, RAM)
Input Unit: This unit is used for entering data and programs into the computer
system by the user for processing.
Storage Unit: The storage unit is used for storing data and instructions before
and after processing.
Output Unit: The output unit is used for storing the result as output produced
by the computer after processing.
Processor: The task of performing operations like arithmetic and logical
operations is called processing. The Central Processing Unit (CPU) takes data
and instructions from the storage unit and makes all sorts of calculations based
on the instructions given and the type of data provided. It is then sent back to
the storage unit. CPU includes Arithmetic logic unit (ALU) and control unit
(CU)
•ALU: All calculations and comparisons, based on the instructions
provided, are carried out within the ALU. It performs arithmetic
functions like addition, subtraction, multiplication, division and also
logical operations like greater than, less than and equal to etc.
•CU: Controls all operations like input, processing and output. It takes
care of step by step processing of all operations within the computer.
Memory:
This can be classified into two types; primary memory and secondary memory
a. Primary Memory can be further classified as RAM and ROM.
•RAM or Random Access Memory is the unit in a computer system. It is the
place in a computer where the operating system, application programs and the
data in current use are kept temporarily so that they can be accessed by the
computer’s processor. It is said to be ‘volatile’ since its contents are accessible
only as long as the computer is on. The contents of RAM are no more available
once the computer is turned off. RAM is volatile memory having a limited
storage capacity
ROM or Read Only Memory is a special type of memory which can only be
read and contents of which are not lost even when the computer is switched off.
It typically contains manufacturer’s instructions. Among other things, ROM
also stores an initial program called the ‘bootstrap loader’ whose function is to
start the operation of computer system once the power is turned on.
Secondary/auxiliary memory is a storage other than the RAM. These include
devices that are peripheral and are connected and controlled by the computer to
enable permanent storage of programs and data.
CD ROM
Secondary storage devices are of two types; magnetic and optical.
Magnetic devices include hard disks and optical storage devices are CDs,
DVDs, Pen drive, Zip drive etc.
This is supposed to be a flash animation. You'll need the flash plugin and a
browser that supports it to view it.
Hard Disk
Hard disks are made up of rigid material and are usually a stack of metal
disks sealed in a box. The hard disk and the hard disk drive exist together
as a unit and is a permanent part of the computer where data and programs
are saved. These disks have storage capacities ranging from 1GB to 80 GB
and more. Hard disks are rewritable.
Compact Disk
Compact Disk (CD) is portable disk having data storage capacity between
650-700 MB. It can hold large amount of information such as music, full-
motion videos, and text etc. CDs can be either read only or read write
type.
Digital Video Disk (DVD) is similar to a CD but has larger storage
capacity and enormous clarity. Depending upon the disk type it can store
several Gigabytes of data. DVDs are primarily used to store music or
movies and can be played back on your television or the computer too.
These are not rewritable.
Output Devices receives information from the CPU and presents it to the user
in the desired from. The processed data, stored in the memory of the computer
is sent to the output unit, which then converts it into a form that can be
understood by the user. The output is usually produced in one of the two ways –
on the display device (soft copy), or on paper (hard copy).
•Monitor is often used synonymously with “computer screen” or
“display.” Monitor is an output device that resembles the television
screen. It may use a Cathode Ray Tube (CRT) to display information.
The monitor is associated with a keyboard for manual input of characters
and displays the information as it is keyed in. It also displays the program
or application output. Like the television, monitors are also available in
different sizes.
• Printers are used to produce paper (commonly known as hard copy)
output. Based on the technology used, they can be classified as Impact or
Non-impact printers.
Impact printers use the typewriting printing mechanism wherein a
hammer strikes the paper through a ribbon in order to produce
output. Dot-matrix and Character printers fall under this category.
Non-impact printers do not touch the paper while printing. They use
chemical, heat or electrical signals to sketch the symbols on paper.
Inkjet, Deskjet, Laser, Thermal printers fall under this category of
printers.
• Plotters are used to print graphical output on paper. It interprets
computer commands and makes line drawings on paper using multi
coloured automated pens. It is capable of producing graphs, drawings,
charts, maps etc.
•Sound cards and Speaker(s): An expansion board that enables a
computer to manipulate and output sounds. Sound cards are necessary for
nearly all CD-ROMs and have become commonplace on modern personal
computers. Sound cards enable the computer to output sound through
speakers connected to the board, to record sound input from a
microphone connected to the computer, and manipulate sound stored on a
disk.
GENERATION OF COMPUTERS
Computer systems reached today’s modern age with one step at a time, these
steps are called generations. Even more so the generation who have grown from
infancy within the global desktop and laptop revolution since the 1980s. The
history of the computer goes back several decades however and there are five
definable generations of computers.
In each generation computers with new features and functions starts to get the
market and the older computers slowly gets replaced. Each generation is defined
by a significant technological development that changes fundamentally how
computers operate – leading to more compact, less expensive, but more
powerful, efficient and robust machines. IBM Company categorized the
development of computers into generations, though not everyone in the industry
including users will be agree on the periods of each generation. However, based
on the use of electronic devices, computers systems can be categorized into
following generations.
Generation of Computer:
1. First Generation (1940 – 1956): Vacuum Tubes
Vacuum tubes were used as circuitry and magnetic drums for memory to build
computers of this generation. These computers were enormous, literally taking
up entire rooms and costing a fortune to run because it uses thousands of diode,
triode, transistors, capacitors etc. and lot of electricity. These were inefficient
materials which generated a lot of heat so those were more expensive to
maintain by setting up cooling systems.
These first generation computers relied on ‘machine language’ (which is the
most basic programming language that can be understood by computers). These
computers were limited to solving one problem at a time. Input was based on
punched cards and paper tape. Output came out on print-outs. The notable
machines of this era were the UNIVAC and ENIAC machines; UNIVAC was
the very first commercial computer which was purchased in 1951 by a business
called the US Census Bureau.
This revolution can be summed in one word: Intel. The chip-maker developed
the Intel 4004 chip in 1971, which positioned all computer components (CPU,
memory, input/output controls) onto a single chip. What filled a room in the
1940s now fit in the palm of the hand. The Intel chip housed thousands of
integrated circuits. The computers that we use now-a-days are the computers
from fourth generation. From this generation more use of semi-conductors in
memory started. Microprocessors have been created with LSI (Large Scale
Integration) and VLSI (Very Large Scale Integration). The size and price of
computers has both been reduced to significant levels. The year 1981 saw the
first ever computer (IBM) specifically designed for home use and 1984 saw the
MacIntosh introduced by Apple. Microprocessors even moved beyond the realm
of computers and into an increasing number of everyday products. The
increased power of these small computers meant they could be linked, creating
networks which ultimately led to the development, birth and rapid evolution of
the Internet. Other major advances during this period have been the Graphical
user interface (GUI), the mouse and more recently the astounding advances in
lap-top capability and hand-held devices.