Assignment#1
Assignment#1
Linatoc
CS-4101
MS-DOS (Microsoft Disk Operating System) – Is an operating system with a command-line
interface used on personal computers. It translates keyboard input by the user into operation the
computer can perform, it also overseas operations such as disk input and ouput. MS-DOS was
basically a file manager and a simple program loader. MS-DOS was used as main OS before
Windows OS came out and still is in place today. In fact, the MS-DOS was the framework
behind Windows operating system until Windows XP. Unlike other Windows, MS-DOS is a text-
based operating system, that works with a keyboard to input data and receives output in plain text. This is
some importance of MS-DOS that you should know.
You can have easily direct access to the BIOS calls and the underlying hardware.
This will run on smaller systems, and due to its size, it will “boot” much faster than any
windows version.
MS-DOS is very lightweight and it allows direct access to most hardware. However, it
does not have the overhead of a multitasking operating system.
Moreover, MS-DOS is good for making work arounds, for combining programs, and for
managing/administering an MS system.
Interprocess Communication – Interprocess communication is the mechanism provided by the
operating system that allows processes to communicate with each other. This communication
could involve a process letting another process know that some event gas occurred or the
transferring of data from one process to another. Synchronization in Interprocess
Communication is a necessary part of interprocess communication. It is either provided by the
interprocess control mechanism or handled by the communicating processes.
Semaphore – is a variable that controls the access to a common resource by multiple
processes.
Mutual Exclusion – requires that only one process thread can enter the critical section at
a time.
Barrier – does not allow individual processes to proceed until all the processes reach it.
Spinlock – This is a type of lock.
Approaches to Interprocess Communication, The different approaches to implement
interprocess communication.
Pipe – A unidirectional data channel is referred to as a pipe.
Socket – Socket is the endpoint for sending or receiving data in a network
File – A file is a data record that may be stored on a disk or acquired on demand by a file
server.
Signal – Signals are used in interprocess communication in a limited way.
Shared Memory – Is the memory that can be simultaneously.
Message Queue – Multiple processes can read and write data to the message queue
without being connected to each other.