100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

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

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
11-09-2024
Written in
2024/2025

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

Show more Read less
Institution
ITN 171
Course
ITN 171









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
ITN 171
Course
ITN 171

Document information

Uploaded on
September 11, 2024
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

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

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ProPerfomer (self)
View profile
Follow You need to be logged in order to follow users or courses
Sold
431
Member since
2 year
Number of followers
322
Documents
8502
Last sold
2 weeks ago
Global Scholars’ Resource Hub

Welcome to your ultimate exam success hub! We provide top-quality, up-to-date, and approved exam materials—study guides, practice tests, and notes for a variety of subjects. Whether you’re preparing for school, college, or professional exams, our resources are designed to help you study smarter and score higher. Thousands have passed with our materials—now it’s your turn!Need more resources or something specific? Contact me anytime, and I’ll be happy to help you find exactly what you need. Your success is our mission!" ✅ Covers multiple subjects and exam types ✅ Includes real practice questions, answers, and study tips ✅ Ideal for students, test takers, and last-minute review Your Exam Success Starts Here – Grab Your Bundle Before It’s Gone!

Read more Read less
3.9

83 reviews

5
36
4
25
3
9
2
1
1
12

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions