Question 65Asked in UGC NET Computer Science, November 2017 (Paper II & III, Selected Questions)

Match the following WINDOWS system calls and UNIX system calls with reference to process control and file manipulation.

Match the following WINDOWS system calls and UNIX system calls with reference to process control and file manipulation. Windows A. Create - process ( ) B. Wait for single object ( ) C. Create file ( ) D. Close Handle ( ) UNIX i. Open ( ) ii. Close ( ) iii. Fork ( ) iv. Wait ( ) Code : A B C D
  1. Aiii iv i ii
  2. Biv iii i ii
  3. Civ iii ii i
  4. Diii iv ii i
Show answerHide answer

Correct answer: (B) iv iii i ii

Explanation

Note: the standard correspondence is CreateProcess() - fork(), WaitForSingleObject() - wait(), CreateFile() - open(), CloseHandle() - close(), i.e. A-iii, B-iv, C-i, D-ii, which is option (a); the book keys (b). The book's mapping is A-iv, B-iii, C-i, D-ii.

From UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions)

This is question 65 of UGC NET Computer Science PYQ, November 2017 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.