Chapter 2 Operating System
Chapter 2 Operating System
1
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
c. Based on User:
i. Single user Operating system:
Single user operating system is a type of operating system designed for
use by single user at a time.
Ex: MS DOS
ii. Multi user Operating System:
Multi user operating system is a type of operating system which allows
many users to simultaneously use a single computer.
2
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
3
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
4
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
5
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
*File:
File is the collection of related information.
A file is a collection of data stored in one unit, identified by a filename. It can be a
document, picture, audio or video stream, data library, application, or other collection
of data.
Types of File:
Data File: It is the collection of data that is used by computer program.
Program File: It is the collection of instruction that performs specific operation in
the computer.
Information File: It is the collection of information that has been produced by
computer, It is also called output.
System File : It is the special program files that are used to initiate or start the
system. The DOS system files are:
MSDOS.SYS: It controls & Provide OS interface.
COMMAND.COM: It interprets the user command.
IO.SYS: It controls the input /output units.
*File Name:
The identification of file is called file name that can be used to access information, data
or instruction in a computer.
All of the information is stored under a unique file name.
File names are divided into two parts:
a. Primary File Name:
It is the compulsory and must be defined.
It contains 1 to 8 characters(255 characters in windows)
b. Secondary Name/ File Extension:
It is an optional in DOS. The extension automatically supplied by
programs.
Up to 3 characters.
6
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
**DOS COMMANDS:
A command is a set of instructions used to perform a specific task.
There are two kinds of DOS commands. They are:
a. Internal commands:
Internal commands are built-in the command.com
Internal commands are memory resident.
Internal commands are primary commands and available in RAM.
Internal commands execute immediate because they are built in for DOS.
Therefore, when DOS is loaded, these commands are ready to be executed.
Some internal commands are as follows:
DATE TIME DIR CLS DEL or EXIT COPY
ERASE
COPY CON REN MD CD RD PROMPT VOL
TYPE VER PATH BREAK ECHO PAUSE VERIFY
SET START COLOR MKDIR RD CHDIR MOVE
VOL RMDIR
7
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
b. External Commands:
External commands are stored on directory of disk having the extension .exe
or .com.
External commands are disk resident and are on the disk as a program files.
Commands available on disks are called external command.
The disk drive must read the content of each file before execution.
There are many external commands or files:
CHKDSK DISKCOPY FORMAT LABEL SYS TREE
ATTRIB DEL TREE PRINT MORE SCANDISK DISKCOMP
MEM XCOPY BACKUP CHOICE DEBUG DEFRAG
EDIT EDLIN EXTRACT FIND FORMAT HELP
MODE MORE MOVE RESTORE RECOVER SORT
SHARE START SETVER UNFORMAT UNERASE SUBST
FC MSD DOSKEY FDISK REPLACE
***Internal Commands:
A. DATE:
This command displays system date and lets user to modify it.
Syntax: DATE
EX: C:\>Date
B. TIME:
This command displays system time and lets user to modify it.
Syntax: Time
Ex: C:\>Time
C. CLS:
This command clears the screen.
Syntax: CLS
Ex: C:\>CLS
D. DIR:
This command displays a list of files and directories in different order.
Syntax: Dir(Options)
DIR : Displays all files and directories at a time.
DIR/P : Displays all files and directories page by page
DIR/W : Displays all files and directories in wide form in five columns
DIR/S : Displays files in specified directory and all subdirectories.
DIR/A : Displays file with specified attributes:
DIR/AD : Displays directories only.
8
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
9
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
H. TYPE:
This command displays the contents of previous making text files.
Syntax: Type <file name>
I. REN:
This command allows user to change the name of the existing text file by new
name.
Syntax: Ren <old file name> <New file name>
Ex: C:\> Ren Nepal operator
J. DEL or ERASE:
This command allows user to delete or erase the existing files.
Syntax: DEL or ERASE <file name>
Ex:C:\>DEL or ERASE Nepal
K. MD(make directory):
This command is used to create a directory.
Syntax: MD<Directory Name>
EX: C:\> MD Nepal
L. CD(Change Directory):
This command is used to change (enter) into the directory.
Syntax: CD(Directory Name)
Ex: C:\>CD Nepal
Note: use CD. or CD/ to close the existing (all) directories and return into the
main drive.
M. RD( Remove Directory):
This command is used delete or removes the existing directory (Empty only).
Syntax: RD<Directory Name>
Ex: C:\>RD Nepal
N. Exit:
This command is used to exit from DOS into the windows mode. It works only if
DOS is loaded from windows mode.
Syntax: Exit
EX: C:\> Exit
O. VOL:
This command displays the volume label and serial number (if exists) of the disk
drive.
Syntax: vol <Drive name>
Ex : C:\>VOL C:
10
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
P. VER:
This command displays the MD-DOS version currently in use.
Syntax: Ver
Ex: C:\> ver
Q. Path:
It creates links(path) with different directories which associated with computer
programs that is used run linked program anywhere without accessing it
permanent location.
Syntax: Path=……….
Ex: C:\>Path=C:\Typeshala
***External Commands:
A. MOVE:
This command allows user to move the files from one location to another.
This command is also used to rename the directory.
Syntax: Move <Sources> <Destination>
Ex: C:\> Move C:\MYDOC\*.DOC A:
B. XCOPY:
This command is used to copy files and subdirectories from one location to
another.
Syntax: XCOPY<Source Files> < Destination>
EX: C:\>XCOPY C:\MYDOCU\*.*/s A:
where Options:
/s: Copies directories and sub-directories except empty ones.
/e: Copies all directories and sub—directories.
C. SYS:
This command is used to transfer system files.
Syntax: Sys<Source Drive> <Destination Drive>
Ex: C:\> Sys A
A:\>SYS A:C
D. LABEL:
The command displays the disk drive volume label. It also allows changing the
volume label of the disk drive.
Syntax: LABEL DRIVE:
Ex: C:\> LABEL A:
11
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
E. FORMAT:
This command is used to prepare a disk for use with DOS.
After formatting a disk, sectors and tracks are created into a new disk.
It removes all contents of the disk and creates new sectors and tracks.
Syntax: FORMAT [DRIVE:] [/s][/q]
Ex: C:\>FORMAT A:
Options:
/q: perform a quick format
/s: copies the system files on the formatted disk.
F. ATTRIB:
This command allows user to change the attributes of files.
Attribute Function
+H Hide
-H Unhide (make hidden file visible)
+R Read-only ( File cannot be overwritten or erase)
+S System files (Specify file as a DOS system file)
-S Non-System( Removes DOS system file system)
G. More:
This command is used to display the output page by page instead of continuous
scrolling.
Syntax: <command> More
Ex: C:\>Dir/more
H. Mem:
This command displays the memory status of computer system.
Syntax: Mem
Ex: C:\>Mem
I. Tree:
This command displays the directory structure of a drive or path. You can use a
switch to display all the file of each sub directory.
Syntax: Tree <driv:> <path>
Ex: C:\>TREE
J. CHKDSK:
This command checks the drives( including directories, subdirectories and files)
for errors and provides a disk and memory status report.
Syntax: CHKDSK Drive:
Ex: C:\>CHKDSK/F/V
Option:
/F: Check and fixed errors on the disk
12
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
13
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
Q. FIND:
This command searches for a specific text string in a file or files.
Syntax: FIND[/v][/c][/n] "string" [drive\filename]
Ex: C:\>FIND "computer" smart.txt
Options:
/v: Displaying all lines not containing the specified string.
/C: Displaying only the number count of lines containing the text string .
/N: Displaying line numbers with the displayed lines .
***Some Important Files:
a) Batch File:
A Batch file is small program file containing the list of DOS commands.
A file containing a series of DOS commands executed one after other as their
sequence.
The batch file should have .bat extension because the .bat extension is one of the
executable (Program) file's extensions.
The special batch file is Autoexec.bat or startup file and it is a self execute file.
b) Himem.sys:
It is the MSDOS device driver that configured extended memory and High
Memory Area (HMA).
c) EMS(Extended Memory Specification):
A set of standards and an operating environment that enables all the programs
to access extended memory.
XMS requires a utility program known as an extended memory manager such as
himem.sys.
d) EMM386.exe:
The EMM386.exe is required for DOS running in a computer with 80386 or
higher processor and extended memory, an expanded memory emulator that
enables DOS applications to the extended memory.
***Booting:
The process of loading system files (IO.SYS, MSDOS.SYS, COMMAND.COM) into
main memory from bootable disk.
There are two types of booting:
i. Cold Booting:
Booting by turn on computer.
ii. Warm Booting:
Pressing reset/restart button while the computer is in ON state
or press ALT+CTRL+DEL
14
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
***System tools:
a. Scandisk:
Logically fix the error.
It carries out the lost cluster and to rectify error on disk.
Best tool for fixing the error.
b. Disk cleanup:
Remove the temporary files and cleanup unwanted unnecessary files.
c. Disk Defragmenter:
A utility that can be used to minimize the number of fragmented files and
enhanced the speed.
It optimizes the disk performance and reduces the fragments by organizing
blocks.
d. Drive space/ DBL space:
It effectively increases the disk drive's capacity.
It creates more space.
It is also called disk compression tools.
e. Backup and Restore:
It is used to save an extra copy of file.
The backup data can be restored when it is needed for use
f. Format:
It is used to prepare a blank disk and create a new blank disk from a used one.
g. System Checker:
It keeps track of critical files that make your computer run.
If these are moved or changed, system file check restores them.
h. Registry Checker :
It is a system- maintenance program that finds and fixes registry problems.
I. Task Scheduler:
It is a system tools(utility) that is used to schedule any program to run at specific
times such as disk cleanup, virus checking etc.
J. Character Map:
k. System Information:
It is a system tool which shows the information regarding the system such as the
installed applications, drivers, the processor and computer resources.
It can be used to quickly find the data they need to resolve your system problem.
15
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
Backup
WinZip
Winrar
16
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
***Types of disk:
17
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
***Windows Desktop:
a. Desktop:
The windows desktop contains applications, folder and file icons, the taskbar and
the system tray.
b. Icons:
A picture or graphics symbol used to represent an application or folder.
c. Start button:
The start button provides access to applications, accessories, documents, help
options and system tools.
d. Taskbar:
This panel contains the start button, task button (open windows) and the system
tray.
The taskbar is the small blue horizontal bar appears at the bottom of the initial
startup display in the windows OS.
e. System Tray:
The tray shows the date and time, and the status of system components.
f. Dialog Box:
Dialog box is a secondary window containing different options and controls that
allows users to perform a specific operation.
It is a user interface contains group of commands or controls.
***Components of Desktop:
a. MY COMPUTER:
It is a folder.
It allows the user to access document or program.
It allows the user to access location of data storage media such as fixed storage
(hard disk) and removable storage media such as Optical storage, Flash drive etc.
It also allows the user to view or change the computer system properties (system
configuration and hardware).
b. FOLDER(DIRECTORY):
It is file container of File cabinet.
It is a space of disk which is used to holds files and other subfolder that can be
organized efficiently.
It is a space of Memory ( External / Secondary Memory).
c. RECYCLE BIN:
It is like Dust-bin or folder on disk.
It is a holding place for deleted items from windows OS.
18
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
File that is deleted accidently can retrieve back by restoring file from recycle bin
and remove permanently by empty recycle bin.
By pass delete- deleting file or folder without putting them into recycle bin-
simply press shift+Delete.
It is reserved space on your hard disk to store the deleted data.
d. MY NETWORK PLACES/ NETWORK NEIGHBORHOOD:
It is workgroup folder.
It allows the user to access different users and their document within a LAN.
It also use to establish new connection to shared resources and configure our
network connection including LAN and Dialup connections.
e. MY DOCUMENT:
It is a folder which stores the file created in office package.
It is the defaults file folder for office document.
f. BRIEFCASE:
Briefcase is a special folder used for synchronizing the data between the systems
and movable storage devices.
The contents of briefcase can be update, if any changes are made by another
user.
g. ZIPPED OR COMPRESSED FOLDER:
The Zip folders compresses the files, folders and programs decreases their size
and reduces the space they use on the drives or removable storage devices.
h. INTERNET EXPLORER:
It is a default web browser comes with Microsoft windows.
It is used to access internet or browsing a website.
It also offers many accessibility options to help increase readability and to work
better with assistive technology.
i. OUTLOOK EXPRESS:
It is an email program developed by Microsoft that allows user to store, manage,
send and receive email messages.
It is free and comes bundled with Internet Explorer Web browser.
It is email management program is also known an email client.
j. WINDOWS EXPLORER:
It allows the user to access files, folder, disk most efficient way in the explorer
window.
It is a file manager that provides a hierarchical view of all the resources of
computer.
It is an indispensible tool of windows OS that is used to organize and control the
files and folders of the different storage systems.
19
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
Start menu is the main gateway to the computer's programs, folders and settings and it
provides different list of commands that are used for specific operation.
a. Programs/ All programs group:
A collection of related programs (windows OS application and other additional
application that are installed into the computer.
It is quick way to access program.
b. Find/ Search:
Start menu includes a search box that a user can use to find files, folders,
programs and e-mail messages stored on computer.
c. Recent Documents:
The list of document that a user had been previously worked.
d. Documents:
Quickly opens the documents folder that contains user documents such as
text files, spreadsheets, presentations and other kinds of documents.
e. Shut Down:
The windows will write all unsaved data to the hard disk and prepare the
machine for power off. When a user select this command, the closes all
open programs, along with windows itself.
The various commands for shut down options are as follows:
Restart
Turn off
Hibernate
Sleep(stand by)
*** WINDOW:
A window is a box or frame on the screen.
Types of window are:
a. Application window:
The window that contain a program at the time of running and working such
as MS word, MS excel etc.
Short cut key to close the application window is ALT+F4.
b. Document window/ Child window:
A window that comes inside an application window is called document
window.
Shortcut key to close the document window is Ctrl+w.
20
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
b. Word Pad:
It is a word processing application that comes with Windows OS.
It supports the rich formatting text and powerful than Notepad.
The default file extension is .rtf.
It is portable type word processing package not require much memory to run.
21
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
22
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
e. Automatic Updates:
It allows the user to update the user windows (client) from the Microsoft update
website and also specify the permission before downloading or installing
updates or switch off the update feature.
f. Bluetooth Device:
It allows the users to configure the Bluetooth connection and showing a list of
Bluetooth devices interacting with the system.
g. Color Management:
It allows the users to create and load the color profiles which are associate
screen color with printers and cameras and view 3D graphics.
h. Date and Time:
It allows user to change the date & time stored in system BIOS or specify the
time zone that can synchronize the date & time with internet time server.
i. Display:
It allows the user to change the display characteristics of the system such as
desktop background (wallpaper), screen saver, theme, screen resolution,
graphics card etc.
j. Folder Options:
It allows for configuration of how files and folders are presented in file manager(
windows explorer) such as general setting like opening in new window or
existing window to show file extension , modify file type association, showhide
hidden files & folder etc. in the system.
k. Fonts:
It displays all installed fonts from the computer and allows user to install new
fonts and remove the install font from the system. It is style of symbols.
To install fonts:
a. Method 1:
Open fonts box:
-Click start
- Select and click on run
- Type "fonts"
- Click on ok
Then fonts box will appear and click on file.
Select and click on install new fonts.
Choose driver and fonts stored folder.
Then all fonts will appear and select all and click on install.
23
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
b. Mehod 2:
First copied the fonts.
Then open the fonts box and paste there.
l. Game Controllers:
It allows user to add, display and use advanced settings on joysticks and game
controllers.
m. Infrared:
It allows the users to configure the wireless infrared ports including options such
as connectivity and security.
n. Internet Options:
It allows the user to change the way the computer manages internet connections
and setting for internet browser such as specify homepage, delete internet
history, security & privacy settings, modem connection, proxy setting and other
advanced configuration
o. Keyboard:
It allows user to change keyboard settings such as language, key repeat rate,
cursor blink rate etc.
p. Mail:
It allows for configuration of the mail client in windows.
q. Mouse:
It allows user to change configuration of mouse such as double click and scroll
speed, Mouse pointer appearance of each task(busy, resize)
r. Network connections:
It displays and allows the user to create or edit the network connection such as
LAN and internet connection.
It also offers troubleshooting function in case the computer has to be
reconnected to the network.
s. Phone and Modem:
It allows the users to manages the telephone and modem connection in the
system
t. Power options:
It allows the user to manage energy consumption by specifying the time to turn
off display, dim display, put compute to sleep, brightness control, configure UPS
etc.
u. Printers and Faxes:
It displays all printers and faxes currently installed on the computer, shows the
jobs queued in a printer, also set the printer and fax preferences.
24
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
25
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
26
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
27
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
28
Delta Computer Institute, Birendranagar-6, surkhet. 9858077977 upendra malla
c. HPFS(High Performance File system): It is a file system specially designed for OS/2 to
improve the limitation of FAT system.
d. NTFS(New Technology File System) : I support long file names, large volume and data
security. It support drive sizes up to 256 TB (windows NT, WIndows 2000, Windows
Vista, Windows XP, WIndows 7, Windows 8, Windows 10 etc.
***Linux:
Linux is an open source operating sytem which is freely available .
29