Professional Documents
Culture Documents
2 Marks Questions 1
2 Marks Questions 1
Multitasking OS
-operating system which supports for multitasking, permits for execution of many
software processes at the same time. Multiple task handeled concurrently
-Example of multitasking OS
UNIX, Windows 2000
Types of view
i)Application view:
ii)Users View
iii)System view
iv)Implementation view
4 MARKS QUESTIONS
1.What are the components of computer system? Explain with the help of diagram
Ans: Operating system consists of many components. Each component of the operating
system has its own set of defined inputs and outputs, Different components of OS performs
precise tasks to offer the overall functionality of the operating system
Components of OS
Components of OS
i)Memory management
The memory management activities handeled by OS are
i. Allocation of memory to the process
ii. Free the memory from process after completion of execution
iii. Reallocation of memory to a program after used block becomes free
iv. Keep track of memory usage by the process
ii)Device Management
i. To open close and write device driver
ii. Communicate, control and monitor the device driver
i)User Management:-
Ii)User Authentication
Categories
a. Process Control
b. File Manipulation
c. Device Manipulation
d. Information Maintenance
e. Communication
2 Categories
1)File manipulation: create file, delete file, open close , read , write, reposition , get devices
attributes, set device attributes
2)Information Maintenance: get time or date, set time or date, get system data, set system
data, get process attributes, set process attributes
6. Explain different process state with help of state diagram
Ans: -program or application under the execution Is know as process
-During execution, process changes it’s state. Process state shows the current activity of
the process. Process state contain 5 state
iv) waiting(blocked)state: a process can’t continue the execution because it is waiting for
event to happen such as I/O completion.
v) Terminated state: when the process has completed execution, it transist to terminated
state
7.. Explain Time sharing Operating System
Ans: -Multiple users are permitte by time shared operating system to share the machine at
the same time. Time shared system is capable of completing each action or command in a
very less time. A particular user program executes in allocated time by system and after
expiration of slot, system gets allocated to other user program.
-Consider the example of multiple users logged in same server. The resource in server
machine like CPU gets allocated to each user, giving the feeling to each user that only he or
she is using the server machine exclusively
- User can execute their jobs in small time slot allocated to them , after expiration of this
slot , system switches to other user and again time quantum is allocated to execute his/her
job.
Information in PCB