DIT 0101 - Intro To Computers & Op Sys. Manual
DIT 0101 - Intro To Computers & Op Sys. Manual
Training Manual
Diamond Systems Ltd.
Introduction to Computers
INTRODUCTION TO COMPUTERS
TERMINOLOGY example) are used for the next stage,
which is the actual calculation
Hardware is the term used to describe all process.
the physical components that make up a iv. Details of gross pay, tax, insurance
Computer system. and net pay are arrived at. Reference
Program. A program is a set of is made to data held in tax tables in
instructions written in the language of the tables of rates of pay and in employee
Computer used to make the Computer records, the latter must be brought up
perform a specific task such as producing to date e.g. pay to Date details.
a payroll. v. Individual pay slips, a summarize pay
Data is the term used to describe basic roll and coin analysis are produced
facts about the activities of a business. (information).
For example, the number of hours worked
by an employee on a particular machine; Each of these stages is identified by a
his rate of pay, the amount and type of name viz.
materials consumed in a particular
process; the number of tons of finished i. Origination -of data
product produced in a day or week. ii. Preparation -getting the data ready
iii. Input -the act of passing the
DATA PROCESING STAGES data to the processing stage.
This is the term given to the process of iv. Processing -all that is necessary to
collecting all the items of data together to arrive at the net pay etc. and to keep
produce meaningful information. data up to date (e.g. data in employee
Whatever method, or combination of records).
methods, is used it will be seen that data v. Output -the production of the
will pass through the same basic stages in end product.
the processing cycle.
Note:
Payroll example i. How data is transmitted from stage to
Stage stage.
i. Details of hours worked by each ii. Use made of temporary storage after
employee (data) is recorded on a Time preparation.
Sheet (source document). All Time iii. The reference to stored data (tax
Sheets are forwarded to the wages tables, rates of pay and employee
office; the source documents will be records) during the processing stage.
sorted into the sequence required by iv. Controls will be part of the whole
the payroll. procedure e.g. checking Time Sheets.
ii. The data is then checked for
correctness and validity and some Information: This is the result obtained by
form of copying (transcription) onto assembling items of data into a
another document (e.g. summary meaningful form. E.g. a payroll, efficiency
sheet) may take place. The source reports etc.
documents are then temporarily Input: Data entering an electronic data
stored. processing system.
iii. The source documents now Input devices: They are the devices that
accumulated for the complete pay either accept data at a keyboard and then
period (probably a week in our convert the data into machine sensible
Diamond Systems Ltd.© 2
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
former they accept data which has already BASIC TYPES OF COMPUTERS
been created in machine sensible form
(e.g. a machine readable document). DIGITAL: They are so called because it
Output: It is the information produced by functions by taking discrete numbers and
an electronic data processing system is an performing arithmetic calculations on them
output. and is the type used in commercial data
Output devices: They are used to processing.
produce the data in a human sensible
form (or in a machine sensible form for ANALOG: This is the type of Computer
later reprint). that measures physical magnitudes such
as temperature, pressure etc. a slide rule
and a car speedometer, are examples of
ORIGINATION OF DATA analogue devices
Source documents (orders,
clockcards, goods received, notes) Computers can further be subdivided into
two types: - special and general purposes.
taken on the data. Results of the action such as editing and masking data for
will be held until they are required for arithmetic operations.
output. Main storage is supplemented by
less costly auxiliary or backing storage for Both the arithmetic and logic unit performs
mass storage purposes. other functions by utilizing registers.
Computer registers are small memory
C. CONTROL devices that can receive, hold and transfer
data. Each register consists of binary
Each Computer has a control unit, which cells to hold bits of data. The number of
fetches instructions from main storage, bits per word can be as few as 4(early
interprets them, and issues necessary MicroComputers) or as many as 64 (large
signals to the components making up the scientific Computers).
system. It directs all hardware operations The arrangement of these registers
necessary in obeying instructions. constitutes several functional areas of the
CPU. A representative configuration is
given in the figure below.
D. COMPUTING/PROCESSING
Program Counter
The central processing (CPU) regulates Address
Connection
the operation of all system components
and performs the arithmetic and logic Input
Data Memory Address Register
operations on the data. To accomplish
these functions the CPU consists of two
operating units.
Instruction Register
1. Control Unit
Output Data
2. Arithmetic Logic Unit (ALU)
Connection
Accumulator
The control unit coordinates the various
operations include receiving data, which
enter the Computer, and deciding how
and when the data should be processed. Status Register
The control unit directs the operation of
the arithmetic logic unit. It sends data to
the ALU and tells it what functions to Arithmetic - Logic Unit
perform on the data and where to store
the results. The capability of the control
Typical arrangement of registers in the
unit accomplish these operations is
Computer’s CPU
provided by a set of instructions called an
executive program which is stored in
To accomplish a given sequence of
memory.
programmed instruction, the functions of
these registers would be as follows: -
The arithmetic and logic unit performs
operations such as addition, subtraction
and comparisons. These operations are
carried out on data in binary form. The
logic section can also be used to alter the
sequence in which instructions are
executed when certain conditions are
indicated and to perform other functions,
Program Counters:
The program CPU. A status register is a 1-bit register
counter holds the location or address of (often called a flag). Flags are used to
the next instruction. An instruction word identify such conditions as logical decision
contains two parts: - An operator and an outcomes, overflows where the result of
operand or a reference to an operand. an arithmetic operation exceeds the word
The operator defines the type of arithmetic capacity), and interrupt conditions (used in
or logic operation to be carried out process control).
(additions, comparisons, etc.). The Arithmetic Logic Unit (ALU). The
operand usually specifies the data on ALU) provides the circuitry required to
which the operation is to be performed. perform the various calculations and
The CPU sequences the instructions to be manipulations of data. A typical
performed by fetching words from memory configuration of the Arithmetic Logic
according to the contents of the program Unit is illustrated in the figure below.
counter. After each word is obtained, the Function Inputs
program counter is incremented to go to
the next instruction word.
Data Input A
Memory Address Register:
The
location of data contained in the
Data Input B A.L.U. Data Output
and called hard disks, others are flexible keyboard, and is both passed into the
disks or diskettes. Hard disks are more Computer and displayed on; the screen.
expensive but are faster more reliable and The VDU can also receive and display
bigger. Disks provide direct data access. messages from the Computer.
Magnetic tapes: These are similar in There are many different types of VDU but
principle to the tapes used domestically the two main ways of using VDUs are: -
for audio or video recording. Tape is a
serial medium and is mainly used as a a) To connect the VDU directly to the
backup or archiving medium. Tape is also Computer. This is known as on-
used as an input medium because data on line data entry in this manner is
the media may be converted onto called a terminal.
magnetic tape prior to input in order to b) To use the VDU in conjunction with
give faster input in order to give faster some other data entry system in
input. order to prepare data in a fast and
The disadvantages of magnetic media reliable input media. A popular
includes susceptibility to stray magnet modern example of this is the key
fields and dust, physical damage as a to floppy disk or key to diskette
result of dropping or falling, while the system. These are Micro
advantages includes confidentiality of data Computer-based systems, which
stored in them as opposed to; the same take in data from the VDU and
stored on paper since; they can not be store it on floppy disks. At some
directly readable by humans and my be later date the floppy disks are used
wiped magnetically. for input to the main Computer.
types of PABX but the significant point to communication server on the LAN, which
note is the integration of two technologies; enables communication between
Computer and telecommunications. equipment on the network and system
elsewhere.
The whole concept of data transmission LANs can not be used over long
has been extended in two ways: distances, instead Long Haul Networks
Many systems now have Computers at (LHNs) are used. The feature of a typical
both ends of the telecommunications link, LHN is shown in outline in figure 1.5
and several Computers may be interlinked below. Computers at separate locations
in a similar manner to form a complete each have their own connection to the
Computer network. network. The point of connection is often
called a gateway. When the network is
The networks are able to do more than used for electronic mail the gateway
pass data from point to point. Messages connection normally takes the form of
can be dispatchedfrom one point in the some kind of IMP (Interface message
network and passed by the network to processor) which has the ability to receive,
one or more destinations specified when store and forward messages. The
the messages are sent. This is a form of communications links between IMPs can
electronic mail. take a variety of forms such as cables,
A Local Area Network (LAN) as may be optical fiber or satellite transmission.
used on a single site within an
organization. The purpose of the LAN is F. OUTPUT.
equipment by means of a shared link in Most of the information produced by
order to allow their intercommunications. Computers is output in the form of printed-
Fig 1.4 paper documents, reports etc. an increase
Workstations in the number of Computer system being
used for online information retrieval has
File server Print Server
Host meant that considerable volumes of data
Computer are displayed on VDU screens instead of
being produced in printed form.
In both these cases the information is
Network
expressed in terms of characters, but in
Hub the long term more information may be
External provided in the form of images (i.e. picture
Host Communication
Computer or diagrams).
Server
The development of output devices has
Terminal
been largely concerned with trying to find
s Telephones ways of improving the speeds, costs and
reliability of printers. Print quality and
quietness have been additional aims for
The terminals and workstations in figure some printer applications.
1.4 above are able to connect to either
one of two-host Computer at will. The The two main types of printers currently in
network also has a file server and a print use are: -
server. The former is a special Computer a. Character Printers
which provides a form of auxiliary storage, b. Line Printers.
which can be used, by any other
Computer on the network and the latter is Character printers
a special Computer which can receive Are low speed printers, which mimic the
data from other Computers on the network actions of typewriters by printing one
and print it. There is also an external
Diamond Systems Ltd.© 11
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Line printers
The majority of high-speed printers print
whole lines at a time (or appear to) and
consequently called line printers. Line
printers usually have a considerable
workload on mini or mainframe Computers
used for data processing.
Questions:
a. What do the term semi-conductor
devices mean?
b. Give three features of semi-
conductor devices.
c. Explain the term data
transmission.
joystick can be moved left, right, operator (i.e. the person responsible for
up or down to move the cursor and operating the Computer) and the program,
also has a button used like that of which is controlling the Computer. (This
the mouse. special program is often called the
monitor.) Terminal typewriters and VDUs
Variations on the VDU. can both be used as consoles, although
a) Graphics Versions. Some VDUs the use of a terminal typewriter is usually
have high quality displays, which can preferred because of the permanent print
be used for line drawings, draftsmen’s record which they produce.
drawings etc.
C Document Readers
b) Light pens. A special pen used in
conjunction with a graphics VDU. The Optical Reading and Documents.
VDU can detect the location of light There are two basic methods of Optical
shining on the screen by means of Document Reading:
special hardware and software. This
is a design aid, which simplifies input a) Optical Character Recognition
of details of positions on the screen. (OCR).
b) Optical Mark Recognition (OMR)
c) Touch terminals. An alternative to
the light pen. The VDU can detect These two methods are often used in
when a point on the screen is touched. conjunction with one another and have
much in common. Their common
d) Voice Data Entry (VDU). Additional distinguishing features are discussed
circuitry plus a microphone is added to below.
the VDU. The unit can be switched to
learn a number of words, typically less Features of an Optical reader:
than 200, which it achieves by It has a document feed hopper and
recording a sound pattern for each several stackers including a stacker for
word typed in. When the unit is “rejecting” documents
switched to input it displays and inputs Reading of documents prepared in optical
any word which it recognizes. These characters or marks is accomplished as
units are particularly suitable for follows:
people wishing to use a few words a. Characters. A scanning device
again in situations where their hands recognizes each character by the
are not free to use a keyboard e.g. amount of reflected light (i.e.
people in laboratories. OCR).
b. Marks. A mark in a particular
B. Terminal position on the document will
Typewriters. trigger off a response. It is the
position of the mark that is
converted to a value by the
A terminal typewriter is also a dual-
Reader. (i.e. OMR)
purpose device. It has a Keyboard for
c. Document may be read up to
data input and a small printer for output. It
10,000 A4 documents per hour
closely resembles a modern Electric
typewriter, hence its name.
Features of a document:
a. Documents are printed in a
C. Consoles. stylized form (by printers’ etc.
A console is a device, which is being Fitted with a special typeface)
used, for communication between the
Diamond Systems Ltd.© 14
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Function.
Main storage in modern Computers is
constructed from semi conductor memory
chips. The most common type of semi
conductor memory is called RAM (random
access memory). RAM is volatile i.e. data
is lost when the power supply is removed.
A non-volatile alternative to RAM is ROM
(Read On Memory), in which all contents
are permanently set during manufacture.
Uses.
a. ROM usually forms a small
proportion of main storage, and is
used to store vital data and
programs which need to be held
within main storage at all times.
b. RAM usually forms the major
proportion of main storage, and is
used to store vital data and
programs temporarily during those
times when they are needed in
main memory. It is constantly
being reused for different data
items or programs as required.
i. Absolute value
ii. Positional value
Example 1:
The number '26' in decimal is made up thus: -
POSITIONAL VALUES 103 102 101 100 101 100
(1000) (100) (10) (1)
Digit 6 in position 100 6 =6X100= 6
Digit 2 in position 101 2 =2X101= 2 0
= DECIMAL 26
Example 2:
The number '26' in binary is made up thus: -
POSITIONAL VALUES 24 23 22 21 20 24 23 22 21 20
(16) (8) (4) (2) (1)
Digit 0 in position 20 0 =0X20 0
1
Digit 1 in position 2 1 =1X21 1 0
2
Digit 1 in position 2 0 =0X22 0 0 0
Digit 1 in position 23 1 =1X23 1 0 0 0
4
Digit 1 in position 2 1 =1X24 1 0 0 0 0
= BINARY 1 1 0 1 0
Notes: -
a. The 0s and 1s making up a binary number are referred to as Binary digits or
BITS. Thus the number 26 is composed of 5 BITS.
b. Inside the Computer's storage a 1 would be represent by an electronic cell in a
chip being in an electrically charged state or on and a 0 by an electronic cell in
a chip being in an electrically discharged state.
Binary codes.
Most Computers nowadays use a deviation of pure binary notation just described, in what
may be called “Binary Coded” representation of data. These methods use a fixed number
of binary digits (bits), in fact the basis for most systems is the use of the just 4 binary
positional values only. Each decimal values only.
Each decimal digit may be represented by four bits (see fig below)
Access Time.
Each item of data stored in main storage
whether stored as characters, bytes or
Words is accessible to the control unit on
a completely random basis. The speed
with which this access is made is so fast
as to be called immediate e.g. accessible
in less than one millionth of one second.
Diamond Systems Ltd.© 21
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Extended Memory
(XMS)
(2MB)
Expanded Memory
(EMS)
(1 MB)
HMA
1MB
Upper Memory
Area (384)
640K
Conventional Memory
(640K)
NETWORK STRUCTURES
A number of standard network structures
are shown in the figure below. The
individual circles represent Computers
connected to the network in the case of
LANs and represent IMPs (Interface
Message Processors) to which
Diamond Systems Ltd.© 26
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Chdir\user Del\user\emily
You can also specify any path after the MS-DOS prompts you with the following
command so that you can travel around message:
the directory structure. The following
command, for example. Puts you in the Are you sure (Y/N)
parent directory of your working
directory. If you really want to delete all the files in
the directory, type Y for yes if not, type N
Chdir .. for no to stop the command.
How to display your working Now you can use the rmdir command to
directory delete the \user\emily directory by typing
All commands are executed while you the following command
are in your working directory. You can
find out the name of the directory you rmdir\user\emily
are in by typing the MS-DOS chdir
command with no path. For example, if How to rename a directory
your working directory is \usre\pete, There is no command to rename a
when you type chdir and press the directory in MS-DOS. You can ,
ENTER key, you will see the following: however rename a directory that has no
subdirectories. Suppose, for example
A:\user\pete you want to rename the \user\emily. To
do this you would follow the following
This message shows your working drive, procedure
A, plus your working directory,
\user\pete. To create the new directory, type
Then copy the files from the old Default drive and MS-DOS prompt.
directory to the new directory, type If you don’t specify a drive name when
you type a filename, MS-DOS
Copy\user\pete\*.*\user\emily automatically searches for the file in the
default (current) drive.
Now to delete the contents of the old To let you know that the Computer is
directory, type ready to receive a command, MS-DOS
displays a symbol, called a prompt sign
Del\user\pete\*.* (>). Following the sign is the cursor, the
blinking box or flashing underline that
(Type Y in response to the prompt ”Are shows where the next character you type
you sure?”) will appear.
Finally, to remove the old directory, So when the prompt is A:>, MS-DOS
type searches only the disk in drive A: (the
default drive) for files and programs
Rmdir\user\pete unless otherwise specified.
To change the default drive, simply type
7. VOLUME LABEL the desired drive letter followed by a
colon and press ENTER key.
When using a new disk, you put a label
on the outside of it to help you identify its 10. COMMAND
contents. You can also give each of the
disks an internal label (name) to identify Just as when running programs to create
it called a volume label. and update files, you will also need to
run special programs, called MS-DOS
8. DISK DRIVE commands, that let you work with entire
files.
To use files or programs on a floppy
disk, you must first insert the disk into a 11. DEVICES
floppy disk drive. Floppy disk drives
commonly referred to as the drive A: and Whenever you use your Computer, you
the drive B: A hard disk drive is normally supply the information (input) and expect
installed inside the Computer, usually a result (output). Your Computer uses
referred to as the C: drive. pieces of hardware called devices to
receive input and send output.
9. DRIVE NAME
A complete drive name consists of a 12. DEVICE NAMES
drive letter and a colon. When using a
command, you may need to type a drive Device names are special names given
name before your filename to tell MS- to each device that your Computer
DOS where to find the disk that contains "knows" about. An example of a device
your file. name is LPT1, which stands for the First
Parallel Line Printer connected to your
E.g: B:finance.doc Computer.
MS-DOS displays an appropriate error MS-DOS 4.0 (and above) also supports
message. Error messages apply to 3.5-inch disks, which, like the 5.25-inch
general errors (such as misspelling a floppy disks, are portable magnetic
command) or to device errors (such as disks. Data on 3.5-inch disk is more
trying to use a printer that is out of densely packed, so depending on the
paper). style, a single 3.5-inch disk can store as
much (or more data) as a high-density
DISKS floppy disk.
Floppy disks These smaller disks, sometimes called
A floppy disk is a flexible, magnetized Microfloppies, have rigid plastic covers
plastic disk. A double density floppy disk with metal shields that guard the disk
can store up to 400 single spaced pages from dirt and fingerprints. When you
of text. High-density disk stores up to 3 place the disk into the disk drive, the
times this. computer automatically moves this shield
Every floppy disk is enclosed in its own aside to read the disk.
protective cover. The front of this cover Notice that the 3.5 ` disks have a write
is smooth, while the back has visible protect notch. This notch can be
seams. Remember the following when covered with a built-in tab. When the tab
using floppy disks: covers the write-protection notch, no
data can be written to the disk.
Place labels at the front of the cover,
at the top so that the label does not Hard Disks
touch the magnetic surface of the In addition to floppy disks, some
disk. Computers use a hard disk, which can
Use a felt tipped pen when writing on store much more information than a
the label. Pencil or ballpoint pens floppy disk. Computers also take less
damage the disk if pressed hard time to find information stored on a hard
while writing. disk than on a floppy disk. A hard disk is
Store floppy disks in safe place away usually built into the Computer.
from
- dust
- moisture
- extreme heat
- magnetism.
3.5-inch Disks
Variants: These are programs very to run the program. Select C drive for
similar to virus coded and go by the drive to repair.
same virus family name but give slightly
different effects. Machine won’t boot
Example, a virus called DATACRIME 1 In some cases the Computer might not
causes COM files to increase by 1168 be in a position to start by itself (boot).
bytes while its two variants DATACRIME In such a case, the most probable cause
1B and DATACRIME 2 increases them of this may be either that it is infected
by 128 and 1514 bytes respectively. with a virus or the start-up file or system
files (usually COMMAND.COM) could
Worm: This is often used have been deleted.
interchangeably with virus. A worm is a
program that borrows into a Computer’s To solve this problem:
memory. It is designed to search for idle If it is a virus, use a Virus removal
Computer memory, it then rewrites itself program like DR SOLONON’S Toolkit.
successively through the Computer’s Alternatively, if the machine cant boot,
memory until the system crashes. boot from a clean SYSTEM disk and
copy the start-up files by typing SYS C:
TROUBLE SHOOTING at the A prompt, remove the diskette
When you are running programs there from the drive and reboot the machine, it
arises instance when the Computer does should be able to start normally. It is
not respond to your commands the way good practice to use these two possible
it should. This may take the form of ways to solve the problem.
some unfamiliar signs or symbols At some stages in the process of using
appearing on the screen, or the the Computer you might encounter an
Computer does not seem to carry out error message: DISK FULL
whatever instructions you give it. This This implies that you need more space in
requires you to have a forethought of your respective disk drive. To solve the
what could be the matter. problem, run the CHDSK/F program to
delete unnecessary files in terms of
The Computer may at some instances LOST ALLOCATION UNITS. You would
inform you that there is an error in either be prompted with:
the floppy disk or in the hard disk.
CONVERT LOST ALLOCATIONS TO
Disk error on the floppy disk. FILES?
This error occurs when the Computer Answer NO and some disk space will be
identifies a fault in the floppy disk. To freed.
rectify this problem, run the Norton Disk
Doctor program from the hard disk to Device drivers
diagnose and repair the fault. In most Device drivers is a programs that let the
cases, the error is fixed by the Disk operating system recognize devices that
Doctor program. are not part of the Computer. Examples
of devices are modems, a printer, a
Disk error on the hard disk mouse and an external disk drive. Some
If the Computer informs you that there is device drivers are already installed with
disk error in the hard disk, then there MS-DOS. Other devices, called
might be a problem WITH the hard disk. insatiable device drivers, come with MS-
In this case, put off the machine and DOS for you to install if you need them.
boot from a clean SYSTEM diskette.
Insert Disk kin to drive A and type NDD Insatiable devices drivers provided with
MS-DOS includes
Diamond Systems Ltd.© 37
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Ansi.sys loads the ANASI character set Computer spends reading data from
The ansi.sys insatiable device driver lets your hard disk.
you use ANSI escape sequences in real Smartdrv.sys is ideal for users who work
time mode. An ANSI escape sequence with many applicat5ions and files at
is a series of characters (beginning with once. It is especially useful when
an escape keystroke) developed by the running multiple standard applications
American National Standards Institute) that require swapping-copying
ANSI. These sequences are used to applications to and from the hard disk to
define functions for MS-DOS. make room for all the applications in
Specifically, you can change graphics memory.
function and affect the movement of the
cursor. MS-DOD SHELL
Display.sys support code-page switching MS-DOS shell is a graphical extension of
on the console device. MS-DOS that lets you take advantage of
Display.sys is an installable device driver the power of MS-DOS with a few
that supports code-page switching for keystrokes or a click on the mouse.
the console device When working with MS-DOS SHELL you
Driver.sys supports external floppy disk are using the graphic extension together
drives. with the MS-DOS operating system to
Driver.sys is an installable device driver perform tasks from menus with a few
that allows a physical disk drive to be keystrokes. It lets you perform 2 kinds of
referenced by a logical drive. A logical tasks. You can start programs and work
drive is a pointer to a physical disk drive with your files.
in the system. It includes an optional
different set of parameters describing the Starting programs
disk drive to MS-DOS and is associated MS-DOS SHELL lets you select (start) all
through a drive letter e.g. A. the other programs available in MS-DOS
Printer.sys is an installable device driver commands as you work with your files.
that supports code-page switching for
parallel ports PRN, LPT1, LPT2 AND When shell is active, the start program
LPT3 (the port name PRN may be screen appears. It contains the main
substituted for LPT1 to refer to the first group of programs you will use. DOS
parallel port.) utilities is one of your choice. DOS utility
Ramdrive.sys is an installable device is not a program but leads you to
driver that lets you use a potion of your another group of programs called utility
Computer’s memory as if it were a hare programs in which you can work with
disk. This memory area is called a RAM your disks and set the date and time.
disk and is sometimes referred to as a You can start MS-DOS shell in several
virtual disk. Ramdrive .sys supports one ways based on the capacity of your disk
or more RAM (virtual) drives. RAM disks and the method used to install the
are much faster than hard disks because system determines how you reset your
the information they contain is always system and restart the shell. The most
loaded into memory. common way is to remove all disks and
Smartdrv.sys adds a disk-catching press Ctrl + Alt+Del. Keys. This resets
program for Computers that have a disk your system and starts MS-DOS SHELL.
and expanded or extended memory.
Smartdrv.sys is a disk catching program
for Computers that have a hard disk and
expanded or extended memory. Disk
catching programs are designed to
reduce the amount of time your
Diamond Systems Ltd.© 38
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
To run the tutorial from windows. Use the keyboard to select an item on a
In the program manager window, move menu, and then press F1 to see a
the mouse pointer so that it is pointing to description of the item (available in
the Help Menu, and then press and certain applications)
release the left mouse button. The help Select a dialog box option or command,
menu opens. and then press F1 or the help button to
Move the mouse pointer to the Windows move directly to an explanation of the
Tutorial command, and then press and option.
release the left mouse button. The
Windows tutorial starts. To run the
Diamond Systems Ltd.© 39
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
A major advantage of using windows is When applications run at the same time,
that you can run two or more they share Computer resources. The
applications at the same time. For way they share resources depends on
example, you can have a spreadsheet the type of Computer you have, the type
calculating complex formulas while you and amount of available memory,
are using a word processing application whether the applications are windows
to prepare an annual report. At the based or MS-DOS based, and which
same time, your Computer can be mode Windows is running in.
receiving the latest report about the
industry sales trends that can use in the Switching Between applications
introduction of your report. and Documents
When you have more than one
Starting an application from application window open at once, the
Program Manager window you are currently working with is
If an application is in a group, the easiest the active window. The active window
way to start it is to choose the program always appears in the foreground, so it
item icon for the application from the might overlap or completely obscure
group window. If a document is other windows. To work with another
Diamond Systems Ltd.© 41
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
application, you must select its window You can use the CASCADE and TILE
to make it active. buttons in the Task List to rearrange
application windows so that all running
To switch to an application, use applications are visible on your desktop.
one of the following methods The Cascade command causes the
If the application is visible, click windows to overlap so that each title bar
anywhere in the application window. If is visible. The tile command arranges
the application is running as an icon, the open windows in smaller sizes to fit
double click the icon. next to each other on the desktop
To return to the application you last
used, press ALT+ESC. To arrange application windows
To switch quickly to another application, on your desktop
press and hold down ALT, and then Double click anywhere on the desktop to
press TAB repeatedly. As you continue open Task List. Or press CTRL+ESC.
to press TAB, you see the title of each Choose the Cascade or Tile button.
open application. If you have a number of application
running as icons and they are scattered
When the title of the application you across your desktop, follow the next
want appears in the center of your procedure to rearrange them evenly.
screen, release ALT. The application
you want appears in the foreground. To rearrange application icons
Double click anywhere on the desktop to
Press ALT+ESC repeatedly to cycle open Task List. Or press CTRL+ESC
through open application windows and CHOOSE the arranged icons button.
application icons until you reach the The icons are arranged along the lower
application you want.. edge of the desktop.
Display task list, and use it to switch to
the application you want. Dragging files to perform tasks
When using file manager, program
Using task list to switch between manager, and certain other windows
applications based applications, you can perform
Task List is a window that displays a list some essential tasks by dragging File
of all applications you are currently manager files from one place to another
running. You can use Task list to switch with the mouse. This is known as
to another application. dragging and dropping.
Select the file you want. The directory window is divided by the
Press; and hold down the left mouse split bar. The left side of the window
button, drag the file onto the application displays the structure of the current
window or icon, and then release the drive, or the directory tree. The right
mouse button. side of the window displays a list of files
Quitting an Application in the selected directory.
There are various ways to quit an
application. If you are working on a The following table describes the various
document and you haven’t saved your icons used in the directory window.
changes, you are prompted to save
them. Icon description
Displays the contents of the
To quit a Window based directory one level up in the
application, use one of ;the directory tree.
following methods
From the applications file menu, choose Represents a directory
exit
From the control menu, choose close Represents an application file.
Press ALT+F4 These files start applications or
Double click the CONTROL menu box run programs.
helps you to change the way the files are A check mark next to the command
listed or to display only the files that means it is in effect.
meet a particular criteria. Also when you
are preparing to copy or move a file, it Looking at Drivers, Directories and
may be useful to display both the file and files
the directory that you will move or copy In order to perform tasks in file manager,
the file to. you must be able to locate the file or
directory you want to work with.
Opening a New Directory Window
You can open more than one directory Selecting Files and Directories
window to display more than one drive or To select a file or directory
directory at a time. Among other things, Click the icon. Or press TAB to move to
opening more than one directory window the list of files, and then use the arrow
allows you to move and copy files by keys.
dragging them from one directory
window to another. To select consecutive items
Click first item, press and hold down
To open a new directory window SHIFT, and then click the last item in the
From the window menu, choose new group. Or select the first item by using
window. the arrow keys, press and hold down
SHIFT, and then use the arrow keys to
If you want the new window to display extend the selection to the last item in
the contents of a different drive, double the group.
click the drive icon instead.
To select or cancel selection of non
Use the following commands on the view consecutive items
menu to determine what information is Press and hold down CTRL, and click
displayed for each file. each item,
Or press SHIFT+F8, use the arrow keys
Use this command to move to each item, use the
To Name Display only the names of files SPACEBAR to select it or to cancel
All File Details Display the names, sizes, selection, and press SHIFT+f8 AGAIN.
dates and times of creation, and
attributes of files. To select files with similar filenames.
From the file menu, choose select files
Sort by Name Display s files in In the files box, specify the type of files
alphabetic order, based on the filename you want to select. For example,
sort by type displays files in alphabetic type*.doc to select all files that have
order, based on the filename extension .DOC extension.
Sort by sizes displays files in order of Choose the select button.
size from largest to smallest. Sort By
Date Displays files in chronological order
Changing Drives and Directories
Partial Details Displays specific
The files you want to work with may be
information about each file By File Type
on a different drive or in a different
Specify which types of files are displayed
directory. File manager enables you to
in a directory window.
easily view and work with them.
To change the current drive click a drive
To save the new settings when you quit
icon in the driver bar or double click it to
file manager, choose the save settings
create a new directory window displaying
on exit command from the options menu.
information for the new drive.
Diamond Systems Ltd.© 44
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
Select the file or directory you want to To copy a floppy disk to another floppy
rename, and then choose Rename from disk insert the source disk in the drive
the file menu you want to copy from. If you have two
In the from and to boxes, type filenames floppy disk drives of the same size insert
to rename a single file, or use wildcards the destination disk in the drive you want
(*or?) to rename a group of files. to copy to. Then choose copy disk from
the disk menu.
Searching for files and Directories Both disks must have the same storage
If you know a particular file is on your capacity. But you do not need two drives
disk, but you don’t remember where, you if the same storage capacity.
can use the search command to find it.
More ways to use file manager
To search for a file or directory There are many other features that you
Select the directory that you want to start can use to customize file manager to fit
the search from, and then choose search your needs and to perform various tasks.
from the File Menu. These includes:
Type filename or use a wildcards (* or ?)
in the search for box to search for a Associating files with applications
group of files or directories that have Changing the look of file manager
related filenames or extensions. Managing floppy disks
To cancel the search, press ESC. To Moving around in file manager
closed the search Result window, Starting applications
choose close from the control menu Turning off confirmation messages
Working with files and directories
Printing files Working with network drives.
You can print files by dragging the file
icons onto the Print Manager icon or PRINT MANAGER
window. Some applications do not
support printing through file manager. Print Manager is an important part of the
To print a file by using file manager Microsoft Windows operating system.
Make sure print manager is activated You use windows print manager to install
and then drag the document file icon and configure printers, connect to
onto the print manager icon or window. network printers, and control the printing
Or in the directory window, select the file of your files.
you want to print, and then choose print
from the file menu If you print from a windows application
when Print Manager is active, the
Working with floppy disks application creates a print file and sends
You can use commands on the Disk it to Print Manager. Print Manager works
menu to format floppy disks and copy in the background, sending your files to
the contents of one disk to another. the printer while you continue working.
To format a floppy disk
Insert a disk in a drive Before you can use print manager to
From disk menu, choose format disk perform printing tasks, you must activate
In the disk in list, select the letter for the it.
drive you want to format. The other
parameters are adjusted to match that To activate print manager
drive. In the main group, choose the control
Complete the other areas of the dialog panel icon. Double click the icon. Or
box, and then choose the OK button. use the arrow keys to move the selection
Diamond Systems Ltd.© 46
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
cursor to the icon, and then press A printer driver file gives important
ENTER. information about your printer. Windows
In the control panel window, choose the comes with printer driver files for most of
printers icon. the commonly used printers.
Select the Use Print Manager check box, To install a printer driver file
if its not already selected. In the main group, choose the print
Choose the close button. manager icon
From the options menu, choose printer
Installing and configuring a Printer setup
Before you can print in windows you Choose the add button.
need to connect your printer to your In the List Of Printers box, select the
Computer, and then install it. If you did printer you want to install.
not install a printer when you set up Choose install button
windows, or if you want to add another If necessary, insert the disk that contains
one, use the procedures described in the printer driver file, and then choose
this section. the OK button.
If you are prompted for other files, insert
The PRINTERS. WRI file supplied with the appropriate disk, and then choose
windows provides specific information the OK button.
about printers that windows supports. Choose the close button.
By using windows write, you can view
this file to determine whether it includes Installing a Printer Driver Not
information about your printer. It is Supplied with Windows
recommended that you read this file To install a printer driver not supplied
before installing a printer. with Windows
In the main group, choose the print
To use a printer with windows manager icon.
applications, you must first do the
following: From the options menu, choose printer
Install printer driver file for the printer you setup
want to use Choose the Add button
Select the port you want to assign the In the list of printers box, select install
printer. unlisted Or updated printer.
Choose the install button
Insert the disk that contains the printer
After you install a printer driver file and driver file.
assign the printer to a port, you may be Choose the OK button
able to print, but you may not get the In the list of printers box select the
results you want. If this is the case, you printer you want. If your printer still does
may want to perform some or all of the not appear in this list, you need to
following procedures: contact your printer manufacturer for the
Set the print options that the printer correct printer driver
driver will use while printing your Choose the OK button
documents. Choose the close button.
Specify how much time should elapse
before you receive messages about Setting the printing options
printer problems. Printing options are printer specific
Select the default printer. settings, as resolution, color and text
quality. These options vary, depending
Installing a Printer Driver File on the capabilities of your printer.
Windows assigns settings that should Deleting a File from a Print Queue
work for your printer in most situations. You can use the Delete button in the
You can change these settings to specify print manager window to delete a file
different options. from a print queue at any time.
To change printer settings
If you are not already in the printers To delete a file from the print queue
dialog box, choose printer setup from the From the print queue, select the file you
options menu.. want to delete
In the installed printers box, select your Choose the Delete button
printer. Choose the O.K. button.
Choose the set up button.
Make any necessary changes to the To delete all files from all print queues
options, and then choose the OK button. From the view menu, choose Exit
Choose the close button.
A message appears, asking you to
Looking at the Print Queue confirm that you want to cancel printing.
As you send files to print manager, a
print queue forms. A print queue lists Choose the OK button
the installed printers that have had files
sent to them and show the status of Quitting Print Manager
those files. It shows all files sent from a When running as an icon, print Manager
windows application to a printer quits (and frees the memory it was
connected locally to your Computer (that using) as soon as it finishes printing. If
is, the Computer and printer are directly the Print Manager window is open, print
connected by a cable). manager does not quit automatically.
To look at the print queue To quit print manager
In the main group, choose the print From the options menu, choose exit.
manager icon If there is still files in the print queue, a
message appears, asking whether you
The print queue displays the following want to cancel printing these files
printer information: Choose the OK button to cancel printing
The name of the printer and quit Print Manager.
The port your printer is connected to
The current status of the printer (such as COMPUTER PROGRAMMING
active or idle).
Beneath the printer information, the print LANGUAGES
queue displays the following file
information: Machine and assembly languages
The title of the print job
The files position in the queue, or a The language used by the Computer is
printer icon if the file is printing called machine language. It is written in
The size of the file in kilobytes (if the binary with each instruction containing
print file size command has a check an operation code and an operand. The
mark next to it). operand might be a memory address, a
The time and date you sent the file to device address, or data. In machine
Print Manager (if the time or date set has language programming, storage
a command check mark next to it) locations are designated for the program
If a file is currently printing, the amount and data, and these are used throughout
(as a percentage) of the file printed so the program to refer to specific data or
far. program steps. In addition, the
programmer must be familiar with the
Diamond Systems Ltd.© 48
Kindaruma Rd. off Ngong Rd.
P.O. Box 27681, Tel: 718120
Introduction to Computers
has also been used for some business performs analysis of data, and generates
processing applications. documents and reports.
COBOL PASCAL
Stands for Common Business Oriented Is a high level language developed in the
Language and was developed around early 1970’s and named for the famous
1959. It has become a major Computer French mathematician Blaise Pascal.
language for business data processing The objectives in developing the
applications. COMBOL can be used for language were to facilitate the teaching
numeric and alphabetic data processing of Computer programming as a
and in data file applications. However systematic discipline of knowledge and
the language presumes an to accomplish programming
understanding of information processing implementations, which are reliable and
principles. Therefore, it is not intended efficient on modern Computers.
for the inexperienced programmer.
While COMBOL is suitable for a file OPERATING THE COMPUTER
environment, it is not capable of the
complex mathematical calculations that
In the evolution of the Computer system,
can be accomplished with FORTRAN.
one of the most important considerations
has been the ease of operation of the
BASIC system. Many technological
(Beginners ALL Purpose Instruction
improvements have been made which
Code) was developed as an interactive
now make Computer systems much
language, where the user appears to be
easier to operate and much more
interacting directly with the Computer
efficient.
rather than through punched cards or
other off-line I/O format. Programs are
Input /output control systems and
usually entered and executed by means
of CRT terminals in a time sharing operating systems
network. BASIC is used heavily in the An input/output control system is series
field of MicroComputers, and is being of related programs which, when loaded
used increasingly as an interactive into main storage, interpret input/output
teaching tool in schools. data transfer commands (such as Read
and Write) and control the transfer of
data to and form main storage.
APL (A PROGRAMMING
LANGUAGE) An input/output control system is
Was designed for interactive language,
designed to help improve Computer
where the user appears to interacting
operating efficiency. As the use of
problem solving. A significant feature is
Computers has increased, attention has
that it permits users to define complex
been focused on other areas that require
Algorithms efficiently. The primary data
control. One of these areas deal with
structure in APL is in the form of arrays
the time wasted in the CPU between
and an extensive set of array operators
jobs. In the early systems, the CPU was
is provided.
forced to remain idle while the operator
manually staged the next job by
RPG (Report Program Generator) mounting the correct tape or reading in
Is a language designed for writing the deck of cards. In present systems,
programs that produce printed reports as processing of one job and input of
output. It is widely used in business another can occur concurrently by
environments, where it updates files,
assigned to that terminal. During locally, but providing each group with
operation, the CPU switches from one access to a large central Computer for
terminal to another, executing small jobs requiring a large mainframe and
portions of each program. When a access to corporate data bases.
particular program has completed
execution, a new program is entered into
the newly available memory space. The
concept of many programs executing
almost simultaneously with one CPU is
called multiprogramming.
Distributed processing
Consistent with modern management
philosophies for decentralization in the
control of business, advances in
Computer technology have made
possible a procedure called distributed
Computer processing. Although there is
no universally accepted definition for the
term, distributed Computer processing.
Although there is no universally
accepted definition of the term,
distributed processing generally refers to
the use of intelligent’ terminals which can
perform local editing and data
manipulation and which can transmit
partially processed data to a central
Computer facility for further work. This
type of configuration also occurs when a
communications network exists to
facilitate the transfer of data from
terminals to a central Computer.
Distributed processing allows
geographically separate groups of users
to accomplish much of their processing