Tutorial 1 cst232
Tutorial 1 cst232
GROUP B14
COURSE : CST232
TUTORIAL :1
GROUP : B14
SESSION : SEM I 2022/2023
MEMBER LIST:
1. Can a computer run on more than one operating system (OS) at same time? Explain
your answer.
Yes. However different operating systems must be installed on different partitions of the hard
disk.
2. Show how each of the following operating systems can be used, using common or real
life examples.
a) Batch OS - It groups jobs with the same requirement into batches and executed
simultaneously. It is a first come first serve os.
Example : Payroll system / Bank Statements
b) Interactive OS - Also called time-sharing os, it allows multi-tasking and supports interactive
behaviors between user and system.
Example : Mac OS / Windows OS
c) Real time OS - It is used in time-critical environments and mostly external to the computer
system which will be accepted and processed within certain deadlines.
Example : Airline flight control / Command control systems / Medical systems
3. Explain why multiprogramming was introduced in the 1960s and how it was
implemented?
Multiprogramming was invented to overcome the I/O operations which do not use CPU to
handle jobs. Therefore multiprogramming was invented to make full utilization of the CPU.
Multiprogramming allows the operating system to control over context switching. It allocates the
CPU based on queued programs and their I/O operations.
4. Show the steps performed by the operating system managers as they execute a user
instruction to copy a file from one folder to another.
Users copy a file from one folder to another using pointer and icons elements in Graphical User
Interface (GUI).
Device manager receives the signal of the mouse that would like to make a copy of the file.
File manager then allows the files to be copied (making a duplication of a file or folder and
placing it in another location) and moved (changing the destination of a file or folder from its
original location). [File manager will deal with the standard file operations to make a copy of the
file to another folder.]
Memory manager will check the validity and legality of the memory space request. If it is
available then it will allow the file to make a copy.
Processor manager will carry out the copy process and keep track of it.
File manager again will manage the location of the copied file to a new folder.