Nov2017 cs Q75

0. Match the following WINDOWS system calls and UNIX system calls with reference to process control and File manipulation.
Windows UNIX
(a)    Create - process ()  (i)    Open()
(b)    WaitForSingleObject ()  (ii)    Close()
(c)    CreateFile ()      (iii)   Fork()
(d)    CloseHandle ()  (iv)   Wait()
 Code:
 (a)(b)(c)(d)
(1)(iii)(iv)(i)(ii)
(2)(iv)(iii)(i)(ii)
(3)(iv)(iii)(ii)(i)
(4)(iii)(iv)(i)(ii)

  • Option : A
  • Explanation :
    1. In UNIX Wait() is used to WaitForSingleObject().
    2. In UNIX Fork() is used for create-process().
    3. In UNIX Create() is used for CreateFile().
    4. In UNIX Close() is used for CloseHandle()
    So, option (A) is correct.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *