0% found this document useful (0 votes)
1K views3 pages

Windows OS Process Control Analysis

This document discusses processes and process control in operating systems. It contains a task performance exercise with multiple parts for students to complete. The exercise focuses on distinguishing OS components for process control and resource management. Students are asked to identify kernel components in Windows OS, provide examples of processes for each, and analyze the memory usage and processes of a personal computing device. The document aims to assess students' understanding of an operating system's control structure and how it manages processes.

Uploaded by

Jimboy Lorejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views3 pages

Windows OS Process Control Analysis

This document discusses processes and process control in operating systems. It contains a task performance exercise with multiple parts for students to complete. The exercise focuses on distinguishing OS components for process control and resource management. Students are asked to identify kernel components in Windows OS, provide examples of processes for each, and analyze the memory usage and processes of a personal computing device. The document aims to assess students' understanding of an operating system's control structure and how it manages processes.

Uploaded by

Jimboy Lorejo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

IT2105

Jomrey Lorejo BSIT 2-1BP


Task Performance
Processes
Objectives:

At the end of the exercise, the students should be able to:

 Distinguish operating system components that are needed to control processes and manage
resources; and
 Assess the control structure of an operating system and its processes

Instructions:
Part 1 (3 items x 5 points)
1. Recall the details about the kernel components of a Windows operating system (OS). Based on the
figure below, select three (3) kernel components that you think are the most significant in terms of
process control.

I/O Manager: The I/O manager is in responsibility of dispatching to the proper device drivers for
further processing, as well as providing a framework for applications to access I/O devices. All
Windows I/O APIs are implemented by the I/O manager, which also establishes security and naming
requirements for devices, network protocols, and file systems.
Power Manager: A power manager oversees power management, which can be configured to save
power consumption by shutting off inactive devices, putting the CPU to sleep, or even writing all of the
system's memory to disc and turning off the power altogether.
Plug-and-play Manager: After evaluating which drivers are supposed, the plug-and-play manager loads
the drivers needed to support a given device.

2. Give one (1) sample process that can be executed by each kernel component you have selected.
Explain each sample process relative to its corresponding process control structure. Perform additional
research if necessary.

Figure 1. The internal architecture of Windows operating system.


Source: Operating Systems: Internal and Design Principles 9 th ed., 2018 p. 102

02 Task Performance 1 *Property of STI


Page 1 of 2
IT2105

Device and file system drivers


This Windows executive component serves as a driver during kernel mode.
the interface between hardware and software the hardware abstraction layer (HAL) provides
the same interface to the user and strives to provide a variety of services. hardware
architecture inspired from operating systems.
Part 2 (60 points)
Select a computing device or a gadget (i.e., smartphone, tablet, and laptop) that you currently have access to.
Then, answer the following items:
a. What is the operating system of the device? (2 points)
- Windows10 (laptop)
b. What is the total memory capacity (RAM) of the device? (2 points)
- 8.00 GB
c. What is the available or remaining memory capacity (RAM) of the device? (2 points)
- 3.89GB
d. Enumerate five (5) running application processes in the device. Select applications that consume high
memory utilization. Indicate the memory allocation for each process. (5 items x 2 points)
- Google Chrome (317.8MB)
- Microsoft Teams (138.0MB)
- Microsoft Word (100.1MB)
- Microsoft Edge (91.6MB)
- Fire Fox (208.8MB)
e. Enumerate five (5) running background processes or system processes in the device. Select
processes that consume high memory utilization. Indicate the memory allocation for each process. (5
items x 2 points)
- Fire Fox (208.8MB)
- Microsoft Edge (91.6MB)
- Google Chrome (317.8MB)
- Microsoft Word (100.1MB)
- Microsoft Teams (138.0MB)
f. Which has higher memory utilization in your device, the background/system processes or the
application processes? Briefly explain the condition of processes in your device to support your
answer. (Essay: 5 points)
- The application processes, in my opinion, because they consume far more RAM on my
device than the operating system's background activities.
g. Give three (3) possible ways to connect your device to other devices. Describe each in one (1)
sentence.
(3 items x 3 points)
- USB, just insert the phone's USB cord into the USB port on your computer, keyboard, or
mouse, or into an adapter if their USB ports are incompatible.
- Bluetooth may be used to connect various gadgets to your phone without the necessity of a
wire. Wi-Fi does not function 'device to device,' but rather requires a particular piece of gear
to keep the Wi-Fi signal active.
h. Does the process of connecting your device to other devices create new processes? Why or why not?
(Essay: 5 points)
- Yes, if our devices are completely connected to one another, we may talk.
Data may be transferred from one device to another.
i. What are the possible effects of ending (force stop) multiple processes in your device? Elaborate on
your answer. (Essay: 5 points)
- Most users believe that closing an app on their phone and removing it from the app
switcher entirely ends the app. This is not always the case. On the other hand, even after
you close an application, it may continue to function in the background, updating its
information and sending notifications. They continue to operate in the background no
matter how many times you terminate them. When an app is force-stopped, it terminates
all foreground and background processes connected with it.

02 Task Performance 1 *Property of STI


Page 2 of 2
IT2105

j. What are the possible effects of ending (force stop) multiple processes in your device? Elaborate on
your answer. (Essay: 5 points)
- Most users believe that closing an app on their phone and removing it from the app
switcher entirely ends the app. This is not always the case. On the other hand, even after
you close an application, it may continue to function in the background, updating its
information and sending notifications. They continue to operate in the background no
matter how many times you terminate them. When an app is force-stopped, it terminates
all foreground and background processes connected with it.
k. Describe the functionality of your device in the less-privileged mode. (Essay: 5 points)
- Because user applications are generally executed in this mode, the less-privileged mode is
commonly referred to as the user mode. A process running in user mode has limited access
to the CPU and memory.
l. Identify at least two (2) ways on how you can terminate processes in your device and briefly describe
each. (Essay: 5 points)
- Voiding a process may result in the complete termination of a program, the crash of your
computer, and the loss of any unsaved data. Stopping a process using the Task Manager
will almost certainly stabilize your system. It is usually recommended to save your data
before closing a process if possible. You might choose this route if you feel that Windows
already has all you need to handle various difficulties. Killing a few stubborn apps should
be simple with a tool like Command Prompt, one of Windows' most useful and powerful
features.

Note: If you are evaluating a smartphone, you might have to enable the Developer Mode/Developer Options of the device.

Grading Rubric for Essay:


Criteria Performance Indicator Points
Content Correct ideas, concepts, and/or examples were included. 3
Organization The presentation of ideas was generally organized. 2
TOTAL 5
Note: DO NOT COPY AND PASTE. Students who copy and paste their work from any website or their classmate will automatically receive a failing mark for this assessment task.

02 Task Performance 1 *Property of STI


Page 3 of 2

Common questions

Powered by AI

On a typical device, application processes often have higher memory utilization than system processes. This is because applications like Google Chrome and Microsoft Word require significantly more RAM, as shown by their consumption levels (e.g., Chrome using 317.8MB, Word 100.1MB) compared to many system processes . As a result, high memory usage by applications can impact system performance by reducing the amount of available memory for other important processes, potentially leading to slower system response and reduced multitasking capabilities .

Force-stopping multiple processes in a device can have significant consequences, especially concerning background tasks. While it terminates all related foreground and background processes, it might cause applications to lose progress, stop updates, and disable notifications until the app is reopened . This might lead to temporary system instability or require user intervention for apps to resume their normal function, thereby impacting user experience and productivity .

The control structure of an operating system significantly influences the management and scheduling of processes by dictating how resources are allocated, priorities are determined, and executions are switched between various processes. Scheduling algorithms, part of the control structure, decide which process runs at a given time based on priority and resource needs. These algorithms ensure fair distribution of CPU time among processes, preventing resource starvation and improving overall system responsiveness . Furthermore, the control structures ensure synchronization, concurrency, and communication among processes, preventing deadlock and ensuring efficient process interaction within the operating system .

The 'user mode' in operating systems is a less-privileged mode where user applications are generally executed. In this mode, processes have limited access to CPU and memory, ensuring the stability and security of the system by preventing direct access to kernel resources . This separation of modes helps in protecting critical system functions from potentially harmful user processes, thereby maintaining system integrity and security .

The three most significant kernel components in the Windows operating system for process control are the I/O Manager, Power Manager, and Plug-and-play Manager. The I/O Manager is responsible for dispatching to the proper device drivers and providing a framework for applications to access I/O devices, thus playing a crucial role in the process of managing I/O operations and ensuring system stability . The Power Manager oversees power management to save power consumption by shutting off inactive devices and managing resources efficiently during different states of the system . Lastly, the Plug-and-play Manager loads drivers needed for device support, ensuring the smooth operation of hardware components and the adaptability of the system to new devices without user intervention .

Yes, connecting devices to each other can create new processes. For example, when devices are connected via USB or Bluetooth, processes related to data transfer, device recognition, and driver initialization might be initiated to handle the interaction between the devices . These processes are necessary to facilitate communication, ensure compatibility, and maximize data transfer efficiency between the connected devices .

Key components of an operating system that facilitate resource management and process control include the I/O Manager, Power Manager, and Plug-and-play Manager. The I/O Manager coordinates access to hardware devices, ensuring smooth data input and output across devices. The Power Manager optimizes energy savings by controlling device power states, ensuring the system runs efficiently and prolongs device lifespan. The Plug-and-play Manager simplifies hardware integration by managing driver compatibility and loading necessary drivers automatically . Together, these components maintain system stability by efficiently managing resources and controlling processes to prevent conflicts and overutilization .

Two methods for terminating processes on a device are using the Task Manager and the Command Prompt. Using the Task Manager allows users to stop a process, which can stabilize the system if a process is consuming too many resources . However, terminating a process through Task Manager can also result in data loss if unsaved work is associated with that process . The Command Prompt provides a powerful, manual way to kill processes, potentially providing a solution when graphical interfaces become unresponsive . Both methods, if not used carefully, can lead to the crash of applications, unsaved data loss, and might necessitate a system restart .

The implementation of power management in a device optimizes performance and energy efficiency by intelligently reducing power consumption during periods of inactivity. For example, the Power Manager component can put the CPU to sleep or shut off inactive devices, thus conserving energy while maintaining readiness for quick wake-up when needed . It also minimizes battery drain for portable devices, extends battery life, and reduces heat output, which can enhance device longevity and reliability . Effective power management ensures that energy is used efficiently without significantly impacting device performance .

Efficient handling of high memory utilization by application processes can be achieved through several methods. One method is to use memory management tools or built-in operating system features to monitor and limit memory usage per application, which prevents excessive consumption . Another approach is optimizing applications to use resources more efficiently, such as closing unused tabs in a browser or configuring applications to release unused resources. Additionally, employing virtualization or container solutions can sandbox applications, thereby limiting their resource impact on the entire system . These strategies help maintain system performance and prevent slowdowns caused by memory-intensive applications .

You might also like