Skip to content

Module 5 challenge: Process Management(Operating Systems and You: Becoming a Power User) Answers 2025

Question 1

When Windows boots up, what is the first non-kernel process that starts?

  • โŒ Powershell

  • โŒ The csrss.exe process

  • โœ… The smss.exe process

  • โŒ The winlogon process

๐Ÿ”น Explanation:
smss.exe (Session Manager Subsystem) is the first user-mode (non-kernel) process started by the Windows kernel. Itโ€™s responsible for starting system sessions and critical processes like csrss.exe and winlogon.exe.


Question 2

When a process completes its task, what happens? Select all that apply.

  • โŒ The process releases all the resources it was using to its parent.

  • โœ… The process releases all the resources it was using back to the kernel.

  • โŒ The process goes into a suspended state.

  • โœ… The process terminates automatically.

๐Ÿ”น Explanation:
When a process finishes execution, it releases its resources (memory, file handles, etc.) to the kernel and terminates โ€” it does not go into suspension.


Question 3

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

  • โŒ Click on the Processes tab.

  • โœ… Click the Details tab.

  • โŒ Select a process from the process list.

  • โŒ Task Manager will not show PID numbers.

๐Ÿ”น Explanation:
The Details tab in Windows Task Manager shows each process along with its Process ID (PID), status, and other details.


Question 4

When using the ps -ef command to read process information in Linux, what is the processโ€™ PPID?

  • โŒ The terminal associated with the process

  • โŒ Its Process Identification number

  • โŒ The ID of the person who launched the process

  • โœ… The Process Identification number of its parent

๐Ÿ”น Explanation:
The PPID (Parent Process ID) identifies the parent process that created or launched the current process.


Question 5

What is the default action of the SIGINT signal?

  • โŒ To restart the process that is signaled

  • โœ… To terminate the process that is signaled

  • โŒ To suspend the process that is signaled

  • โŒ To put the process that is signaled into a sleep state

๐Ÿ”น Explanation:
SIGINT (Signal Interrupt) is typically triggered by pressing Ctrl+C in a terminal and tells the process to terminate gracefully.


Question 6

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

  • โœ… Kill Process Tree

  • โŒ Restart

  • โœ… Kill Process

  • โŒ Suspend

๐Ÿ”น Explanation:
In Process Explorer, you can stop a process using Kill Process (to end one process) or Kill Process Tree (to end it and all its child processes).


Question 7

In Linux, what signal is sent when you enter the kill pid command?

  • โœ… SIGTERM

  • โŒ SIGINT

  • โŒ SIGKILL

  • โŒ SIGTSTP

๐Ÿ”น Explanation:
By default, the kill command sends SIGTERM (signal 15), which politely asks the process to terminate. SIGKILL (-9) must be specified explicitly to force stop.


Question 8

In iOS and Android, whatโ€™s the first thing you should try when troubleshooting a misbehaving app?

  • โŒ Check for an app that is using a lot of battery.

  • โœ… Close apps, one at a time, starting with the foreground app.

  • โŒ Uninstall apps, one at a time, starting with the least recently used app.

  • โŒ Close apps, one at a time, starting with the least recently used app.

๐Ÿ”น Explanation:
When an app misbehaves, the simplest and quickest fix is to close it (force quit) โ€” especially the foreground app โ€” before trying deeper troubleshooting.


Question 9

Which of the following PowerShell commands will sort processes by amount of non-paged memory, in descending order?

  • โŒ Get-Process | Sort CPU -descending | Select -property ID, ProcessName

  • โŒ Get-Process | Sort -property ID, ProcessName

  • โœ… Get-Process | Sort NPM -descending | Select -property ID, ProcessName

  • โŒ Get-Process | Sort WS -ascending | Select -property ID, ProcessName

๐Ÿ”น Explanation:
The NPM property represents Non-Paged Memory in PowerShell. Sorting it in descending order lists processes using the most kernel memory at the top.


Question 10

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?

  • โŒ top

  • โœ… uptime

  • โŒ lsof

  • โŒ ps -ef

๐Ÿ”น Explanation:
The uptime command shows system runtime, number of logged-in users, and the load average (CPU usage over time).


๐Ÿงฉ Summary:

  • The first non-kernel Windows process is smss.exe.

  • Processes release resources to the kernel and then terminate.

  • PIDs are visible in Task Managerโ€™s Details tab.

  • In Linux, PPID refers to the Parent Process ID.

  • SIGINT and SIGTERM are graceful termination signals.

  • Process Explorer uses โ€œKill Processโ€ or โ€œKill Process Treeโ€ to end tasks.

  • The kill command sends SIGTERM by default.

  • On mobile, start troubleshooting by closing the foreground app.

  • PowerShellโ€™s NPM sorts by non-paged memory usage.

  • uptime displays system load and uptime details.

โœ… Key takeaway: