























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
prepared by the student
Typology: Lecture notes
1 / 95
This page cannot be seen from the preview
Don't miss anything!
























































































2 .....................................................................................................................................................
3 .....................................................................................................................................................
4 .....................................................................................................................................................
We are highly privileged to have you here at our training center. It is our great pleasure to wish you every success and an enjoyable time. You certainly made the right choice in selecting K_C for your computer course!. Here are some of the privileges you enjoy at K_C:
We hope you will enjoy your course and we wish you every success in this.
In the introduction , you are introduced to computers , what they are and the different types of computers there are.
At the completion of this introduction unit you should be able to :
A Computer is an electronic device that works under the control of stored programs.
The four major categories of computers are
Computer systems are divided into two parts
This refers to the physical components of the computer. These include the monitor, printers etc
A Computer can be divided into 3 basic parts
Monitor (VDU) Displays whatever is being keyed or being processed by the computer. There different types of monitors namely Visual Graphics Array (VGA) , Enhanced Graphics Array, monochrome monitors etc..
Keyboard Enables operator to key in information. This may be for processing or retrieval later. There two main types of keyboards namely
The main differences between the two are
What Happens When you switch on the computer?
The process of starting a computer is called BOOTING. The computer first checks its memory and some other components. After this, the drive will begin to spin and the boot process will commence. The system then reads drive A for the operating system. If it does not find it in drive A it checks drive C. On finding the operating system, it reads COMMAND.COM. This is the command processor file. It contains all internal commands e.g. CLS, DATE, TIME etc. After reading the COMMAND.COM it checks if autoexec.bat exists. If it does, it carries out the commands in that file. If it does not exist, it prompts for the date, time after which the prompt appears. Flushing next to the prompt is the cursor. We are now ready to type in a DOS command.
What is an operating system ?:
An operating system is your "Silent partner" when you are using a computer. An operating system is the piece of system software most closely associated with the hardware. Providing an interface between the hardware and both you (the user) and other software.
There exists a variety of operating systems for use on different hardware setups. SCO XENIX (developed by SCO inc.) was developed to run a "multi-user" environment where many users are connected to a single CPU via dumb Terminals. APPLE DOS (developed by APPLE Inc) was developed to run specifically on apple computers. PCDOS (developed by Micro soft Inc) runs on IBM personal System for use with other IBM Compatible computers, under the name MS DOS. All computers have either two Floppy disk drives or one floppy drive and a Hard disk drive. Although DOS is loaded automatically in Hard Disk Drive computers, in the case of a twin Floppy drive computer a DOS Diskette has to be kept ready and inserted into the computer every time is switched on.
"Loading DOS: refers to the action of starting the computer and transferring DOS software from three system files to the memory of the computer. These files are
which contains all "Internal" DOS Commands, IBMBIO.COM (Basic Input and output) IBMDOS (disk operating system) the last two files are Hidden and cannot be listed by the ordinary computer user using the dir command.
1.6 The DOS Prompt
The purpose of the DOS prompt is to indicate to the user that the computer is active and awaiting a DOS command from the user. The prompt consists of the Drive Designation letter followed by a "greater-than" sign e.g. A>. The Drive designation letter indicates the "active" or "Default" Disk Drive. This means that should DOS need a file it will look for it in the default disk drive.
E.g. A:> Active drive A: C:> Active drive C:
If classification where to be by disk drives there would exist two types of computers.
The first type consists of two Floppy disk drives and the second one Floppy Disk Drive and one Fixed or Hard Disk Drive. In the former The Drives are designated the letters A and B, whilst in the latter A and C. Sometimes there exist two drives in the Hard Disk Drive designated C: and D:. Dome times a harddisk computer could have two floppy disk drives thus it would have drives A, B and C or A, B, C and D.
All data residing on any storage device within a computer must be contained in a file. Every file has a filename that is unique and can be used to identify that file.
Example of filename :
max 8 letters min 1 letter a dot max 3 letters min 0
Filename are always user specified and are to be of maximum 8 letters. A filename should indicate the contents of a file. File extensions are normally specified by the computer software and indicate the type of file.
Example of File extension and the type of contents :
.COM - Command Files .EXE - Executable Files .DBF - Database Files .DOC Ms Word files .PRN - Print Files .TXT - Text File .DOC - Document File XLS - Ms Excel files Filenames and extensions may not have the following special characters : , ; /. | ? * or a space. The same applies for a file extension.
11
In this unit you learn the importance of DOS and learn how to use internal DOS commands.
By the completion of this unit you should be able to:
All computers have either two Floppy disk drives or one floppy drive and a Hard disk drive. Although DOS is loaded automatically in Hard Disk Drive computers, in the case of a twin Floppy drive computer a DOS Diskette has to be kept ready and inserted into the computer every time is switched on.
"Loading DOS: refers to the action of starting the computer and transferring DOS software from three system files to the memory of the computer. These files are COMMAND.COM which contains all "Internal" DOS Commands, IBMBIO.COM (Basic Input and output), IBMDOS (disk operating system) the last two files are Hidden and cannot be listed by the ordinary computer user using the dir command.
The MS Disk Operating System has the following functions: Reporting of the status of the computer. It shows the various files within the storage, their names. Sizes and types. It also shows the memory capacity and usage.
File manipulation including copying, deleting, renaming and creating. Preparing new Floppy diskettes to be used by the computer or new Hard disks.
Printing of Files within the storage onto the printer
Prevention against loss of data by providing backup facilities.
Organization of the storage to facilities easy storage and retrieval of files.
DOS commands are of two types; Internal and External Internal commands are those that can be executed form the memory of the computer Example of internal commands :
External commands are not retained in the memory of the computer but must be transferred from the storage device (Hard Disk or Floppy Diskette) into the memory to be executed. Upon completion of execution these files are wiped off the memory. The files that contains the instructions for the command are stored under the name of that command.
2 Example of external commands :
Each of the above commands will be covered further in the manual.
The DOS Prompt
The purpose of the DOS prompt is to indicate to the user that the computer is active and awaiting a DOS command form the user. The prompt consists of the Drive Designation letter followed by a "greater-than" sign e.g. A>. The Drive designation letter indicates the "active" or "Default" Disk Drive. This means that should DOS need a file it will look for it in the default disk drive.
E.g. A:> Active drive A: C:> Active drive C: Disk Drives If classification where to be by disk drives there would exist two types of computers.
The first type consists of two Floppy disk drives and the second one Floppy Disk Drive and one Fixed or Hard Disk Drive. In the former The Drives are designated the letters A and B, whilst in the latter A and C. Sometimes there exist two drives in the Hard Disk Drive designated C: and D:. Some times a harddisk computer could have two floppy disk drives thus it would have drives A, B and C or A, B, C and D. Throughout this manual whenever a Disk Drive is referred to it has the designator letter
14
a) Give two examples
b) What is the difference between the two.
In C:\DOS display the files which :
Type: Internal
Purpose: To reset the system date Syntax: DATE Comments: This feature resets the system clock date. Most computers show the American format of date unless a COUNTRY command has been executed to dictate otherwise.
PRACTICE: Type DATE
mm/dd/yy (use hyphens or slashes in between the date month and year e.g. 12/12/92 or 12-12-
Name: Clear Screen Type: Internal Purpose: Clears the terminal screen Syntax: CLS
PRACTICE: Type CLS
Type Internal
Purpose: To make a duplicate file onto another disk or the duplicate a file to another under a new name.
Syntax: COPY [DRIVE FROM]:
Comments: are must be used in using the copying command in that if a file already exists
with the target name it will be overwritten.
PRACTICE: Type COPY C:\autoexec.bat A: [ENTER]
Type DIR A: [ENTER] Notice directory of A now has the file AUTOEXEC.BAT
To copy the same above file to drive A and simultaneously change its name to EXER.NEW
Thus to copy all files with extension SYS from drive C to drive A COPY C:*.SYS A:
and to copy all files with extension BAT from drive C to drive A and simultaneously change their
19
extensions to OLD