CSCI 340

¡Supera tus tareas y exámenes ahora con Quizwiz!

Which facility dynamically adds probes to a running system, both in user processes and in the kernel?

DTrace

The Process Control Block is:

Data Structure

When a process terminates :

It is removed from all queues

What is a medium-term scheduler?

It selects which process to remove from memory by swapping

The primary distinction between the short term scheduler and the long term scheduler is:

The frequency of their execution

The number of processes completed per unit time is known as __________

Throughput

Which of the following is not the state of a process? a) New b) Old c) Waiting d) Running

b) Old

Which of the following do not belong to queues for processes ? a) Job Queue b) PCB queue c) Device Queue d) Ready Queue

b) PCB queue

The only state transition that is initiated by the user process itself is:

block

By operating system, the resource management can be done via

both time and space division multiplexing

A Process Control Block(PCB) does not contain which of the following : a) Code b) Stack c) Bootstrap program d) Data

c) Bootstrap program

What is interprocess communication?

communication between two processes

A process stack does not contain a) Function parameters b) Local variables c) Return addresses d) PID of child process

d) PID of child process

Which one of the following is not a real time operating system? a) VxWorks b) Windows CE c) RTLinux d) Palm OS

d) Palm OS

A process can be terminated due to a) normal exit b) fatal error c) killed by another process d) all of the mentioned

d) all of the mentioned

In operating system, each process has its own a) address space and global variables b) open files c) pending alarms, signals and signal handlers d) all of the mentioned

d) all of the mentioned

A set of processes is deadlock if

each process is blocked and will remain so forever

If all processes I/O bound, the ready queue will almost always be ______ and the Short term Scheduler will have a ______ to do.

empty,little

In Unix, Which system call creates the new process?

fork

In a multi-programming environment :

more than one process resides in the memory

What is operating system?

A collection of programs that manages hardware resources, system service provider to the application programs, link to interface the hardware and application programs

The objective of multi-programming is to

Have some process running at all times

When the process issues an I/O request :

It is placed in an I/O queue

What is a long-term scheduler ?

It selects which process has to be brought into the ready queue

What is a short-term scheduler?

It selects which process has to be executed next and allocates CPU

The entry of all the PCBs of the current processes is in:

Process Table

The address of the next instruction to be executed by the current process is provided by the

Program counter

In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the:

Ready state

To access the services of operating system, the interface is provided by the

System Calls

Which one of the following is not true? a) kernel is the program that constitutes the central core of the operating system b) kernel is the first part of operating system to load into memory during booting c) kernel is made of various modules which can not be loaded in running operating system d) kernel remains in the memory during the entire computer session

c) kernel is made of various modules which can not be loaded in running operating system

Which one of the following error will be handle by the operating system? a) power failure b) lack of paper in printer c) connection failure in the network d) all of the mentioned

d) all of the mentioned

The OS X has ____________

hybrid kernel

If a process fails, most operating system write the error information to a ______

log file

A single thread of control allows the process to perform:

only one task at a time

The state of a process is defined by:

the current activity of the process

The degree of multi-programming is:

the number of processes in memory

The main function of the command interpreter is

to get and execute the next user-specified command

The systems which allows only one process execution at a time, are called

uniprocessing systems

Which system call returns the process identifier of a terminated child?

wait

What is the ready state of a process?

when process is scheduled to run after some execution


Conjuntos de estudio relacionados

MBF Connect - Chapter 10 and 11 Homework

View Set

Основи наукового пізнання 2 рівень

View Set

3AP Chemistry Possible Questions Bank

View Set

American History 2 Midterm (Chapters 16-20)

View Set

Nutrition, protein and supplements

View Set

Stat Chapter 10-1 Concepts of Estimation

View Set