Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
FUNDAMENTALS
What is a computer ?
etc
GREATER THAN
<
LESS THAN
EQUAL TO
<=
>=
PROCESS
OUTPUT
HARDWARE
These are the PHYSICAL COMPONENTS of
the Computer System which we can
touch and see.
Examples :
Electronic parts.
Cables.
Peripherals.
SOFTWARE
Characteristics of Computer
o
SPEED
STORAGE
ACCURACY
VERSATILITY
AUTOMATION
DILIGENCE
SPEED
The computer was first conceived as a
high-speed calculator.
Since a computer is an electronic device,
electrical pulses are used to store data
and they travel at incredible speed.
Internal speed is virtually instantaneous.
SPEED
The speed with which the computer works can be
understood by the units of measurement of time
within a computer.
MILLI SECOND 1/1000TH OF A SECOND
MICRO SECOND 1/1000TH OF A MILLI SECOND
NANO SECOND 1/1000TH OF A MICRO SECOND
PICO SECOND 1/1000TH OF A NANO SECOND
A powerful computer is capable of adding two 18
digit numbers in 300 nanoseconds
STORAGE
A computer stores a large volume of
data and information.
The factors to be considered for storage
are :
RETREIVAL INSTATANEOUS
SPACE MINIMUM
MEDIA MAGNETIC / OPTICAL
LONGIVITY LIFE LONG
ACCURACY
ACCURACY
Errors in computing are due to human
rather than technological faults.
VERSATILITY
Computers are capable of performing almost
any task,
provided these can be broken down into a
series of
logical steps.
The computer actually performs 4 basic
operations:
1. Exchanges information with the outside
world
via INPUT / OUTPUT devices
2. Transfers data within the computer to the
AUTOMATION
Once a program to perform a particular
task is stored in the computer, the
individual instructions in the program
are carried out one after the other
automatically to complete the task.
Hence the user requires to just press
certain keys and give the data input.
The data is automatically processed to
produce the output.
DILIGENCE
Being a machine, a computer does not
suffer from the human traits of
tiredness and lack of concentration.
If 5 million calculations are to be
performed, it will perform all of them,
even the last one with exactly the same
accuracy and speed.
In fact, there are some computers
which are constantly on for hours,
INPUT
DEVICE
MEMORY
UNIT
OUTPUT
DEVICE
CONTROL
UNIT
CONTROL FLOW
Registers
DATA FLOW
ARITHMETIC
& LOGIC UNIT
CPU
COMPONENTS
THE COMPUTER RECEIVES INPUT,
PROCESSES IT AND DELIVERS
OUTPUT.
To perform these tasks it has
different units or components and
each component is responsible for
a specific task.
COMPONENTS
The components are INPUT, OUTPUT ,
PRIMARY
MEMORY, SECONDARY MEMORY,
REGISTERS,
CONTROL UNIT (CU) AND ARITHMETIC &
LOGIC
UNIT (ALU).
INPUT DEVICES
Used for transferring data from the
users end to the computer.
OUTPUT DEVICES
Used to transfer processed
information from the computer to
the user in a way desired by the
CONTROL UNIT
Controls the various operations
within a computer.
It basically manages all the other
units and devices of the computer
system.
It does so by transmitting timing and
control signals to the various devices
REGISTERS
These are high speed storage
devices to provide information
sufficiently fast to the ALU.
Registers are very expensive
devices
MEMORY UNIT
It stores instruction and data and
provides these to the various
other units as and when
required.
It consists of RAM and ROM.
(1) RANDOM ACCESS MEMORY
(2) READ ONLY MEMORY
MEMORY UNIT
RANDOM ACCESS MEMORY It is a
volatile
memory where results of calculations
are
stored for subsequent use.
READ ONLY MEMORY Used for storing
permanent information.
SECONDARY STORAGE
It stores the various data,
information and programs
permanently for future retrieval.
The information is organized in such
a way to retrieve it in minimum time
whenever required.
The stored information remains as
long the user wants it.
BUS
These are a set of connecting wires
used for setting interconnection
between the various devices in the
system.
Each set of buses have a specific
function to perform like carrying
data, carrying control signals and
addresses.
HARDWARE
Input devices
Input Devices
Input Devices
Input Devices
SCANNER : It is
used for graphical
inputs.
Pictures, images,
drawings etc. can
be scanned and
stored in the
computer.
Input Devices
Touch pad
A touch pad is a device for pointing (controlling input
positioning) on a computer display screen. It is an
alternative to the mouse. Originally incorporated in laptop
computers, touch pads are also being made for use with
desktop computers. A touch pad works by sensing the
user's finger movement and downward pressure.
Graphics Tablet
A graphics tablet (or digitizing tablet) is a computer peripheral device
that allows for a relatively simple method of inputing hand-drawn
graphics or art into a computer in real time. They typically consist of a
large flat surface for drawing on, and an attached "stylus" for drawing on
the surface, originally as a part of the electronics, but later simply to
provide an accurate but smooth "point".
This device also allows the computer
user to control the mouse cursor by
tracking the stylus pen across the
tablet. To most users, the cordless,
stylus pen is much easier and faster
to use than a mouse and has less
strain on your hand.
TRACKBALL
A trackball is a computer cursor control device used in
many notebook and laptop computers. The trackball is
usually located in front of the keyboard toward the user.
Essentially, the trackball is an upside-down mouse that
rotates in place within a socket. The user rolls the ball to
direct the cursor to the desired place on the screen and can
click one of two buttons (identical to mouse buttons) near
the trackball to select desktop objects or position the cursor
for text entry.
TOUCHSCREEN
A touchscreen is an input device that allows users to operate a PC
by simply touching the display screen. Touch input is suitable for a
wide variety of computing applications. A touchscreen can be used
with most PC systems as easily as other input devices such as
track balls or touch pads. Browse the links below to learn more
about touch input technology and how it can work for you.
Touchscreen systems are
being used in a variety of
applications,
including
point-of-sale
systems,
public information displays,
industrial control systems,
and more. Follow this link
for additional examples of
how touch technology is
being used today.
Light pen
A lightpen is a device similar to a touch screen,
but is facilitated by use of a special light
sensitive pen instead of the finger. The
advantage of using a pen is more accurate screen
input other that of a touch screen.
JOYSTICK
A lever that moves in all directions
and controls the movement of a
pointer or some other display symbol.
A joystick is similar to a mouse,
except that with a mouse the cursor
stops moving as soon as you stop
moving the mouse. With a joystick,
the pointer continues moving in the
direction the joystick is pointing. To
stop the pointer, you must return the
joystick to its upright position. Most
joysticks include two buttons called
triggers.
Joysticks are used mostly for computer games, but they are also used
occasionally for CAD/CAM systems and other applications.
BAR-CODE RECOGNITION
BAR-CODE RECOGNITION
VOICE INPUT
This system accepts spoken input.
The waveform created by the input
is
analysed, patterns are extracted
and
matched against pre-stored
VOICE INPUT
The words and phrases that the
system is to recognise, are spoken
with the system and the patterns
are created for future matching.
For the voice of more than one
person, training with the system
must be done separately.
Input Device
Description
Usage
Keyboard
Text input
Mouse/
Trackball
Touch pad
Joystick
Moving
the
pointer, selecting
options
and
graphics input
Moving
the
pointer, selecting
options
and
graphics input
Playing
video
games
Input
Device
Description
Usage
Touch
screen
Digitizer
Graphics input
Graphic
tablet
Graphics input
Bar
code
reader
Reading
codes
by
Information
seeking
bar
Input
Device
Description
Usage
Optical
character
reader
Reading retail
prices,
text
input
Image
scanner
Graphics input
Magnetic
card reader
Reading
magnetic cards
Input Device
Description
Usage
Smart
reader
Reading
cards
Speech
recognition
device
Digital camera
Security
purposes,
handicapped
people
Image input
Digital video
camera
card
smart
OUTPUT DEVICES
VDU
VDU stands for Visual Display Unit.
Also called a monitor or a screen.
It a device similar to a TV screen.
The output on a VDU is temporary.
OUTPUT DEVICES
VDU
The technology behind monitors and
televisions is the cathode-ray tube, or
CRT.
A CRT is an sealed glass
bottle with no air inside.
It begins with a slim neck
and tapers outward until
it forms a large base.
OUTPUT DEVICES
VDU
The base is the monitors screen and is
coated on the inside with a matrix of
thousands of tiny phosphor dots.
Each dot consists of
three blobs of
coloured phosphor:
red, green & blue.
These groups of three
phosphors make up
what is known as a
Output Devices
Projection systems or classroom TVs
can display information from a
computer system on a larger screen
for whole-class instruction.
OUTPUT DEVICES
PRINTERS
A printer produces output on paper
(hard copy) which can be kept
permanently.
TYPES OF PRINTERS :
DOT MATRIX
INK JET PRINTER
LASER PRINTER
DOT MATRIX
INK-JET
LASER
DOT
MATRIX
INK JET
LASER
CHARACTER YES
BASED
OUTPUT
YES
YES
GRAPHICS
BASED
OUTPUT
NO
GOOD
EXCELLENT
OUTPUT
QUALITY
COST
EFFECTIVE
OK
GOOD
EXCELLENT
LOW
RECURRING
COST
HIGH
RECURRIN
G COST
HIGH
RECURRIN
G COST
COLOUR
NO
OK
EXCELLENT
Description
Usage
Image output
Dot-matrix printer
Inkjet printer
Laser printer
Plotter
Sound/speech
synthesizing
devices
Producing
maps,
charts,
building plans and circuit
diagrams.
Automatic telephone answering
systems, voice dictionaries
CHARACTER :
A character is the smallest unit of data
that can be communicated to the
computer. All data, information and
instruction are represented by a
combination of these characters.
All alphabets, digits and symbols are
characters. Even a blank space is a
0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1
255
ASCII
American Standard Code for
Information Interchange.
It is difficult for us to remember all the
256 bit patterns and their corresponding
characters.
We can convert the bit pattern to a
decimal no.
This way each bit pattern will have a
different number and this number, fixed
for a character is called the ASCII code of
the character.
ASCII CODE
CHARACTER
1000001
1100001
0110001
0101011
0100000
0101101
0011100
0101100
65
97
49
43
32
45
28
44
A
a
1
+
(
,
STORAGE
DEVICES
HARD DISK:
It a device fixed to a computer and
can store large volumes of
information. It uses magnetic media
& electromagnetic theory to read
and store information.
The standard capacity : 80 320 GB
STORAGE
DEVICES
FLOPPY DISK : ( obsolete nowadays)
It is a cassette like device to store
information.
It is external to a computer and can be
put into a floppy disk drive (FDD)
attached to a computer for reading and
writing information.
STORAGE
DEVICES
FLOPPY DISK :
Since it is not fixed to a computer,
information can be copied from the hard
disk of a computer to a floppy and can be
used in another computer.
Standard capacity : 1.44 MB
STORAGE
DEVICES
Compact Disk:
It is a circular disk and is the same as any
other music or video CD.
It is also external to a computer and can be
put into a CD drive attached to a computer
for reading information.
It uses OPTICAL technology to read
STORAGE
DEVICES
Compact Disk:
Information once written into a read only
CD cannot be erased or changed.
Information written onto a re-writable CD
can be erased or changed.
Standard capacity : 700 MB
Storage Technology
FLOPPY DISK
HARD
DISK
CD or DVD
HARD DISKS
Hard drives are magnetic storage devices that
contain several discs inside called "Platters" that
are attached to a spindle motor.
The number of platters varies
depending on the capacity of the
drive.
Platters are coated with a film
of magnetically sensitive
substance, primarily made of
iron oxide.
HARD DISKS
HARD DISKS
Theres a read/write head for each side of
each platter, mounted on arms which can
move them towards the central spindle or
towards the edge.
The arms are moved by the head actuator.
HARD DISKS
When a disk undergoes a low
-level format, it is divided it
into tracks and sectors.
The tracks are concentric
circles around the central
spindle on either side of each
platter.
The sector is a disk's smallest
accessible unit.
HARD DISKS
Tracks physically above each other on the
platters are grouped together into cylinders
which are then further subdivided into sectors
of 512 bytes apiece.
FLOPPY DISKS
Floppy drives are the slots on the front of
your computer that you insert disks into,
copy files to, and install programs from.
These drives accept 3" disks. These
diskettes come in different densities. The
standard disks of today are called highdensity. They usually hold 1.44 MB of
data.
FLOPPY DISKS
Floppy disks are also a form of magnetic
storage that function similarly to hard
drives.
There is a spring loaded metal cover
that is moved aside during operation
that exposes a mylar disk that is coated
with a ferro-magnetic substance.
The drive's read/write heads access the
COMPACT DISKS
Blu-ray Disc
Blu-ray Disc (official abbreviation BD) is an optical disc
storage medium designed to supersede the DVD format. The
format defines as its standard physical media a 12cm (same
as DVDs and CDs), 25 GB per-layer optical disc, with dual layer
discs (50 GB) the norm for feature-length video discs and
additional layers possible later.
PRIMARY MEMORY
There are two types of primary
memory:
PRIMARY MEMORY
CPU
CPUs by Intel
8088
1985
80386
1987
80486
1988
Pentium I
1990
Pentium II
1994
Pentium - III
1995
Pentium IV
2001
Dual Core
Core 2 Duo
2006
2007
MOTHER BOARD
CONNECTING WIRES
PERSONAL COMPUTER - PC
SOFTWARE
A set of programs that utilizes the
hardware and uses its capabilities to
perform various tasks.
Program:
A program is a set of instructions
stored in the computer to solve
specific problems.
CLASSIFICATION OF SOFTWARE
C L A S S IF IC A T IO N O F S O F T W A R E
SO FTW ARE
SYSTEM
O P E R A T IN G S Y S T E M
A P P L IC A T IO N
TRANSLATO RS
IN T E R P R E T E R
C O M P IL E R
R E A D Y -M A D E
C U S T O M IS E D
SYSTEM SOFTWARE
The system s/w are a set of
programs specially designed for
performing tasks such as
controlling the computers
hardware and utilizing the
resources to help the application
software solve specific problems.
OPERATING SYSTEM
Program to control the hardware
and provide user interface.
It is essential for every computer.
It is the link between the user and
the machine.
OPERATING SYSTEM
Functions :
Memory management
CPU management
Input / Output management
Storage / File management
Provide user interface
TRANSLATOR
Translates high level language to
low level language.
LOW LEVEL LANGUAGE : The language of
bits understood directly by the computer.
It is also called the machine language.
HIGH LEVEL LANGUAGE : The language of
users understood by the computer only
after translation.
COMPUTER LANGUAGES
COMPUTER LANGUAGES
There are many languages and any one can be
used to develop programs.
Each language has its capabilities and
limitations.
COBOL
(Common Business Oriented Language)
Commercial applications
BASIC
(Beginners All Purpose Symbolic
Instruction Code) For beginners.
FORTRAN (FORmula TRANslator)
Mathematical and scientific applications
C
System/Application level programming
C++/ JAVA Object Oriented Programming Language
TRANSLATOR
TRANSLATION
MACHINE
LANGUAG
E
PROGRA
M
INTERPRETER
An interpreter takes one instruction
at a time, translates it and moves
on to the next statement in the
program.
Hence, executing the entire
program step by step.
Each time we execute a program
the source program and the
COMPILER
APPLICATION SOFTWARE
MS-DOS
Microsoft
FILE
Related information or data is stored
in the form of a file in the disk.
Hence, the minimum chunk of
information that we can store in or
retrieve form a disk, is a file.
FILE
The files are either program files or
data files.
Each file must have a unique name.
The file name has two parts :
PRIMARY NAME &
SECONDARY NAME or extension.
FILE NAMES
The primary name is to identify the
contents and the secondary name is
to identify the type of the file.
The primary file name can be
maximum 8 characters long whereas
the extension of the file name can be
maximum 3 characters long.
FILE NAMES
The primary file name and the
secondary file name is joined by a
period.
The secondary file name or the
extension is optional.
FILE NAMES
Legal characters in the file names
include
1. all letters of the alphabets
A B C D E F G H ..
a b c d e f g h
2. numeric digits
1 2 3 4 5 6 7 8 .
FILE NAMES
Following characters are NOT
allowed:
*?=+|:[];,/\<>
A blank space CANNOT be used in
the file name.
FILE NAMES
BIODATA.TXT
SALARY.98
ACCOUNTS
.COM
1
A.B
MY FILE.DOC
VALID
VALID
VALID
INVALID
VALID
VALID
INVALID
WILD CARD
The wild card allows us to deal with more
than one file at a time and helps us to
group the files.
positions.
? A substitute for specific character position.
*.TXT
Primary name anything
Extension - .TXT
SALARY.*
Primary name SALARY
Extension - anything
A*.*
Primary name starting with A
Extension - anything
BIODATA.TXT
BOOK.TXT
NOTES.TXT
SALARY.98
SALARY.DAT
SALARY.DOC
ALASKA.DOC
ABC.123
A
*.*
All files
*.
Primary name anything
Extension nothing (must not be there)
SALARY
BIODATA
123
?A*.TXT
Primary name second character A
Extension - .TXT
*.?O?
Primary name anything
Extension second character O
SALARY.TXT
DATA.TXT
LATER.TXT
SALARY.DOC
COMMAND.COM
NOTES.SOS
DRIVE NAMES
DRIVE NAMES
FIRST FLOPPY DISK DRIVE :
A:
B:
C:
CD-ROM DRIVE:
D:
D:
BOOTING
In order to make the computer
work, the operating system
program files must be loaded into
the memory from the disk.
This process is automatically
initiated as soon as a computer is
switched on. This process is called
booting.
BOOTING
IO.SYS
Responsible for the INPUT / OUTPUT operations.
MSDOS.SYS
Responsible for the DISK & FILE operations.
COMMAND.COM
Acts as the command interpreter to translate the user
COMMAND PROMPT
After booting the command line prompt
appears on the screen. Any dos
command statement is typed at the
command prompt and an <enter> key is
pressed to execute it.
C:\>=
Current
drive
Cursor
DEFAULT DRIVE
This is the current drive in which DOS will
look for the files and carry out all the
operations in this drive until we specify
otherwise.
C:\>= (DOS prompt where current default drive
is C:)
C:\>
A:\>=
A:
<ENTER>
CLS
This command clears the screen and
takes the prompt to the left-top
corner of the screen.
DATE
To display and/or change the system
date.
On typing this command the current date is
displayed and the user is allowed to type in the
new date.
TIME
To display and/or change the system
time.
On typing this command the current time is
displayed and the user is allowed to type in the
new time.
DIR
This command gives a listing,
called the directory, of the files
stored on a disk.
It displays :
File names
Size
.TXT
C:\> DIR A:
C:\>COPY *.TXT A:
Copies the files with extension .TXT from the
default drive ( C: ) to A:
C:\>COPY A:SALARY.DAT
Copies the file from A: to the default drive
( C: )
In this case, since the target is the default
drive it may not be written in the
command.
C:\>COPY A:*.*
B:*.*
C:\>COPY MYFILE.TXT
A:YOURFILE.TXT
DELETING FILES:
C:\> DEL biodata.doc
BIODATA.DOC.
extension .TXT
files.
RENAMING FILES:
SYNTAX: REN OLD-NAME NEWNAME
C:\> REN STUDENT.99
STUDENT.00
SUB-DIRECTORY
A sub-directory is a separate storage
location in the disk where files can be
stored.
This helps us to organize the files in
separate locations in the disk.
ROOT DIRECTORY
STUDENT
MARKS
ACCOUNT
TEXT
LETTER
OTHER
ACCOUNT
\ STUDENT
\ ACCOUNT
TEXT
\ TEXT
OTHER
\ OTHER
\ STUDENT\MARKS
MARKS
LETTER
\ TEXT\LETTER
CREATING SUBDIRECTORIES
Command : MD or MKDIR
MD
MD
MD
MD
MD
MD
\STUDENT
\ACCOUNT
\TEXT
\OTHER
\STUDENT\MARKS
\TEXT\LETTER
Command : CD
C:\STUDENT\MARKS>CD \OTHER
C:\OTHER>=
C:\OTHER>CD \
C:\>=
\STUDENT\NOTES.TXT
C:\>COPY
\STUDENT\NOTES.TXT
\TEXT
FILE
SUB-DIRECTORIES
C:\>COPY \OTHER\*.*
\ACCOUNT
C:\>COPY
\OTHER\*.*
C:\>COPY
\TEXT\LETTER\*.*
A:
REMOVING SUBDIRECTORIES
Command : RD or RMDIR
We can not remove a sub-directory:
If it is not empty
Staying in the same sub-directory
REMOVING SUBDIRECTORIES
Objective: To delete Student
Directory
DEL \STUDENT\MARKS\*.*
RD \STUDENT\MARKS
DEL \STUDENT\*.*
RD \STUDENT
EXTERNAL COMMANDS
EXTERNAL COMMANDS
EXTERNAL COMMANDS
C:\> FORMAT A:
Formats the floppy disk in A: drive
EXTERNAL COMMANDS
C:\> FORMAT A: /S
The option S makes the disk bootable
after formatting.
EXTERNAL COMMANDS
C:\> LABEL C:
Allows you to change the volume label of
the Hard disk.
EXTERNAL COMMANDS
C:\> SYS A:
Will transfer the system files to the floppy
in drive A: and make it bootable.
EXTERNAL COMMANDS
C:\> DISKCOPY A: B:
Will copy the entire contents of the
floppy in drive A: to the floppy in drive B:
EXTERNAL COMMANDS
EXTERNAL COMMANDS
EXTERNAL COMMANDS
EXTERNAL COMMANDS
BINARY
0 0 1 1 1 0 0 1
27 26 25 24 23 22 21 20
32 16
= 57
Starting from right to left, raise 2
to the power of 0 to 7.
1 0 1 1 1 0 0 1
0 0 1 0 1 0 0 1
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
128
32 16
= 185
32
= 41
1 1 1 1 1 1 1 1
0 0 0 0 0 0 0 0
27 26 25 24 23 22 21 20
27 26 25 24 23 22 21 20
128 64 32 16
= 255
=0
End of
Computer
Fundamentals