IT2105
Name: Kelly Jake O. Deocampo Section: BSIT-201B Date: Sept.10,2023
Task Performance
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.
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 9th ed., 2018 p. 102
1.) A. Executive
B. Memory Manager
C. Process Manager
2.) A. Executive
Sample Process: File Reading Operation
Explanation: If a program needs to read data from a file, the I/O Manager component of the Executive
is involved. It handles the interaction between the program and the storage devices. In this process, the
I/O Manager manages the file system, translates high-level file operations from the program into low-
level disk operations, and ensures proper data transfer between the storage device and the program's
memory space.
B. Memory Manager
IT2105
Sample Process: Page Fault Handling
Explanation: In situations where a program tries to access a portion of memory that is not currently in
RAM (due to being swapped out or not yet loaded), a page fault occurs. The Memory Manager handles
page faults by swapping the required data from secondary storage (like a hard drive) into RAM. It
updates page tables to reflect the new location of the data in physical memory.
C. Process Manager
Sample Process: Process Creation
Explanation: When a user initiates a program, the Process Manager is responsible for creating a new
process to run that program. This involves allocating resources like memory space, creating data
structures to manage the process, and initializing necessary system data. The Process Manager also sets
up an initial execution context for the new process, including the program counter and stack pointer.
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)
Device: Huawei D14 OS: Windows 11
b. What is the total memory capacity (RAM) of the device? (2 points)
RAM: 8gb
c. What is the available or remaining memory capacity (RAM) of the device? (2 points)
Remaining memory capacity: 7.80gb
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)
Application processes: Google Chrome: 768.7 mb
Microsoft Word: 248 mb
Settings: 227 mb
Windows Explorer: 89.9 mb
Task Manager: 186.7 mb
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)
Background processes: Antimalware Service Executable: 268 mb
Canva: 68 mb
Basic Service: 164 mb
Aggregator: 108 mb
Microsoft Edge: 81.7 mb
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)
- As I've mentioned in my responses to letters (d) and (e), system processes use more memory
than application processes. Because they oversee administering system services, enabling
multitasking by keeping apps in memory, and caching frequently used data, background and
system processes in the Huawei D14 use more memory than other processes, as I've already
mentioned. In order to maintain the device's essential functionality and user convenience, these
processes also handle notifications, updates, and maintenance. The memory management
techniques used by Huawei's operating systems optimize memory utilization, however these
procedures are essential for a seamless user experience and effective device performance.
g. Give three (3) possible ways to connect your device to other devices. Describe each in one (1) sentence. (3 items x 3
points)
Bluetooth Connection:
IT2105
You can wirelessly link your Huawei D14 to other Bluetooth-capable gadgets like smartphones,
headphones, or speakers to stream audio or transmit data.
Wi-Fi Network:
To access the internet and communicate with other devices on the same network, you can connect your
Huawei D14 to a Wi-Fi network. This enables tasks like surfing, file sharing, and online gaming.
USB Cable Connection:
You can use a USB cable to link your Huawei D14 to other electronic devices, including mobile
phones, tablets, or external hard drives, in order to transmit data, charge them, or even to turn your
laptop into a mobile hotspot.
h. Does the process of connecting your device to other devices create new processes? Why or why not?
(Essay: 5 points)
Yes, the process of connecting a Huawei D14 to other devices can potentially create new processes, but
this largely depends on the specific devices being connected and the actions being performed.
When you connect a device like a smartphone, external hard drive, or a Bluetooth headset to your
Huawei D14, the operating system may initiate various processes to manage the connection. These
processes could include device recognition, driver installation (if necessary), and the establishment of
communication protocols.
For example:
USB Connection: When you connect a USB device, the operating system may need to initialize and
communicate with the device, which could involve the creation of new processes for handling data transfer,
managing the file system, and so on.
Bluetooth Connection: When pairing a Bluetooth device, the system may initiate processes for discovering
nearby devices, establishing a secure connection, and managing data exchange.
Wi-Fi Connection: Connecting to a Wi-Fi network involves processes related to authentication, negotiation of
encryption keys, and data transmission protocols.
These procedures are necessary for facilitating smooth communication and device interaction. They contribute to
ensuring that the connected devices can cooperate efficiently. It's important to remember that not all connections,
especially if the devices have already been linked and the required protocols and drivers are in place, will
inevitably result in new processes.
i. What are the possible effects of ending (force stop) multiple processes in your device? Elaborate on your answer.
(Essay: 5 points)
On a Huawei D14, stopping numerous processes can have a variety of outcomes. On the plus side, it can
improve performance by releasing CPU, memory, and disk use, resulting in more streamlined operation. It
may also lengthen the life of the battery by stopping excessively resource-hungry processes and thereby
saving energy. Additionally, killing troublesome processes can improve system stability and fix problems
like crashes and unresponsive programs. However, there may be negatives, such as the possibility of data
loss or corruption brought on by terminated processes. Furthermore, forcing the termination of essential
system activities might result in system instability or even a full meltdown, underscoring the need for
caution and understanding the repercussions before forcing the termination of processes.
j. Describe the functionality of your device in the less-privileged mode. (Essay: 5 points)
Limited System Access: In User Mode, the user's access to vital system resources is constrained. This
comprises specific system settings and hardware elements. Users are unable to directly alter fundamental
system functions.
Application Execution: User Mode allows the execution of user applications and software. This is
where most regular tasks such as web browsing, document editing, and multimedia playback take place.
IT2105
Protected System Memory: In User Mode, access to some parts of the system memory is constrained.
This stops apps from harming or interfering with important system functions and data.
Security Measures: The security model of the operating system includes User Mode as a key
component. In order to stop malicious software from harming the system, it aids in the separation of user
operations from system activities.
File System Access: Within the user's chosen user folders, users have access to read, write, and modify
files. To avoid unintentional or intentional harm, access to system-critical files and folders is
nevertheless restricted.
Resource Allocation: For user applications, User Mode aids in resource management by allocating CPU
time, memory, and performing I/O activities. This guarantees equitable and effective distribution of
system resources among all active applications.
User Interface Interaction: In this mode, users can interact with the GUI and carry out actions
including opening, shutting down, and switching between apps.
Networking and Communication: Users can surf the internet, send and receive emails, and use a
number of other online services thanks to User Mode's facilitation of network communication.
Application-Level Security: Application-level security safeguards like permission requests and access
controls assist in protecting the system from potentially hazardous acts carried out by user apps.
k. Identify at least two (2) ways on how you can terminate processes in your device and briefly describe each. (Essay:
5 points)
Task Manager:
Description: Windows comes with a tool called the Task Manager that gives you a complete overview
of all currently active processes and lets you manage them. Press Ctrl + Shift + Esc or Ctrl + Alt +
Delete to open it, and then choose "Task Manager" from the menu.
Termination Method: From the list of processes in Task Manager, choose one, then press the "End
Task" button. This will end the chosen process right away.
Command Prompt:
Description: You can communicate with the system by typing commands into the Command Prompt.
The "taskkill" command can be used to end processes.
Process termination: Launch Command Prompt and enter "taskkill /F /IM process_name>.exe" (replace
process_name> with the process name you wish to end). The "/IM" flag defines the image name
(process name) while the "/F" flag commands the process to end.
Example: The command taskkill /F /IM [Link] might be used to end the "[Link]" process.
IT2105