✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the following code which uses Python to call the ‘fork’ system call. Line numbers are given just for your reference.
1 x = -1
2 pid = os.fork()
3 time.sleep(1)
4 if pid == 0:
5 x = 0
6 print “The value of x is ” + str(x)
Select all of the following statements that are true (incorrect selections will reduce your overall marks for this question).