100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ITN 171 EXAM 4 Chapter 7 and 8 || 100% VERIFIED ANSWERS!! $11.39   Add to cart

Exam (elaborations)

ITN 171 EXAM 4 Chapter 7 and 8 || 100% VERIFIED ANSWERS!!

 4 views  0 purchase
  • Course
  • ITN 171
  • Institution
  • ITN 171

T/F A process with no controlling terminal is more commonly known as a daemon. correct answers TRUE Match the process phase with its description. Fork correct answers Creates a process by creating a copy of an existing process Match the process phase with its description. Exec correct answe...

[Show more]

Preview 2 out of 9  pages

  • September 11, 2024
  • 9
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • ITN 171
  • ITN 171
avatar-seller
ProPerfomer
ITN 171 EXAM 4 Chapter 7 and 8 || 100% VERIFIED
ANSWERS!!
T/F A process with no controlling terminal is more commonly known as a daemon. correct
answers TRUE

Match the process phase with its description.
Fork correct answers Creates a process by creating a copy of an existing process

Match the process phase with its description.
Exec correct answers A child process overwrites its own image with the code and data of a
new program

Match the process phase with its description.
Wait correct answers The parent process waits for the child to die, then picks up the exit
status of the child process

T/F The UNIX system communicates the existence of an event to a process through the use
of traps. correct answers FALSE

What is the main difference between the at and batch commands? correct answers -The
commands of a batch job run sequentially one after another while the commands in at jobs
may run in parallel.

T/F UNIX job control enables you to move jobs between foreground and background,
suspend, continue, or kill them. correct answers TRUE

What does it mean when a process traps or "catches" a signal correct answers -the process
invokes a user-defined signal handling function.

Why is the kill -9 signal often a better approach to killing a process than the default kill -15
signal. correct answers -Because the process can't ignore or trap a kill -9 signal.

T/F Signals are the way in which the UNIX operating system can communicate the
occurrence of an event to a process. correct answers TRUE

T/F The PID is a unique number assigned to a process by the kernel. correct answers -TRUE

T/F The init process is the parent process of all other processes and so has a PID of 0. correct
answers -FALSE PID is always 1

A process inherits most of the environment of it's parent EXCEPT the following. correct
answers -User-defined local variables. (CORRECT)
-The current directory from where the process was run (INCORRECT)

T/F To create a crontab entry, simply use your vi editor to create a file foo with an entry of
your choice; then, use the following crontab command, crontab foo, to place the entry in the
directory /var/spool/cron/crontabs. correct answers TRUE

, Is the nohup command required for all shells (Bash, C Shell, Bourne, and Korn Shells)?
correct answers -NO,This feature is not required in Bash or C shells because they continue to
run after user has logged out

T/F The PPID is the PID of the parent process. correct answers TRUE

The S (State) column contains one of five possible states for a process. Match the following
state codes with the process state description - o correct answers Running on the CPU

The S (State) column contains one of five possible states for a process. Match the following
state codes with the process state description - s correct answers Sleeping. Process is waiting
for an event to take place

The S (State) column contains one of five possible states for a process. Match the following
state codes with the process state description - R correct answers Runnable. The process
simply needs to be selected for running

The S (State) column contains one of five possible states for a process. Match the following
state codes with the process state description - T correct answers Suspend. User pressed [Ctrl-
z]

The S (State) column contains one of five possible states for a process. Match the following
state codes with the process state description- z correct answers Zombie. Parent didn't wait
for the child's death

Match the job control command with its significance- fg correct answers Brings a job to
foreground

Match the job control command with its significance- bg correct answers Moves a job to
background

Match the job control command with its significance- suspend correct answers Suspends a
job

Match the job control command with its significance-
[Ctrl-z] correct answers Suspends the current foreground job

Match the job control command with its significance- jobs correct answers Lists active jobs

Match the job control command with its significance- kill correct answers Kills a job

T/F The signal name for a kill -9 is SIGKILL. correct answers TRUE

T/F For background jobs, STDOUT (standard output) and STDERR (standard error)
normally come to the terminal unless explicitly redirected. correct answers -TRUE

T/F cron is a classic example of a daemon. correct answers TRUE

T/F cron is a one-time scheduler. correct answers FALSE

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ProPerfomer. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.39. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73314 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.39
  • (0)
  Add to cart