Practical 01
Practical 01
LAB
DATA ANALYSIS
PERFORMAN SUBJECT AND
ABILITY TO
PRESENTATIO CALCULATION
OBSERVATION/
CONDUCT SCORE
KNOWLEDGE INTERPRETATI N AND CODING
CE ON
EXPERIMENT RESULTS
INDICATOR
Tools
All the basic computer hardware.
Different peripheral devices: Input and Output.
Screw drivers.
1 Introduction
be accessed by the user at any time. Computer is basically a calculating device but the ability to store
and execute programs makes computers extremely versatile and distinguishes them from
calculators.
Computer helps us doing certain jobs in split seconds that the human even can’t think of it. The
computers are becoming the fundamental part of every field like they are widely used in industries,
banks, insurance companies, universities, colleges, nuclear science, weather forecasting, weapon
designing, car modeling, air crash investigation, Bio-medical sciences etc. because they perform
specific tasks very quickly, accurately and very fast. The computers that we see all around us in
schools, colleges, universities and offices are digital computer.
As there are many different types of computers therefore computers can’t be classified in one or two
categories. Computer can be classified in many aspects as according to type of data they can
represent (i.e. Analog or Digital), according to the size, according to the data handling capabilities,
according to the hardware they contain, according to the software they can support and many many
more.
No matter what type or size of the computer is the basic task of any computer is to convert raw data
(useless data) in to information (useful data).
As the basic task of a computer is to convert the raw data in to the useful information. To do this
task the computer performs a process called information processing cycle (also called data
processing cycle), which is set of steps arranged in a particular manner. Each step of this process
requires one or more components of the computer. Information processing cycle contains four
steps:
Lab Experiment#01
INPUT: During this step the computer accepts the input from the user via any input device like
keyboard or mouse. It is very important step as the computer cannot do anything by itself so it
needs the instructions in the form of input.
PROCESS: During this step the processing devices (Microprocessor) of the computer performs some
processing on the inputted data according to the given set of instructions and converts the data in to
information. The data processed by the processor in stored in memory (RAM) temporarily so that
the processor can receive and access the data very fast. So in this step the two important devices of
the computer RAM and Processor are used.
OUTPUT: During this process the computer shows the result of processed data on some sort of
output devices like monitor or printer. It is very important for the computer to show the output
because if the computer cannot show the result then how a people can come to know that data has
been converted in to information.
STORAGE: During this step the computer permanently stores the processed data on any storage
device like hard disk, floppy or USB. It is important to save your important data on the permanently
storage media so that you can access that data again whenever you want, else you have to set the
data again which will be itching and can be time consuming to write the data again and again.
The input devices are used to enter the data into the computer (system unit) to instruct it to work
accordingly. The input devices are considered as the interface between the user and the computer.
Through the input devices the users can communicate and instruct the computer.
Lab Experiment#01
There are many types of input devices but the most commonly input devices used in a personal
computer are keyboard and a mouse. The keyboard is used to enter the text and numbers, whereas
the mouse is used to enter the data which is used by the computer to set the cursor on the screen.
There are also many other input devices which may include the variants of mouse like, track ball
and track pad; it may include optical input devices like a digital pen also called a stylus; the devices
that input still and moving pictures which includes the digital camera and web cam; the devices to
control the movement of the character in a computer game like, joystick or joy pad; the sound
inputting devices like a microphone and many many more. List of some of the input devices is
shown below:
• Keyboard
• Mouse
• Trackball Trackpad
• Joystick
• Game Controller
• Microphone
• Digital Camera
• Web Cam
• Barcode Reader
• Scanner
• Finger Print Reader
1.4.1 Keyboard
Keyboard is primary input device it is used to input text, numbers and commands. It is just like a
typewriter which works as a communicator between the user and the computer. It is small plastic
body containing matrix of several elastic keys arranged in certain groups. Keyboards can be
categorized according to the shape, according to the size, according to the color, according to the
number of keys they contain and so on. But the most commonly used keyboard is IBM Enhanced
Keyboard designed by IBM, contains about 100 keys. These keys are arranged in to the five groups
namely,
1. Alphanumeric Keys
2. Modifier Keys
3. Numeric Keypad
4. Function Keys
5. Cursor-Movement Keys
Lab Experiment#01
Alphanumeric Keys: The group of keys or the portion of the keyboard which looks like a
typewriter containing alphabetic character ( i.e. A, B, C, X, Y, Z), special symbols (i.e. &, @, $, #),
numbers (i.e. 1, 2, 3, 4, 5) and some special keys as (ENTER, SPACE, BACK SPACE, CAPS LOCK and
TAB) keys is named as Alphanumeric Keys. The first line in this group is arranged as Q, W, E, R T, Y,
this arrangement is called QWERTY arrangement and sometimes the keyboard containing this type
of arrangement are known as QWERTY keyboards. It is very important group because it enables us
to enter the English syntax.
Modifier Keys: The keys SHIFT, ALT, CTRL are known as modifier keys because they modify or
change the functionality of other keys. To modify the functionality of other key you have to press
that key while holding down the modifier key. Like when you press J key it displays the small letter j
on the screen but when pressed while holding down SHIFT key it will display capital J on the screen.
Similarly F4 key has its own function but when pressed while holding down ALT key it closes any
opened active window. The modifier keys have played very important role in shrinking the size of
the keyboard as if there were no modifier keys present in the keyboard then you had separate keys
for capital and small letter and for some special functions so the modifier keys have helped very
much to overcome this complex problem.
Numeric Keypad: It is just like a calculator located usually at the right side of the keyboard. It
contains numbers from 0 to 9, arithmetic operator (+, -, *, & /), an enter key and a num lock key. It is
used for fast calculation as it provides separate calculator based design. It is widely used in the
fields where people perform a lot of calculations, creating data spread sheets and in accountings.
The num lock key also plays an important role in this group, when the num lock key is activated this
group behaves as a calculator while when deactivated it performs cursor-movement keys’ functions.
Function Keys: The keys labeled as F1, F2, F3, . . . , F12 located usually at the top of the keyboard
are known as function keys. These keys enable you to enter the commands without writing very
long and complex syntax of certain command. These keys perform specific functions and each key
has its own different functionality. As F1 key in most programs is used to open the help window of
the program. The function of these keys can vary from program to program according to the
structure of the program. The function of these keys like other keys can also be modified by using
them with modifier keys as F4 key has certain function but when pressed while holding down ALT
key it closes any opened active window.
Cursor-Movement Keys: The four arrow keys UP, DOWN, RIGHT & LEFT located between the
alphanumeric keys and numeric keypad are known as cursor-movement keys because they can
control the position of the cursor on the screen. These keys are used in wide variety of programs as
they are used in word processing applications to move around in the document for changing the
misplaced words, adding some text or removing unnecessary text added. Also in many games these
keys are used to control the movement of the object in the game.
Lab Experiment#01
Beside these five groups the keyboard also contains two special purpose keys:
Start Key: It is used to open the start menu in many GUI (Graphics User Interface) based operating
systems. The identity of this key is that the windows logo is labeled on to it. The keyboard contains
two start keys one at the right and one at the left of space bar but both have the same functionality
to open the start menu.
Shortcut Key: It is locate at the right side of the right start key. It is used to open the list of menus
which that program contains. It has the same functionality as right mouse button has. So, pressing
the shortcut key means right clicking the mouse.
The latest developments in the keyboard manufacturing are Multimedia and Internet keyboards.
The multimedia keyboards contain some extra features that control the multimedia capabilities of
your system. These keyboards include some extra buttons as play, stop, pause, forward, rewind,
volume controlling key etc. These keyboards control the volume of your system and can control
your media player. On the other hand the Internet keyboard controls the Internet features of your
system as you can open a web page by just pressing a single button also you can send an e-mail with
the touch of a single button. Now days, these two developments are becoming more and more
popular among the people.
1.4.1.1 Mini-Keyboard
These devices have got one major advantage that they can be cleaned easily
as there are no hollow surfaces under the sides of the keys as found in other keyboards. These
devices are available in both wired and wireless forms but the manufacturers are very keen to build
wireless fold-out keyboard to make them even more flexible.
1.4.1.3 Keypads
that for what purpose you are going to purchase them either for professional numeric data entry or
for office work. If you are purchasing keypads for office use then you are at wrong way and you will
only put your hand on your head and say oh! What I have purchased?
If you are a regular computer user you should have a standard or a min keyboard. As you are a
regular user you should know that sometimes operating system corrupts. In this case you have to
reinstall the operating system but the most operating systems come with serial number also known
as product key which is series of 25-characters long
alphanumeric string. At this time your numeric keypad will not
be able to input the whole product key. So it is recommended
that you should have a standard or min-keyboard with the
numeric keypad for full functionality.
If you see carefully some of the alphabetic keys are missing in this keyboard. Because normally you
have a pair of round mini keyboards, so there will be another round keyboard and the missing keys
will be present in that keyboard. You have pair of round mini keyboards, one for your left hand and
one for your right hand.
1.4.2 Mouse
Institute. It is used to control the cursor on the screen. The movement of the cursor is controlled by
moving the mouse, when we move the mouse forward the cursor moves upwards and when we
move it backward the cursor moves downwards. You can also move the mouse in left and right
direction to move the cursor left and right. The mouse can have at least two buttons one is called left
mouse button and the other is called right mouse button. The left mouse button is used for functions
like clicking, double-clicking and dragging and right mouse button is used for right-clicking. Clicking,
double-clicking, dragging and right-clicking are the functions that make the mouse more flexible and
more function able. Today’s modern mouse have a scrolling wheel, located between right and left
mouse button, used to scroll around a large documents or web pages quickly.
The mouse is used in GUI (Graphical User Interface) based operating systems. It allows the users to
interact with the on-screen pop-up menus and dialog boxes. The mouse offers two main advantages
firstly, you can easily and quickly move around the screen and secondly, you can enter commands
without entering and remembering the large and complex syntax of the commands. Mice like other
peripherals are available in different shapes and sizes. A mouse can be as large as a human hand or
a mini sized mini-mouse. The mouse can be in wired or wireless form. The mice are available in
Serial, PS/2 and USB ports.
1. Mechanical Mouse
2. Optical Mouse
stored data to set the cursor on the screen so in this way the position of the cursor is controlled on
the screen.
Optical mouse is the newest development in the mouse sometimes also called lesser mouse, because
the laser is at the heart of this mouse. This mouse contains a built-in lesser instead of a heavy rubber
ball. When you mouse this mouse the lesser emits the beam of lesser light and with the help of
reflected rays it identifies the distance, direction and speed of the move and sends the signal to the
computer and then the computer uses its own stored data to set the cursor on the screen. As this
mouse does not contain a ball therefore this is slightly lighter than the mechanical mouse. People
often use optical mouse instead of mechanical mouse because of its better performance.
1.4.4 Trackball
come in left and right hand model for left and right-handed people. Track ball like mouse can
contain two or more buttons and scrolling wheel.
1.4.5 Trackpad
Track Pad is a pointing device also called touch pad. It is small pad approximately the size of 1.5 or 2
inches. It is used to control the cursor on the screen. To use this device you have to move your index
finger on the pad and the motion of your finger is then translated into the cursor’s movement. As it
is approximately 1.5 or 2 inches wide so your finger doesn’t have to move very far therefore it is less
tiring to use track pad instead of using mouse or trackball. It also contain two or more buttons but
some track pads are strike sensitive that is you just have to tap the pad instead of pressing certain
buttons. Track pads are now widely used in laptop computers. Track pads are also now built-
directly in to the modern keyboards releasing the extra port for other devices. You can also buy a
separate track pad like mouse and keyboard but you will consume one extra port for it.
1.4.6 Joystick
electronic equipment such as mobile phones. There has been a recent and very significant drop in
joystick popularity in the gaming industry. This is caused by the lack of new simulation games, flight
for the most part.
1.4.8 Microphone
special carbon coated film but the computers digital camera captures the image in a special memory
chip. These are portable handheld devices that you can easily carry to any place to captures your
favorite stills. Some digital cameras offer a small screen on to which you can see the captures stills.
You can transfer the images stores in the memory chip in the computer and can use a software to
modify and enhance it.
Web camera usually known as Web Cam is an input device used to input
videos (moving pictures). The difference between this device and a
digital camera is that the digital camera captures only still image
whereas this device can capture moving pictures usually known as
videos. Web cam is very handy tool most commonly used in video
conference on the Internet. You can use this device to communicate
with your friends face to face on the Internet. People usually set this
device to the top of their monitors. This camera digitizes the image by
breaking them into individual pixels. Each pixel’s color and
characteristics are stored as digital code. This code is then compressed
so that it can be stored on the disk or transmitted over a network. Most
of the laptops have built-in web cam at the top center.
A barcode reader (or barcode scanner) is a computer peripheral for reading barcodes printed on
various surfaces. Like a flatbed scanner, it generally consists of a light source, a lens and a photo
conductor translating optical impulses into electrical ones. Additionally, nearly all barcode readers
currently produced contain decoder circuitry analyzing the barcode's image data provided by the
Lab Experiment#01
photo conductor and sending the barcode's content to the scanner's output port. Bar code reader
reads the special Bar codes, which are the patterns of small printed lines that appear on product
packages. The bar code reader emits a beam of lesser light on the printed bars. A light-sensitive
detector identifies the bar codes so as the product. It is used as a product identifier. These special
bars on each different product are different. After the detector identifies the bar codes, it converts
the individual bar patterns into the numeric digits that are then matched with the data stored in the
computer which tells whether the product is genuine or not.
1.4.12 Scanner
A scanner is an input device used to input the soft copy of a printed document. The image scanner or
simply scanner converts a printed document in to digital form by shinning the lesser light on the
image and with the help of reflected rays of light it identifies the colors and intensity of the colors.
The color scanner uses RGB (Red, Green and Blue) color scheme.
Lab Experiment#01
You can now save that digital image into your computer
and use software like Adobe Photoshop or Corel Draw to
modify that image by increasing the brightness, color
intensity, saturation, hue etc. If you scan a text document
the scanner will convert it in to an image but not in to a
document. You can use software named as Optical
Character Recognition (OCR) to convert that scanned
image in to a document format. This software contains
some assumptions that how the characters will look like
and matches the characters of an image with its
assumptions and converts that image file into a
document format. Now when the OCR has converted the
image into a document you can edit and modify it.
Although it is very complex software because the hand-
writing varies from person to person and this software contains only a few assumptions so this
software does not guarantee to convert the hand-writing of every person.
a user’s identity based upon who they are. Even though authentication using finger print scanning
attempts to verify identities by using a completely unique characteristic, it is not 100% secure or
reliable.
A user’s fingerprint consists of a number of ridges and valleys on the top layer of skin. A fingerprint
scanner plate using optics or capacitors collects a print sample of the pattern of peaks and valleys,
converts the pattern to a number or algorithm, and compares it to other stored templates.
The output devices are used to display the result of processed data (information). The computer
produces the result by accepting the data from user via input devices and by performing some
processing operations on to it. Now this result is very much meaningful to the users and there must
be a device at which this result should be displayed and this task is performed by the output
devices.
There are many types of output devices but the most commonly used output devices in a personal
computer are the monitor and printer. The monitor shows the result temporarily by creating the
soft copy while the printer shows the result permanently by creating the hard copy. There are also
some other output devices like, plotter which is a special printing device, speakers which produces
the sound output and many other devices.
Lab Experiment#01
• Monitor
• Printer
• Plotters
• Speakers
• Projector
1.5.1 Monitor
Along with the mouse and keyboard, the video display (monitor) is a vital part of the user interface
of any computer. Actually, it is a latecomer to computing; before CRT monitors came into general
use, the teletypewriter was the standard computer interface—a large, loud device that printed the
input and output characters on a roll of paper. The first CRT displays used on computers were
primitive by today's standards; they displayed only text in a single color (usually green), but to
users at the time they were a great improvement, allowing real-time display of input and output
data. Over time, color displays were introduced, screen sizes increased, and LCD technologies
moved from the portable computer to the desktop.
Today, PC video displays are much more sophisticated, but you must be careful when selecting
video hardware for your computer. A slow video adapter can slow down even the fastest and
mostpowerful PC. Incorrect monitor and video adapter combinations can also cause eyestrain or be
unsuitable for the tasks you want to accomplish.
Monitor (or video display): The monitor can be either a CRT (Cathode Ray Tube) or an FPD (Flat
Panel Display).
Video adapter (also called the video card or graphics adapter): On many recent low-cost
systems, video might be built into the motherboard or included as part of this motherboard's
chipset.
Lab Experiment#01
The image on the monitor screen is usually made up from at least tens of thousands of such tiny dots
glowing on command from the computer. The closer together the pixels are, the sharper the image
Lab Experiment#01
on screen. The distance between pixels on a computer monitor screen is called its dot pitch and is
measured in millimeters. Most monitors have a dot pitch of 0.28 mm or less.
Only the first five of these displays are commercially available today, though OLED displays are
beginning deployment only in small sizes (mainly in cellular telephones). SEDs are promised for
release in 2006, while the FEDs and NEDs are in the prototype stage.
Flat panel displays balance their smaller footprint and trendy modern look with high costs and in
many cases inferior images compared with traditional CRTs. In many applications, specifically
modern portable devices such as laptops, cellular phones, and digital cameras, whatever
disadvantages are overcome by the portability requirements.
In addition, many modern printers can directly interface to electronic media such as memory sticks
or memory cards, or to image capture devices such as digital cameras, scanners; some printers are
combined with a scanners and/or fax machines in a single unit. A printer which is combined with a
scanner can essentially function as a photocopier.
Printers are designed for low-volume, short-turnaround print jobs; requiring virtually no setup time
to achieve a hard copy of a given document. However, printers are generally slow devices (30 pages
per minute is considered fast; and many consumer printers are far slower than that), and the cost-
per-page is relatively high.
In contrast, the printing press (which serves much the same function), is designed and optimized for
high-volume print jobs such as newspaper print runs-printing presses are capable of hundreds of
pages per minute or more, and have an incremental cost-per-page which is a fraction of that of
printers.
The printing press remains the machine of choice for high-volume, professional publishing.
However, as printers have improved in quality and performance, many jobs which used to be done
by professional print shops are now done by users on local printers.
1.5.5 Plotters
A plotter is a vector graphics printing device that connects to a computer. Plotters print their output
by moving a pen across the surface of a piece of paper. This means that plotters are restricted to line
art, rather than raster graphics as with other printers. They can draw complex line art, including
text, but do so very slowly because of the mechanical movement of the pens. (Plotters are incapable
of creating a solid region of color; but can hatch an area by drawing a number of close, regular
lines.) When computer memory was very expensive, and processor power was very slow, this was
often the fastest way to produce color high-resolution vector-based artwork, or very large drawings
efficiently.
Traditionally, printers are primarily for printing text. This makes it fairly easy to control, simply
sending the text to the printer is usually enough to generate a page of output. This is not the case of
the line art on a plotter, where a number of printer control languages were created to send the more
detailed information like "draw a line from here to here". The two common ASCII based plotter
Lab Experiment#01
control languages are Hewlett Packard's HPGL or Houston Instruments DMPL with commands such
as "PA 3000, 2000; PD".
Programmers in FORTRAN or BASIC generally did not program these directly, but used software
packages such as the Calcomp library, or device independent graphics packages such as
HewlettPackard's AGL libraries or BASIC extensions or high end packages such as DISSPLA. These
would establish scaling factors from world coordinates to device coordinates, and translating to the
low level device commands. In HP 9830 BASIC, it was actually simpler to write a plotting program
than today with C#.NET.
Early plotters (e.g. the Calcomp 565 of 1959) worked by placing the paper over a roller which
moved the paper back and forth for X motion, while the pen moved back and forth on a single arm
for Y motion. Another approach (e.g. Computervision's Interact I) involved attaching ball-point pens
Lab Experiment#01
to drafting pantographs and driving the machines with motors controlled by the computer. This had
the disadvantage of being somewhat slow to move, as well as requiring floor space equal to the size
of the paper, but could double as a digitizer. A later change was the addition of an electrically
controlled clamp to hold the pens, which allowed them to be changed and thus create multi-colored
output.
Plotters are used primarily in technical drawing and CAD applications, where they have the
advantage of working on very large paper sizes while maintaining high resolution. Another use has
been found by replacing the pen with a cutter, and in this form plotters can be found in many
garment and sign shops. If a plotter is commanded to use different colors it has to replace the pen
and select the wanted color. A niche application of plotters is in creating tactile images for visually
handicapped people on special thermal cell paper.
Lab Experiment#01
1.5.6 Speaker
Some computer displays have rather basic speakers built-in. Laptops come with integrated
speakers. Restricted space available in laptops means these speakers usually produce low-quality
sound.
The sound systems have different number of channels which determine the number of speakers that
can be connected to that system known as channels. Three of the sound channels types are:
1. Mono
2. Stereo
3. Surround Sound
The mono sound contains only 1 channel, it means no matter how many speakers you are
connecting to the mono sound system you will have same sound in all the speakers.
The stereo sound contains 2 channels, it means two speakers can be connected and in each speaker
you will have different sound. One for your left ear and one for your right.
The surround sound contains more than 2 channels (usually 5, 6, 7, 8, 9, or 10 channels), it means
more than 2 speakers can be connected and in each of the speaker you will have different sound.
Lab Experiment#01
• Headphones
• Earphones
1.5.9 Projector
EXERCISE
1. What different input and output devices you found in the lab. For each of the device fill in
the following:
• Keyboard Mouse
• Microphone Speaker
• Scanner Webcam
• Digital Camera Joystick
• Printer
3. Unbox the mechanical mouse and with the help of a diagram describe its working
mechanism.
4. Unbox the laser mouse and with the help of a diagram describe its working mechanism.
5. Unbox a standard keyboard and with the help of a diagram describe its working
mechanism.
6. With the help of a diagram describe the working mechanism of a Cathode Ray Tube
monitor.
Note: Please do not open the case of CRT monitor, it contains very high voltage even when it
is turned off.
7. With the help of a diagram describe the working mechanism of a lesser printer.