Unit 3 CF & Oa
Unit 3 CF & Oa
An Operating System (O.S.) is system software that manages hardware and software resources on a
computer. It acts as an intermediary between users and the computer hardware and enables users to
interact with the system effectively. The primary goals of an O.S. are to make efficient use of resources,
provide a user-friendly interface, and ensure security and multitasking.
Services in O.S.:
Operating systems provide a variety of services to users and applications, which include:
1. Process Management:
2. Memory Management:
o Allocates memory to processes when needed and frees it when not in use.
4. Device Management:
o Manages device drivers and controls hardware devices (e.g., printers, hard drives).
o Ensures that data can be transferred between software and hardware efficiently.
o Provides a way for users to interact with the system, either through a command-line
interface (CLI) or a graphical user interface (GUI).
7. Networking:
DOS was developed in the early 1980s by Microsoft for IBM PCs.
Initially, MS-DOS (Microsoft Disk Operating System) was one of the most popular O.S. for PCs.
It was a single-tasking, command-line-based operating system and relied on floppy disks and
later hard drives for data storage.
MS-DOS was widely used until graphical user interfaces (GUIs) like Windows became popular.
Files: A file is a collection of data stored on a disk. It can be of various types like text, program, or
binary files.
Directories: A directory is a container that stores files and other directories. It helps in organizing
files in a hierarchical structure. Directories can be nested within other directories
(subdirectories).
File Extensions: In DOS, file extensions were used to identify the file type (e.g., .txt for text
files, .exe for executable files).
Internal Commands:
These commands are part of the command interpreter and are available as soon as the system
starts.
External Commands:
These commands are not part of the command interpreter and require separate executable files.
They are stored as .exe or .com files on disk and are loaded when invoked.
Batch Files:
Batch Files are text files with a .bat extension that contain a sequence of DOS commands to be
executed automatically.
These files are useful for automating repetitive tasks like backup operations or system
configurations.
@echo off
Key Points:
o Jobs are grouped together, and the O.S. executes them in sequence.
o Allows multiple users to share the system resources simultaneously by giving each user a
small time slice.
o Manages a group of independent computers and makes them appear as a single unified
system.
o Manages the network infrastructure and provides services like file sharing and printing.
o Designed for use by one user at a time and handles one task at a time.