LAB3OS
LAB3OS
BSIT-A307
A.Linux OS
ANSWER:
- A process in Linux is any active or running instance of a
program. Processes are important to Linux since the operating system
does all of its work regardless of as well as through processes. Threads in
Linux were nothing but a flow of process execution. A multi-threaded
process is one that has several execution flows. A non-multi-threaded
process has just one execution flow, which is the main execution flow.
Hence, it is also known as a single threaded process.
B.Android OS
ANSWER:
- The Android operating system is based on the Linux Kernel 2.6,
which offers an open source license and flexibility to user-driven
programs. It includes all of the fundamental operating system
capabilities, including as process scheduling, memory management,
threading, and process synchronization. Android categorizes processes
in listed in order of importance. The most important process is the last
to be killed. These processes are arranged as follows; Foreground
processes, Visible processes, Service processes, Background processes
and Empty processes. Threading is important since it is in responsible of
assigning events to the proper user interface widgets. It also provides a
platform for application interaction with components from the Android
UI toolkit.
2. Then, provide or answer the following for each operating system
(Linux and Android):
Ready - The process has all the resources it requires to run, but the CPU
is not actively working on the instructions for this process.