Return to course page

Question 1: The context of a process includes which of the following?
Select all that apply

  1. the values of its registers (like %rax and %rsp)

  2. the program's address space

  3. the value of the program's PC

  4. the value of the exception table base register

  5. the length of the program's time slice

  6. the idenities of other programs executing concurrently with it

Question 2: Increasing the amount of memory available in a machine will increase the number of processes the machine can run
Select all that apply

  1. concurrently with each other

  2. in parallel with each other

For these questions, refer to the terminology in section 8.1.2.

Question 3: (see above) Which kind of exception allows operating systems to stop a process from executing for more than its assigned time slice?

  1. an interrupt

  2. a trap

  3. a fault

  4. an abort

Question 4: (see above) Which kind of exception allows operating systems to resume executing a process that was paused to wait for a keypress?

  1. an interrupt

  2. a trap

  3. a fault

  4. an abort

Question 5: (see above) Which kind of exception allows an operating system to terminate a program that attempts to divide by zero?

  1. an interrupt

  2. a trap

  3. a fault

  4. an abort

Question 6: (see above) If a program running in user mode tries to execute a privileged instruction, what will occur?

  1. an interrupt

  2. a trap

  3. a fault

  4. an abort

  5. none of the above

Question 7: (see above) If a program requests that the operating system execute a privileged instruction on its behalf, what will occur?

  1. an interrupt

  2. a trap

  3. a fault

  4. an abort

  5. none of the above

Return to main page
Return to course page