Quiz Space

Operating Systems · Quiz 1 · 7 Jul 2024 · May 2024 term

Question 5: State True or False.\ The init process, being the first p…

Question 5

+2 marksOne correct option

State True or False.
The init process, being the first process created by the system, can exit using the exit system call.

  1. A

    TRUE

  2. B

    FALSE

Show answer

Correct answer

  • B

    FALSE

Question 5 of 19 in the IIT Madras BS Operating Systems (Operating Systems) Quiz 1 paper sat on 7 Jul 2024, in the May 2024 term (IIT M IMPROVEMENT AN EXAM QIM4 7 July 2024). It carries 2 marks.

More questions from this paper

  1. Q1State True or False\ In RISC-V, during system calls, the mstatus register stores the current mode of operation of the p…
  2. Q2The ecall instruction in the xv6 operating system facilitates the transition of the CPU from user mode to supervisor mo…
  3. Q3What is a race condition in an operating system?
  4. Q4What is the primary purpose of the kvminit function in the xv6 operating system?
  5. Q6In the context of xv6 operating systems, what does the zombie state of a process refer to?
  6. Q7In the xv6 operating system, if a timer interrupt occurs while a process is executing, what will be the state transitio…
  7. Q8Figure question
  8. Q9If the memory map for a device starts from the offset 0x30004000 and has a size of 512 bytes in a 32-bit addressing sch…
  9. Q10Consider the code segment given below. Identify the correct sizes of control register, data register, and status regist…
  10. Q11What does the following xv6 code snippet accomplish?
  11. Q12What is the correct sequence of setting up first user process?\ (i) Find an unused proc entry.\ (ii) Create trapframe.\…
  12. Q13Consider a process P1 that forks P2, P2 forks P3, and P3 forks P4. P1 and P2 continue to execute while P3 terminates. N…
  13. Q14Consider the below code for the syscall function in kernel/syscall.c. What value is stored in the a7 register of the tr…
  14. Q15Which of the following actions are performed by userinit?
  15. Q16Assume Process P2 and Process P4 are waiting for an input, Process P1 is running, and Process P3 was running before Pro…
  16. Q17Consider a system with a virtual memory space size of 8 GB and a single page table with 2¹⁸ entries. What is the size o…
  17. Q18Consider a system with 64 MB of physical memory and a 32-bit virtual address space. Given a page size of 4 KB, what wil…
  18. Q19Which of the following can be possible output of the following lines of code?