Deeksha Degree College, Nirmal: Fundamentals of Computers
Deeksha Degree College, Nirmal: Fundamentals of Computers
Deeksha Degree College, Nirmal: Fundamentals of Computers
FUNDAMENTALS OF COMPUTERS
LAXMAN NYAMTABAD
MCA
Dept. of Computer Science
COMPUTER
The word “computer” comes from the word “compute” which means to calculate. So a computer is normally
considered to be a calculating device that performs arithmetic operations at enormous speed.
More accurately, a computer may be defined as a device that that operates upon information or data .
Now a day’s more than 80 % of the work done by computers today is a non mathematical or non- numerical
nature.
Definition of computers :
A computer is an electronic device which is used to perform operation on raw data as per instruction given by
user. All the Plugged with computer system( e.g. keyboard, mouse, printer,CPU etc) is called hardware, the
language , instruction, data are the called software.
CHARACTERISTICS OF COMPUTER
Every computer varies depending upon its size and capacity but there are many common features or
characteristics due to which the computer performs the input-output processes in an effective way.
They are as follows-
1. Speed
2. Accuracy
3. Storage
4. Versatility
5. Diligence
6. Automation
7. Reliability
8. Power of Remembering
1. Speed – Speed of a computer means the time it takes to complete any given task. The computer works
at a very lightning speed. For example, a computer takes a second to calculate 3 million calculations
rather than a human which takes years. Hence nowadays the speed of the computer is measured in
terms of microseconds, Nanoseconds, and even in Pico seconds instead of seconds or milliseconds.
2. Accuracy – The computers are programmed and designed in such a manner that their results are almost
100% accurate. It performs all the tasks with the same accuracy. There are very few chances of
uncertainty in results and even though an error occurs, it can happen either due to wrong input data or
unreliable programs by a programmer. Such errors are referred to as Garbage In Garbage Out (GIGO)
which means, if you provide wrong instructions to the computer then you get wrong results.
3. Storage – A human brain keeps only the knowledge which it thinks is important and removes the rest.
Whereas a computer can store a huge amount of data in its internal memory known as primary storage
and can quickly access the data whenever required. But the internal memory is limited so to store more
data secondary storage devices are used such as DVD, Pen drives, etc. They can be carried from one
computer to another very easily. Thus sections of total data can be brought to the internal memory of
the computer whenever required. The data in the computer can never elapse and will be always
accessible and properly stored in a systematic format. The storage capacity of a computer is measured
in Kilobyte (KB), Megabyte (Mb), Gigabyte (GB), and Terabyte (TB).
4. Versatility – Along with being accurate and diligent a computer is also a versatile device. It can perform
several types of tasks at a time if they are reduced to a certain set of logical steps. A computer can be
used for many purposes at different places such as booking air and rail tickets, weather forecasting,
listening to music, and playing games. Also at a time, one can pay his utility bills and can make a
monthly budget too. It can prepare documents, data sheets and also can make models of houses, dams,
etc.
5. Diligence – The ability of a computer to perform tasks without getting tired is known as diligence.
Computers are highly reliable, they do not get fed up, exhausted, or lack concentration. They can work
for hours and hours unlike humans and can give accurate or error-free results. For example, humans
will start feeling tired after 2 -3 hours and will lack concentration whereas a computer will keep on
working until the results are achieved.
6. Automation – Automation means working automatically. A computer can work on its own without the
intervention of the person using it. Programs can be made for the computer to perform the task and
based on the sequence it executes the tasks and gives accurate results. In case an error occurs, it gives
error messages too and registers the logs.
7. Reliability – High reliability of a computer depends on low failure rate and easy maintenance. The
results given out by the computer are reliable as the accuracy is almost 100%.
8. Power of Remembering – The computer has the power of storing data or information for several years.
It cannot lose the data on its own. A person can retrieve the data whenever required and the data
remains the same after a number of years also. It gives the freedom to the user to decide on how much
data to store and how much to remove.
GENERATIONS OF COMPUTER
First Generation (1942-1955)- Vacuum Tubes
✓ High speed Microprocessors were used. Millions of electronic components were integrated on
a single microprocessor chip
✓ They were much smaller and.
✓ They consumed less power than third generation computers
✓ They were more reliable and less prone to hard ware failures than third generation therefore
their maintenance cost is negligible
✓ They had faster and larger primary and secondary storage
✓ Graphical User Interface enabled new users to quickly learn how to use computers.
✓ Use of standard high-level languages allowed program to be transferred from one computer to
another.
✓ Supports more Input and Output devices
✓ Network of computers enabled sharing of resources like disks, printers etc.
✓ They were general-purpose machines used in application development
Fifth Generation (1989-Present) Artificial Intelligence
✓ These computers convert the inputs into binary language of 0's & 1's.
✓ They carry out operaions on binary data at a very fast rate and generate outputin user
understandable language.
✓ These computers basically work by counting and adding the binary digits.
✓ These computers are more accurate, faster and reliable than analog computers.
✓ They are the most commonly used computers in homes and offices.
✓ The real life example of a digital computer is a digital watch. Now days, computerused for the
purpose of business and education are also example of digitalcomputers.
✓ In digital computers, data flows in the form of clock pulses as shown below:
B) Mini Computers
✓ mini Computers are general purpose computers, which are more expensive than the
microcomputers.
✓ The capabilities of mini computers lie somewhat betweenthe mainframes and personal computers.
✓ They can support multiple input-output devices.
✓ They contain less memory and processing capabilitiesthan a mainframe.
✓ A large number of computers can be connected to a network with a mini computer acting as a
server.
✓ Mini Computers can be used for systems like- ticket reservation or banking.
C) Programmable Computers
✓ Programmable computers are the smallest computersthat can be programmed by the user.
✓ Personal Digits Assistants (PDA), latest mobiles andaddress books fall under this category.
✓ These computers have capabilities of keeping track ofappointments, meetings, calls, SMS, image
&video capturing ete.
✓ They also contain accessories like calculator, notepad,MP3 players, Bluetooth communication etc.
(d) Laptop
✓ Laptop computers are so small that they can be placed on our lap.
✓ These computers can work while travelling andeven without any power connection.
✓ These computers are commonly used at homes oroffices to perform commonly used operations
like Word processing, spreadsheets and presentations.
✓ These computers are light weight and compact in Size.
✓ They contain all features of laptops or personal computers.
e) Desktop or Personal Computers (PC)
✓ Personal Computers are the most widely used computers in the world.
✓ These computers are normally placed on the top of the desk, so they are alsoknown as the Desktop
computers.
✓ These computers are equipped with huge volumes of main and secondarymemories.
✓ They are mainly used for managingpersonal data of a Company or anindividual, that's why they are
calledPersonal computers.
N. LAXMAN(ASN COACHING,NIRMAL 9963640581) Page 6
SEMISTER-II FUNDAMENTALS OF COMPUTER
✓ Number of software’s can be installed onthese computers to perform various kindsof data
processing operations.
✓ we can manage accounts, design graphicsor images, surf internet, write letters andlisten to music
or watch movies on these
✓ The size of desktop computers are greater than laptops.
(f) Mainframe Computers
A mainframe computer is a very large size computer capable of handling andprocessing very large amounts
of data quickly.
✓ Mainframe computers have more main and secondary storage and containmultiple processing
units (CPUs).
✓ These computers are generally used in largeorganizations like government agencies, banks,
✓ Flight scheduling, ticket reservations and insurancecompanies where a large number of people
needfrequent access to the same data which is usuallyorganized into one or more huge databases.
✓ In a mainframe, several computer terminals whichbasically contain keyboard and monitor are
pluggedinto a single mainframe. These terminals act as aninput/output device to the mainframe.
✓ Mainframes computers occupyrequire proper air-conditioning.
✓ A typical mainframe system can Support hundreds of users at the same time.With the
technological advances in personal computers, the need for mainframecomputing has significantly
reduced over the years. The computing power of atypical desktop computer today is greater than
that of a mainframe system.
g) Super Computers
✓ Super Computers are the most powerul computers typically used for scientificand engineering
applications that must handle very large databases or do a greatamount of computation.
✓ Super computers are the fastest and most expensive computers ever built by humans
✓ these computers contain multiple processors that work together to solve a single problem at a
time.
✓ The size of these computers is hundreds of times bigger than a Personal computer.
✓ These computers have huge main memories and secondary storage.
✓ these computers cost in millions of dollars and owned by countries or very large business
organizations.
✓ Supercomputers are used for very complex jobs such as nuclear research orforecasting weather
patterns.
✓ The major difference between a supercomputer and a mainframe is that aSupercomputer channels
all its power into executing a few programs as fast aspossible, whereas a mainframe uses its power
to execute many programsconcurrently.
(ii) Classification by function
Computers can be classified into following four basic categories based on thefunctions it can perform:
N. LAXMAN(ASN COACHING,NIRMAL 9963640581) Page 7
SEMISTER-II FUNDAMENTALS OF COMPUTER
(a) Server
✓ Server refers to a computer that is dedicated to provide some services to theother computers
(called clients).
✓ Some servers are committed to a specific task;. Asa result, there are a number or dedicated Server
categories, like database servers,file servers and print servers.
✓ Servers are named depending on the type of service they offer. For example, acomputer dedicated
to a database may be called a database server". A computermanages a large collection ofcomputer
files may be called a "File server".
✓ As servers are commonly used to deliver services that are required constantly, somost of the
servers are never turned off.
✓ They are bit different because high performing servers are set-up with highconfigurationhard
ware’s and software’s.
(b) Workstation
✓ A workstation is a computer intended for individual use i.e. primarily to be usedby one person at a
time.
✓ A high-performance computer typically used for software development,audio/video editing and
scientific applications.
✓ It is mainly designed for business or professional use rather than home use.
✓ A workstation has advanced graphics capabilities, large storage capacity, and apowerful
microprocessor.
✓ Workstations are commonly connected to a local area network and run multiuser operating
systems.
✓ In terms of computing power, workstations lie between personal computers andminicomputers.
(c) Embedded Computers
✓ Embedded computers are fixed inside various electronic devices to automate andcontrol their
working.
✓ Various modern electronic devices like Microwave, washing machine, televisionsand many other
devices contain embedded computers. For examplea small computer fitted in a digital washing
machine controls the washing cycle of themachine.
✓ The user could not program these computers. The manufacturer of theseComputers programs
them.
2.ANALOG COMPUTERS
✓ Analog computers are the computers that work on continuous data.
3.HYBRID COMPUTERS
✓ Hybrid computers employ both the features of digital and analog computers i.e.they can work on
continuous as well as discontinuous data.
✓ These computers are used in those environments, where both digital & analsignals are used in
processing.
✓ The uses of hybrid computers are increasing day by day as there are numberareas in the real world
where we need both analog and digital computers.
✓ Example: In a hospital, there may be number of devices like E.C.G, machine which are used to
measure the patients diet, temperature and other information. This is done by analog computers.
The information received from these analog computers is then supplied to digital computers to
generate reports
Input Unit
N. LAXMAN(ASN COACHING,NIRMAL 9963640581) Page 9
SEMISTER-II FUNDAMENTALS OF COMPUTER
In brief, an input unit performs the following functions:
✓ it accepts or reads the list of data and instructions from the user
✓ it converts these data and instructions in computer acceptable form
✓ it supplies the converted data and instructions to the computer system for further processing
✓ EX: Key board ,mouse , scanner
Memory/Storage Unit
✓ The basic function of this unit is to store the data, instructions and final results in to the system so
that it can deliver them on demand to the user or other computer units at a later time.
✓ The data and instructions are transferred to other computer units or devices from the main storage
under the supervision of control unit. It also referred as the primary storage
Primary Storage
✓ Primary storage is a direct access storage device, consisting of number o storage locations. Each
location in the storage has a unique number, called storage Address.
✓ The system assigns a unique location to each data element Once the data is assigned to the
location, the system accesses it directly by means of the address of the particular Storage locations.
✓ The various types of primary storages are
a. RAM (Random Access Memory)
b. Cache Memory
Secondary Storage
✓ The data and instructions in primary storage (RAM) are temporary in nature and they are erased
automatically as soon as the power is Switched off
✓ The secondary storage is used to store the data permanently. The user can access the data from
secondary storage whenever required.
✓ Some commonly used secondary storage devices that are used to store the data permanently are:
I. ROM (Read Only Memory)
II. Virtual Memory
III. Floppy Disk
IV. Hard Disk
Central Processing Unit (CPU)
✓ CPU is considered as the Brain of the computer". It is also called as microprocessor. It is the latest
and costly unit of the computer system. All major calculations and comparisons are made inside the
CPU.
✓ CPU converts all the supplied input into required output as per the instructions supplied by the
user. The performance and the speed of the computer mainly depend upon the type of
microprocessor installed in it.
✓ Within CPU, there exists a temporary storage location known as registers. These are used for
storage of smaller data (up to 64 bits). Registers are being used for faster data supply to processor
tor processing. The number, size and capacity of register in a CPU can affect the processing power.
✓ Components of CPU .The CPU further contains two units
I. ALU (Arithmetic and logical Unit)
II. Control Unit
✓ A Control unit is a major component of the computer which helps in the Functioning of the central
processing unit and turns the whole computer
COMPUTER MEMORY
✓ Memory is the storage area of computer where all the inputs (data as well as instructions) are
stored before processing and the outputs are stored after processing of inputs.
✓
✓ The memory of a computer can be divided into two broad categories:
1. Primary storage/internal memory
2. Secondary storage/External memory
1. PRIMARY STORAGE
✓ Primary storage, also known as main storage or main memory or internal memory is a direct
access storage device, consisting of a number of storage locations.
Types of RAM
There are mainly two types of RAM:
(1) Static RAM
(2) Dynamic RAM
Static RAM
✓ The word "static" indicates that the memory retains its contents as long as power remains applied,
unlike dynamic RAM (DRAM) that needs to be periodically retreshed.
✓ Data are lost when the circuit gets powered down,however, which makes static RAM a volatile
memory.
✓ The Static RAM consumes more power.
✓ Static RAM is more expensive and holds less data than dynamic RAM.
Dynamic RAM
✓ The term "dynamic" indicates that the memory must be constantly refreshedbecause Dynamic
RAM (LDRAM) locsess its stored information in a few millisecondseven though its power supply is
ON.
✓ It stores information in the form of charge on a capacitor, which leaks away in Avery short time.
Therefore its contents must b e periodically refreshed after everytwo milliseconds.
✓ Consumes less power and is cheaper than the Static RAM.
ii) ROM (READ ONLY MEMORY) - NON-VOLATILE MEMORY
Types of ROM
✓ There are mainly three types of ROM:
a. PROM (Programmable Read Only Memory)
b. EPROM (Erasable Programmable Read Only Memory)
c. EEPROM (Electrically Erasable Programmable Read Only Memory)
PROM (Programmable Read Only Memory)
✓ It is also the read only memory like ROM. The only difference between ROM and PROM is that the
instructions in ROM are designed by the manufacturer of the computer where as in PROM, the
instruction are programmed by the user himself according to his requirement,
✓ PROM is also known as one-time programmable non-volatile memory.
✓ In PROM, user can design the instructions only for once; he cannot change the instructions later
whenever required.
EPROM (Erasable Programmable Read Only Memory)
✓ Although, PROM is not a flexible memory, as the instructions in it cannot bechanged. EPROM is
designed to overcome the drawback of PROM.
✓ In EPROM, the user can program the instructions himself according to hisrequirement and later on,
he can also erase the instructions by using Ultra-Violet Rays (UV Rays) and reprogram the new
instructions in it.
EEPROM (Electrically Erasable Programmable Read Only Memory)
✓ It also the read only memory and user can Program/reprogram the instructions according to his
requirement, but here the instructions will be reprogrammed through special electrical pulses.
✓ EEPROM such as Flash memory allow the entire ROM to be electrically erased then written to
without taking them Out of the computer.
CACHE MEMORY
✓ The processor accesses the main memory to read the instructions. The speed atwhich the processor
executes the instruction is much faster than the speed at whichthe instructions are transferred
from the main memory. In order to make it compatible,a small very high-speed memory is used
between main memory (RAM) and processor. This type of memory i s called Cache
Memory/Buffers.
When the computer is to process a large amount of data, some times the size of main memory or RAM
becomes inadequate or not sufficient to store that data,. To overcomethis problem the technique of virtual
memory is used, in this case, operating system approaches to the secondary storage (hard disk
andborrows the required amount of memory from it and utilizes it as a main memory for processing the
data. This borrowed or shared memory is called virtual memory.Processor (Virtual Memory)
When virtual memory is being used, the system allows the users to carry on workingwithout worrying
about the availability of data storage or memory saturation. It is oftenaddressed as logical memory and
allows users to access a larger volume of memory,allowing them to use more applications simultaneously.
Secondary storage
✓ The secondary storage or External memory is used to store the data permanently, the user can
access the data from secondary storage when ever required
✓ The second Storage devices offer huge volumes with high speed and reliability
✓ the various types of secondary storages are
❖ Magnetic storage
❖ Optical storage
❖ Solid state storage
Magnetic storage
✓ A storage medium, in which different patterns of magnetization are used to represent stored bits or
bytes of information, is called magnetic storage. Magnetic storage consists of
❖ Magnetic tape
❖ Magnetic disk
Magnetic Tape
✓ Magnetic tapes provide a compact and inexpensive method of storing data and programs.
Magnetic tapes are mainly used for backup of data.
✓ Magnetic tape is half-inch wide tape of Mylar material, coated with magnetic material.
✓ Magnetic tapes have much higher data transfer rate and are preferred for high speed applications.
✓ Magnetic tape is as same as playing an audio cassette in a tape recorder.
✓ Whenever we like to hear a particular Song from an audio cassette, we need to rewind or forward
the tape for that particular song.
✓ Magnetic disks are the most popular medium of data storage in these days. It is like gramophone
record, which is made of a plastic like material called Mylar.
✓ The data is stored in the same way as in magnetic tape.
✓ The read/write heads are small electromagnets that are capable of reading, writing data and
erasing the data stored the form of magnetic spots.
✓ Data is randomly stored and retrieved from these disks i.e. the drive can access any portion or data
directly.
✓ To store data on magnetic disks it should be formatted. Formatting is a process of creating tracks
and sectors on thee surface of disk so that the data can be stored
✓ Tracks are concentric circles and sectors are the portions created by dividing the disks into number
of portions. these sectors are often grouped into clusters.
Types of Magnetic Disk
On the basis of read/write mechanism, the magnetic disks are classified into twotypes:
(a) Floppy disk/ Removable disk. (b) Hard disk/Fixed disk.
✓ Floppy Disk / Removable Disk
✓ Floppy disk is one of the most popular data storage medium, used for permanent data storage and
data transfer before the invention of compact disks.
✓ Floppy disk basically consists of a round, flat piece of plastic, coated with a magnetic material.
✓ The two principal sizes or dimensions of floppy disk are 3.5 inch and 5.25 inch.
✓ Floppy disks are portable i.e. we can easily carry this storage device from one place to another 1or
data storage.
✓ Floppy disks are slower to access than hard disks and have less storage capacity.
✓ Data stores on a floppy disk in tracks, which is further divided into small segments, called sectors.
✓ The storage capacity of a 3.5-inch floppy disk is 1.44 MB and 5.25 inch floppy disk is 1.2 MB.
✓ floppy disks are reusable i.e. we can write the new data on a floppy disk after erasing the previous
one.
✓ Hard disk is another type of magnetic disk on which we can store data and information
permanently.
✓ A hard disk contains a number of platters of aluminium coated with magnetic material.
✓ Each of these platters is divided into tracks and sectors. All the platters are arranged on a spindle.
This spindle is attached to a motor that can rotate at a speed of 5600 rotations per minute (rpm) or
7200 rpm. The main features of hard disk are:
✓ Hard disks hold more data than floppy disk. Its storage capacity comes in Gigabyte (GB) and now
also in Terabytes (TB). (1 TB=1024 GB)
✓ Hard disk stores the data permanently.To store data on hard disks, it should be formatted.
Formatting is a process of creating tracks and sectors on the surface of disk so that the data can be
stored.
✓ Tracks are concentric circles and Sectors are the portions created by dividing the disks into number
of portions. These sectors are often grouped into clusters.
OPTICAL DRIVERS
➢ An optical disk drive (ODD) uses a laser light to read data from or write data to an optical disc. These include
CDs, DVDs, and Blu-ray discs. This allows you to play music or watch movies using pre-recorded discs.
Computer software also often comes on one of these discs, so you need an optical drive to install software.
Most modern drives allow you to write to an empty disc, so you can create your own music CDs or create a
backup copy of important data.
➢ An optical disk drive uses a laser to read and write data. A laser in this context means an electromagnetic
wave with a very specific wavelength within or near the visible light spectrum. Different types of discs
require different wavelengths. For compact discs, or CDs, a wavelength of 780 nanometers (nm) is used,
which is in the infrared range. For digital video discs, or DVDs, a wavelength of 650 nm (red) is used, while
for Blu-ray discs a wavelength of 405 nm (violet) is used.
➢ An optical drive that can work with multiple types of discs will therefore contain multiple lasers. The
mechanism to read and write data consists of a laser, a lens to guide the laser beam, and photodiodes to
detect the light reflection from the disc.
➢ The optical mechanisms for reading CDs and DVDs are quite similar, so the same lens can be used for both
types of discs. The mechanism for reading Blu-ray discs, however, is quite different. An optical drive that
works with all types of discs will therefore have two separate lenses: one for CD/DVD and one for Blu-ray.
➢ A USB flash drive -- also known as a USB stick, USB thumb drive or pen drive -- is a plug-and-play portable
storage device that uses flash memory and is lightweight enough to attach to a keychain. A USB flash drive
can be used in place of a compact disc. When a user plugs the flash memory device into the USB port, the
computer's operating system (OS) recognizes the device as a removable drive and assigns it a drive letter.
➢ A USB flash drive can store important files and data backups, carry favorite settings or applications, run
diagnostics to troubleshoot computer problems or launch an OS from a bootable USB. The drives support
Microsoft Windows, Linux, MacOS, different flavors of Linux and many BIOS boot ROMs.
➢ The first USB flash drive came on the market in 2000 with a storage capacity of 8 megabytes (MB). Drives
now come in capacities ranging between 8 gigabytes (GB) and 1 terabyte (TB), depending on manufacturer,
and future capacity levels are expected to reach 2 TB.
➢ The memory within most USB flash drives is multi-level cell (MLC), which is good for 3,000 to 5,000 program-
erase cycles. However, some drives are designed with single-level cell (SLC) memory that supports
approximately 100,000 writes.
APPLICATIONS OF COMPUTER
Business
A computer has high speed of calculation, diligence, accuracy, reliability, or versatility which has made it an
integrated part in all business organizations.
Computer is used in business organizations for −
▪ Payroll calculations
▪ Budgeting
▪ Sales analysis
▪ Financial forecasting
▪ Managing employee database
▪ Maintenance of stocks, etc.
Banking
Today, banking is almost totally dependent on computers.
Banks provide the following facilities −
▪ Online accounting facility, which includes checking current balance, making deposits and overdrafts,
checking interest charges, shares, and trustee records.
▪ ATM machines which are completely automated are making it even easier for customers to deal with banks.
Insurance
Insurance companies are keeping all records up-to-date with the help of computers. Insurance companies, finance
houses, and stock broking firms are widely using computers for their concerns.
Insurance companies are maintaining a database of all clients with information showing −
▪ Procedure to continue with policies
▪ Starting date of the policies
▪ Next due installment of a policy
▪ Maturity date
▪ Interests due
▪ Survival benefits
▪ Bonus
The keyboard is the most frequent and widely used input device for entering data into a computer. Although there
are some additional keys for performing other operations, the keyboard layout is similar to that of a typical
typewriter.
Generally, keyboards come in two sizes: 84 keys or 101/102 keys, but currently keyboards with 104 keys or 108 keys
are also available for Windows and the Internet.
Types of Keys
▪ Numeric Keys: It is used to enter numeric data or move the cursor. It usually consists of a set of 17 keys.
▪ Typing Keys: The letter keys (A-Z) and number keys (09) are among these keys.
▪ Control Keys: These keys control the pointer and the screen. There are four directional arrow keys on it.
Home, End, Insert, Alternate(Alt), Delete, Control(Ctrl), etc., and Escape are all control keys (Esc).
▪ Special Keys: Enter, Shift, Caps Lock, NumLk, Tab, etc., and Print Screen are among the special function
keys on the keyboard.
▪ Function Keys: The 12 keys from F1 to F12 on the topmost row of the keyboard.
MOUSE
JOYSTICK
➢ A joystick is a pointing device that is used to move the cursor on a computer screen. A spherical ball is
attached to both the bottom and top ends of the stick. In a socket, the lower spherical ball slides. You can
move the joystick in all four directions.
➢ The joystick’s function is comparable to that of a mouse. It is primarily used in CAD (Computer-Aided Design)
and playing video games on the computer.
LIGHTPEN
➢ A light pen is a type of pointing device that looks like a pen. It can be used to select a menu item or to draw
on the monitor screen. A photocell and an optical system are enclosed in a tiny tube.
➢ When the tip of a light pen is moved across a monitor screen while the pen button is pushed, the photocell
sensor element identifies the screen location and provides a signal to the CPU.
SCANNER
➢ A scanner is an input device that functions similarly to a photocopier. It’s employed when there’s
information on paper that needs to be transferred to the computer’s hard disc for subsequent manipulation.
Scanner collects images from the source and converts them to a digital format that may be saved on a disc.
Before they are printed, these images can be modified.
OCR
➢ A bar code reader is a device that reads data that is bar-coded (data that is represented by light and dark
lines).
➢ Bar-coded data is commonly used to mark things, number books, and so on. It could be a handheld scanner
or part of a stationary scanner.
➢ A bar code reader scans a bar code image, converts it to an alphanumeric value, and then sends it to the
computer to which it is connected.
WEB CAMERA
➢ Because it records a video image of the scene in front of it, a webcam is an input device. It is either built
inside the computer (for example, a laptop) or attached through a USB connection.
➢ A webcam is a computer-connected tiny digital video camera. It’s also known as a web camera because it
can take images and record video.
➢ These cameras come with software that must be installed on the computer in order to broadcast video in
real-time over the Internet. It can shoot images and HD videos, however, the video quality isn’t as good as
other cameras (In Mobiles or other devices or normal cameras).
OUTPUT DEVICES
MONITOR
Monitors, also known as Visual Display Units (VDUs), are a computer’s primary output device. It creates images by
arranging small dots, known as pixels, in a rectangular pattern. The amount of pixels determines the image’s
sharpness.
The two kinds of viewing screen used for monitors are:
(1) Cathode-Ray Tube (CRT):
Pixels are minuscule visual elements that make up a CRT display. The higher the image quality or resolution, the
smaller the pixels.
PRINTERS
Printers are output devices that allow you to print information on paper.
There are two types of printers:
∴ (14)10 = 11102
3. Octal Number System (Base 8 Number System)
➢ In the octal number system, the base is 8 and it uses numbers from 0 to 7 to represent numbers. Octal
numbers are commonly used in computer applications. Converting an octal number to decimal is the same
as decimal conversion and is explained below using an example.
Example: Convert 2158 into decimal.
Solution:
2158 = 2 × 82 + 1 × 81 + 5 × 80
= 2 × 64 + 1 × 8 + 5 × 1
= 128 + 8 + 5
= 14110
4. Hexadecimal Number System (Base 16 Number System)
In the hexadecimal system, numbers are written or represented with base 16. In the hex system, the numbers are
first represented just like in decimal system, i.e. from 0 to 9. Then, the numbers are represented using the alphabets
from A to F. The below-given table shows the representation of numbers in the hexadecimal number system.
Hexadecimal 0 1 2 3 4 5 6 7 8 9 A B C D E F
Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
NUMBER SYSTEM CHART
NOR Gate
This gate is the combination of OR and NOT gate.
COMPUTER SOFTWARE
➢ In a computer system, the software is basically a set of instructions or commands that tells a computer what
to do. Or in other words, the software is a computer program that provides a set of instructions to execute a
user’s commands and tell the computer what to do.
➢ For example like MS-Word, MS-Excel, PowerPoint, etc. The chart below describes the types of software:
➢
System Software
➢ System software is software that directly operates the computer hardware and provides the basic
functionality to the users as well as to the other software to operate smoothly. Or in other words, system
software basically controls a computer’s internal functioning and also controls hardware devices such as
monitors, printers, and storage devices, etc. It is like an interface between hardware and user applications, it
helps them to communicate with each other because hardware understands machine language(i.e. 1 or 0)
whereas user applications are work in human-readable languages like English, Hindi, German, etc. so system
software converts the human-readable language into machine language and vice versa.
Features
▪ System Software is closer to the computer system.
▪ System Software is written in a low-level language in general.
▪ System software is difficult to design and understand.
▪ System software is fast in speed(working speed).
▪ System software is less interactive for the users in comparison to application software.
Types
It has two subtypes which are:
1. Operating System:
It is the main program of a computer system. When the computer system ON it is the first software that loads into
the computer’s memory. Basically, it manages all the resources such as memory, CPU, printer, hard disk, etc., and
FIRMWARE
The firmware is a block of program instructions for specific purposes, recorded in non-volatile memory (ROM,
EEPROM, flash, etc.), which establishes the lowest level logic that controls the electronic circuits of a device of any
type . Being integrated into the electronics of the device is partly hardware, but it is also software, as it provides
logic and is available in some type of programming language. Functionally, the firmware is the intermediary
(interface) between the external commands that the device receives and its electronics, since it is in charge of
controlling the latter to execute correctly said external orders.We find firmware in ROMs of systems of various
peripheral devices, such as video monitors, disk drives, printers, etc., but also in the microprocessors themselves,
main memory chips and in general in any integrated circuit.Many of the firmwares stored in ROM are protected by
Copyright
MIDDLEWARE
Middleware is software that assists an application to interact or communicate with other applications, software,
networks, hardware and / or operating systems. This simplifies the work of programmers in the complex task of
generating the connections that are needed in distributed systems. This process is also called middleware
engineering. This provides a solution that improves the quality of service, security, message sending, service
directory, etc. 1It functions as a distributed software abstraction layer, which sits between the application layers
and the lower layers (operating system and network). The middleware abstracts from the complexity and
heterogeneity of the underlying communications networks as well as the operating systems and programming
languages, providing an API for easy programming and management of distributed applications. Depending on the
problem to be solved and the necessary functions, different types of middleware services will be useful. Generally
the client-side middleware is implemented by the Operating System, which has the libraries that execute all the
functionalities for the communication through the network.