d.Type of system calls: ( 5 Marks )Important points:
System calls provide the interface between a process and theoperating system. Process control end, abort - load, execute
File management :
create file, delete file - open, close - read, write, reposition
request device, release device - read, write, reposition
get time or date, set time or date - get system data,set system dataget process, file, or device attributes- set process, file, or device attributes
create, delete communication connection- send, receivemessages - transfer status information - attach or detach remote devices _____________________________________________________________________________________
e.Linux file permissions:Important points:
file permission symbols
–for files, d fordirectories, l for links, c for character devices, b for block devices, n for networkdevices, r-read permission, w for write permission, x for execute permission. Ownerof the object, group of the object, others. And their permission. Linux file permissioncodes.
for changing permissions. __________________________________________________________________________________ ___________________________________________________________________________________
Q.2 a) Answer any two
i) Explain the Round Robin scheduling algorithm. Calculate theaverage waiting timefor the following processes using Round Robin policy with a timeslice 10
Explanation + Gantt chart + Avg. wt timeImportant points:
scheduling algorithm is designedespecially for timesharing systems. It is similar to FCFS scheduling, but preemptionis added to switch between processes. A small unit of time, called a time quantum(or time slice), is defined. A time quantum is generally from 10 to 100 milliseconds. Theready queue is treated as a circular queue.