logo

Assignment | It is used to provide an interface between the software and the data that is being processed.

   

Added on  2022-10-01

14 Pages2232 Words35 Views
 | 
 | 
 | 
1
csc2404 Assignment 1
Semester 2, 2019
Assignment | It is used to provide an interface between the software and the data that is being processed._1

2
Assignment | It is used to provide an interface between the software and the data that is being processed._2

3
Question 1 (marks 25)
system call” is used by a process to request that the kernel perform a task on behalf of the requesting
Why is it necessary that the kernel perform tasks on behalf of processes? Why doesn’t the process
perform the task itself? (6marks)
It is necessary for the kernel to perform because it is considered as the heart of the operating
system. It is used to provide an interface between the software and the data that is being processed
by the hardware components. The kernel also is used in providing the lowest abstraction method
for the available resources which application control so that different functions are accomplished.
The kernel makes this possible through interprocess communication appliance (Helmke
Hudson and Hudson, 2013 ).
The process cannot perform this task by themselves due to the following reasons.
The process cannot provide an interface between the applications and hardware components.
Another reason is that processes do not have the interprocess communication mechanism thus they
cannot communicate with each other and enable the communication between the applications
and hardware components.
Assignment | It is used to provide an interface between the software and the data that is being processed._3

4
The details of the system call interface is hidden from the programmer as the operating system
supplies a library of standardised function calls4. Linux and macOS has over 300 such system
functions.
Explain how these functions actually notify the kernel that a service is being requested of
it, and (4 marks
Answers:
In registering, a system call is an automatic manner by which a PC program demands an
administration from the bit of the working system it is executed on. A framework called is a
for projects to cooperate with the working framework. A PC program makes a system call when it
makes a solicitation to the working system bit. System call gives the administrations of the
working framework to the client programs through. Application Program Interface(API). It gives
an interface between a procedure and a working framework to permit client level procedures to
demand administrations of the working framework. Framework calls are the main section focuses
on the piece framework. All projects requiring assets must utilize framework calls.
Explain the different methods used to: 3MKS
fork() it creates the processes.
Assignment | It is used to provide an interface between the software and the data that is being processed._4

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents