in Operating System edited by
1,027 views
1 vote
1 vote

Match the following WINDOWS system calls and UNIX system calls with reference to process control and File manipulation. $$\begin{array}{llll} & \textbf{Windows} & & \textbf{UNIX} \\ (a) & \text{Create – process ( )} & (i) & \text{Open ( )} \\ (b) & \text{WaitForSingleObject ( )} & (ii) & \text{Close ( )} \\ (c) & \text{CreateFile ( )} & (iii) & \text{Fork ( )} \\ (d) & \text{CloseHandle ( )} & (iv) & \text{Wait ( )} \end{array}$$

  1. $(a)-(iii) \: (b)-(iv) \: (c)-(i) \: d-(ii)$
  2. $(a)-(iv) \: (b)-(iii) \: (c)-(i) \: d-(ii)$
  3. $(a)-(iv) \: (b)-(iii) \: (c)-(ii) \: d-(i)$
  4. $(a)-(iii) \: (b)-(iv) \: (c)-(ii) \: d-(i)$
in Operating System edited by
by
1.0k views

3 Comments

question is not visible
0
0
These are getting added only.
1
1
Option A is correct
0
0

2 Answers

0 votes
0 votes

Ans:  (1)  (a)-(iii)     (b)-(iv)      (c)-(i)    (d)-(ii)

Windows                                                                         UNIX

(a)    Create - process ()                                                 (iii)    Fork()

(b)    WaitForSingleObject ()                                           (iv)   Wait()

(c)    CreateFile ()                                                            (i)    Open()

(d)    CloseHandle ()                                                        (ii)    Close()

0 votes
0 votes

Option (A) is correct.

  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()
Answer:

Related questions