Quiz Space

Operating Systems · Quiz 1 · 15 Mar 2026 · January 2026 term

Question 15: When a process invokes the exec system call, which compo…

Question 15

+2 marksOne correct option

When a process invokes the exec system call, which components in the Process Control Block (PCB) remain unchanged?

  1. A

    Page table entries

  2. B

    Process identifier (PID)

  3. C

    The value of the program counter

  4. D

    File descriptor table and memory information

Show answer

Correct answer

  • B

    Process identifier (PID)

Question 15 of 18 in the IIT Madras BS Operating Systems (Operating Systems) Quiz 1 paper sat on 15 Mar 2026, in the January 2026 term. It carries 2 marks.

This question was also asked in

More questions from this paper

  1. Q1If the memory map for a device starts from the offset 0x40002000 and has a size of 4096 bytes in a 32-bit addressing sc…
  2. Q2Consider the following memory-mapped register code: What are the access sizes of the and registers, respectively?
  3. Q3What will be the output behavior of the following xv6 code snippet?
  4. Q4Which of the following correctly describes the sequence of steps when a new process is forked in xv6?\ (i) Allocate a n…
  5. Q5Consider image of the page table entry is given below and the code for kvminit in vm.c. What will be the values of the …
  6. Q6Consider the following code snippet for the syscall function in kernel/syscall.c (RISC-V xv6): Why does xv6 store the s…
  7. Q7When a user types the command in a Linux shell, which of the following sequences of system calls is most likely to occu…
  8. Q8A system has a virtual memory space of 8 GB and uses a single-level page table with 221 entries. What is the size of ea…
  9. Q9Consider a system with 128 MB of physical memory and a 32-bit virtual address space. Given a page size of 8 KB, what wi…
  10. Q10What could be the possible output of the following program?
  11. Q11In RISC-V, during system calls, which register stores the current program counter?
  12. Q12Consider the given memory map. The memory address 0x200003CD corresponds to
  13. Q13State True or False:\ In xv6, after a user process calls fork(), both the parent and child processes have separate copi…
  14. Q14In xv6, a running process can be preempted by the scheduler due to a timer interrupt. What is the resulting state trans…
  15. Q16Consider a process A that forks B, B forks C, and C forks D. Processes A and B keep running, but process C terminates b…
  16. Q17Select the functions present in kernel/trampoline.S, and are responsible for switching from kernel pagetable to process…
  17. Q18Consider the following processes in an xv6-like operating system:\ Process P1 is ready to run and waiting in the run qu…