Multiple choice technology operating systems

Which system call is used to to bias the existing priority of a process?

  1. exec()

  2. nice()

  3. brk()

  4. fork()

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The nice() system call modifies a process's nice value, which affects its CPU scheduling priority. Lower nice values indicate higher priority. Other options: exec() executes a new program, brk() adjusts the data segment size, and fork() creates a new process.