Module 05 Challenge: Process Management Quiz Answers

Get Operating Systems and You: Becoming a Power User Graded Quiz Answers

Q1. Which of the following statements are true about child processes in Windows? Select all that apply.

Answer:

  • A child process can be terminated by running the taskkill /pid command in the CLI.
  • A child process can be terminated by clicking on the X button in the top right corner of the application.
  • A child process inherits environment variables and settings from its parent.
    Explanation:
    Child processes inherit environment variables and settings from their parent. They can be terminated either through the command line using the taskkill command or via the application window’s close button. However, child processes are not necessarily dependent on their parent process to continue running.

Q2. In the following Linux command, which is the parent process and which is the child?
$ less /etc/myfile | grep Hello

Answer: The parent is less and the child is grep.

Explanation: The less command runs first and is the parent process, while grep is the child process that processes the output of less.


Q3. How do you find a process PID number in Windows Task Manager?

Answer: Click the Details tab.

Explanation: In Task Manager, the PID (Process ID) can be found under the “Details” tab, where detailed information about running processes is displayed.


Q4. When using the ps -x command to check the status of a process in Linux, how would you know if a process is suspended (stopped)?

Answer: There is a letter T under the STAT field.

Explanation: The STAT field in the ps output indicates the status of a process. A T indicates that the process is stopped or suspended.


Q5. Which of the following statements are true about SIGINT? Select all that apply.

Answer:

  • It is an interrupt signal that can be sent to a process that is running.
  • It can be sent at the CLI by pressing the CTRL+C keys.
    Explanation:
    SIGINT (Signal Interrupt) is used to interrupt a running process, typically by pressing CTRL+C in the command line. It is available in Linux but not native to Windows.

Q6. Which of the following options in Process Explorer will terminate a selected process? Select all that apply.

Answer:

  • Kill Process Tree
  • Kill Process
    Explanation:
    In Process Explorer, Kill Process Tree terminates the process and its child processes, while Kill Process terminates only the selected process.

Q7. In Linux, what signal puts a process into a suspended state?

Answer: SIGTSTP

Explanation: The SIGTSTP signal (Terminal Stop) is used to suspend a process temporarily. It is commonly invoked with CTRL+Z.


Q8. In iOS and Android, what’s the first thing you should try when troubleshooting a misbehaving app?

Answer: Close apps, one at a time, starting with the foreground app.

Explanation: Closing the foreground app is a simple and immediate way to address issues. If the problem persists, further troubleshooting steps can be taken.


Q9. In Windows, what information is displayed by the Resource Monitoring tool? Select all that apply.

Answer:

  • Process information along with data about the resources that the process is consuming.
  • Information about particular resources on the system (like CPU, Memory, and Network usage).
    Explanation:
    The Resource Monitor provides detailed information about system resources, such as CPU, memory, and network usage, along with process-level data.

Q10. Which of the following Linux commands shows information about the current time, how long your system’s been running, how many users are logged on, and what the load average of your machine is?

Answer: uptime

Explanation: The uptime command displays the system’s current time, uptime duration, number of users, and the system load average.

Get All Module Operating Systems and You: Becoming a Power User Practice Quiz Answers >>

Module 01 Challenge: Working with Files in Windows and Linux Quiz Answers

Module 02 Challenge: Users, Administrators, Groups and Permissions Quiz Answers

Module 03 Challenge: Package and Software Management Quiz Answers

Module 04 Challenge: Filesystems Graded Quiz Answers

Module 05 Challenge: Process Management Quiz Answers

Module 06 Challenge: Operating System in Practice Quiz Answers

Share your love

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *