Process Control & Unix System Performance

This MCQ-formatted quiz covers process control basics, system calls, performance components and tools.

Start Quiz

The collection of memory locations that the process can access is called

Process Table

Process Space

Virtual Address Space

Virtual Space

The virtual address space consists of __ segments.

4

5

3

2

The segment representing the constants, globals and static variables is called

Text Segment

Data Segment

Stack

Heap

The stack stores the

Arguments and Local Variables

Address to return to

Global Variables

Arguments and Local Variables and Address to return

The entire process life cycle is built around ___ system calls.

3

4

2

5

Which of the following system call is used for replicating a process?

_exit

exec

wait

fork

Which of the following functions is used to handle a process's environment variables?

Getenv

Setenv

Letenv

Getenv and Setenv

The parent process picks up the exit status of a child using the __ system call.

Wait

Waitp

Exec

Kill

Which of the following system call is more powerful (in the waiting mechanism) than the wait system call?

Waitp

Waitpid

Kill

Run

UNIX supports preemptive multitasking. True or false?

True

False

The % key allows you

To move the cursor to a matching delimiter, when a delimiters a parenthesis, a bracket, or a brace

To move the cursor to the upper left corner of the screen

To move the cursor backward to the beginning of a word

To move the cursor to the first column in the current line

None of the above

Which command is used to display the characteristics of a process?

Pid

Du

Ps

Au

None of the above

Which of the following special shell variables is used to process the number of the last background job?

$!

$#

$0

$*

None of the above

Which command will be used with the vi editor to insert text to the left of the cursor?

s

S

a

i

None of the above

In the vi editor, forward search is performed using the command

:pat

?pat

/pat

All of the above

None of the above

Quiz/Test Summary
Title: Process Control & Unix System Performance
Questions: 15
Contributed by:
Ivan