Which of the following System calls are needed for process control?

This question was previously asked in
Beltron Programmer 1 Oct 2023 Official Paper
View all BELTRON Programmer Papers >
  1. open(), read(), write(), close()
  2. fork(), exit(), wait()
  3. ioctl(), read(), ), write()
  4. getpid(), alarm(), sleep()

Answer (Detailed Solution Below)

Option 2 : fork(), exit(), wait()
Free
Beltron Programmer Mock Test
0.8 K Users
20 Questions 20 Marks 24 Mins

Detailed Solution

Download Solution PDF

The correct answer is Option 2) fork(), exit(), wait().

Key Points

  • System calls related to process control are those that manage the creation, execution, and termination of processes.
  • fork() – creates a new child process by duplicating the calling process.
  • exit() – terminates the calling process and returns a status code to the parent process.
  • wait() – makes the parent process wait until one of its child processes terminates.
  • These calls are essential in multitasking operating systems for managing independent and related processes.

Additional Information

  • Option 1 – Incorrect: open(), read(), write(), close() are file manipulation system calls.
  • Option 3 – Incorrect: ioctl(), read(), write() are related to device and file control.
  • Option 4 – Incorrect: getpid(), alarm(), sleep() are used for process information and timing, but not core process control.
  • Process control system calls play a fundamental role in process creation, termination, synchronization, and status monitoring in operating systems like Unix/Linux.
Latest BELTRON Programmer Updates

Last updated on Nov 25, 2024

-> BELTRON Programmer 2024 Notification has been released on the official website.

-> The Bihar State Electronics Development Corporation Limited (BELTRON) has announced a recruitment drive for Programmer positions on a contractual basis.

-> Specific vacancy details will be shared separately.

-> Interested candidates can apply online from November 11, 2024, to December 10, 2024.

-> The Minimum age of the candidates should be 21 years and maximum age should be 59 year of age. 

Get Free Access Now
Hot Links: teen patti master online teen patti master apk download teen patti master 51 bonus rummy teen patti