Click To Get Off-Campus Placement Jobs Info !!!

# Operating System :: Process Management

NA
SHSTTON
8
Solv. Corr.
54
Solv. In. Corr.
62
Attempted
0 M:0 S
Avg. Time

1 / 37

Choose the correct option.

Match the following?

ii) Passing data from one process to another process (2)Signals
iii) A situation wherein two or more competing actions (3)Preemptive multitasking
are waiting for the other to finish, and thus
neither ever does
iv) Allows the computer system to more reliably guarantee each process a regular slice of operating time (4)Pipe

Ai-4, ii-3, iii-2, iv-1

Bi-4, ii-3, iii-2, iv-1

Ci-2, ii-4, iii-1, iv-3

Di-4, ii-2, iii-1, iv-3

Explanation:

The answer to this question is option C.
Software Interrupt mechanisms are possible through Signals.

Passing data from one process to another process is done via PIPE.

a situation wherein two or more competing actions are waiting for the other to finish and this neither ever does is called DEADLOCK.

allows the computer system to more reliably guartee each process a regular slice of operating time is with preemptive multitasking.

Workspace

NA
SHSTTON
26
Solv. Corr.
9
Solv. In. Corr.
35
Attempted
0 M:0 S
Avg. Time

2 / 37

Choose the correct option.

Which of the following are true with respect to deadlock conditions?

1) Mutual exclusion: a resource that cannot be used by more than one process or thread at a time

2) Hold and wait: processes already holding resources may request new resources

3) No preemption: No resource can be forcibly removed from a process holding it, resources can be released only by the explicit action of the process

4) Circular wait: two or more processes form a circular chain where each process waits for a resource that the next process in the chain holds

AOnly 1

BOnly 1 and 2

COnly l, 2 and 3

DAll the 4 conditions

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
35
Solv. Corr.
20
Solv. In. Corr.
55
Attempted
2 M:11 S
Avg. Time

3 / 37

Choose the correct option.

Which of the following algorithm is used for deadlock avoidance?

AGreedy

BBankers

CBackTracking

DDivide and Conquer

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
15
Solv. Corr.
28
Solv. In. Corr.
43
Attempted
0 M:0 S
Avg. Time

4 / 37

Choose the correct option.

ASemaphore allows a specified number of threads to access a resource.

BMutex object is to provide exclusive access to a resource and all the threads can belong to different processes.

CA critical section provide exclusive access to a resource and all the threads should belong to the same process.

DMutex object is to provide exclusive access to a resource and all the threads should belong to same processes.

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
23
Solv. Corr.
14
Solv. In. Corr.
37
Attempted
0 M:0 S
Avg. Time

5 / 37

Choose the correct option.

Semaphore is used for

Asynchronization

Cbox

DNone of these

Explanation:

Semaphores are synchronization tools.

Any integer(non negative) can act as semaphore. Semaphores are used for counting tasks such as creating a critical region that allows a specified number of threads to enter. For example, if we want at most four threads to be able to enter a section, we could protect it with a semaphore and initialize that semaphore to four.The first four threads will be able to decrement the semaphore and enter the region, but at that point, the semaphore will be zero and any other thread will be blocked from outside the critical region until one of the current threads leaves and signals the semaphore.

Workspace

NA
SHSTTON
18
Solv. Corr.
18
Solv. In. Corr.
36
Attempted
0 M:0 S
Avg. Time

6 / 37

Choose the correct option.

Critical section is?

Astatements which are not accessing shared resourses

Bstatements which are accessing shared resourses

Cpart of code where exception can be thrown

DNone of the above

Explanation:

A critical section is a code segment that access shared variables and has to be executed as an atomic action.

It means that in a group of cooperating processes, at a given point of time, only one process must be executing its critical section, If any other process also wants to execute its critical section, it must wait until the first one finishes.

NOTE: Only those processes can enter the critical section which are using the shared variables, and not those which are independent.

Workspace

NA
SHSTTON
26
Solv. Corr.
18
Solv. In. Corr.
44
Attempted
0 M:0 S
Avg. Time

7 / 37

Choose the correct option.

The process in which OS saves all data associated with current process and switches over to the next is called

AProcess Switching

CContext Switching

DNone of these

Explanation:

The correct option is Option C, ie., context switching.

Context Switching means switching of CPU to another process, i.e., saving the state of old process and loading saved data for new process.

In context switching, the process is stored in PCB(Process Control Block), to serve the new process, so that the old process can be resumed from the same part it was left.

Workspace

NA
SHSTTON
29
Solv. Corr.
16
Solv. In. Corr.
45
Attempted
0 M:0 S
Avg. Time

8 / 37

Choose the correct option.

Background running processes are typically called

CProcesses

DNone of these

Explanation:

Background processes are also known as Daemon processes. It runs
in the background without keyboard
input and waits till keyboard input is
required. Thus, other processes can be done in parallel with the process
running in background since they do not have to wait for the previous process
to be completed.

Adding & along with the command starts it as a background process

$pwd & Since pwd does not wants any input from the keyboard, it goes to the stop state until moved to the foreground and given any data input. Thus, on pressing Enter, Output: [1] + Done pwd$

That
first line contains information about the background process – the job number
and the process             ID. It tells you that the ls command background process
finishes successfully.

Workspace

NA
SHSTTON
7
Solv. Corr.
18
Solv. In. Corr.
25
Attempted
0 M:0 S
Avg. Time

9 / 37

Choose the correct option.

An optimal scheduling algorithm in terms of minimizing the average waiting time of a given set of processes is ________.

AFCFS scheduling algorithm

BRound robin scheduling algorithm

CShortest job first scheduling algorithm

DNone of these

Explanation:

FIrst Come First Serve(FCFS) scheduling algorithms can cause long waiting times, especially when the first job takes too much CPU time.

In the case of Round Robin(RR), if the time quantum is large, it will result to starvation, because other processes will have to wait for a long time to execute.

Only SJF or Shortest Job First  scheduling algorithm is optimal in terms of average waiting time for a given set of processes i.e., average waiting time is minimum in this scheduling algorithm. In SJF, processes which have the shortest burst time are scheduled first. It is a non-preemptive scheduling algorithm.

Workspace

NA
SHSTTON
32
Solv. Corr.
14
Solv. In. Corr.
46
Attempted
0 M:0 S
Avg. Time

10 / 37

Choose the correct option.

CPU Scheduling is a function of OS under

AProcess Management

BMemory Management

CI/O Management

DNone of these

Explanation:

Here is no explanation for this answer

Workspace

## Operating System Process Management Questions and Answers pdf

At Operating System topic Process Management, you will get multiple online quiz difficulty wise, which will have a total of 6 quizzes, categorized as easy, medium, and moderate level. While preparing for any Process Management, take all the list quiz and check your preparation level for that topic. Each quiz have 10 different question, which needs to be answered in 20 min., all the listed quiz here is free, however, you will get only one chance for each quiz to attempt(Take Quiz seriously), so it is always recommended to take one quiz in each section before you start solving Process Management MCQs practice question, and one after solving all the question of the respective level, you can refer back your Process Management quiz result any time or you can download it as pdf for reference.

## Operating System Process Management Customize Online Mock Test

This is own type of mock test, where At this Operating System Process Management MCQs mock test section, you will able to attempt only the questions related to Process Management, in that question will be a different level, important, and all the questions will be part of some of the mock tests across Q4interview FREE Mock test. You need to choose the topic as Process Management, and click on Double click to generate your customize mock test. While attempting the mock test you need to choose any of the one options out of given option. It is recommended to go through the direction given along with each question, as these questions will be randomly and so that same direction will not be applicable across the entire test. Once you submit your mock test, the result will be generated for Process Management Customize mock test, where your performance point points will be highlighted. Q4interview analysis every single point which helps you to improve your topic understanding and help you to know your type of mistakes and way to improve Process Management questions, by providing the same type of practice questions from practice exercise. The best part of this Process Management, all these mock tests listed here are free and you can take as Many time, as many you want. When you continue to give Process Management Customize Online Mock Test here regularly, then you will understand how much you have developed your accuracy on a topic, after that you will be able to decide how much attention you need to focus on. Your continued practice will increase your confidence, speed and thinking ability intensely, the Process Management Customize topic on which you will practice more will beneficial for you in future during campus placement.

## Operating System Process Management Quiz Online Test

The details of the Operating System Process Management quiz are as follows. There are 10 questions for you. You have to answer them in 20 minutes. Within 20 minutes you have to see the errors in the sentences given as a question. Four options are also given to you, and you have to choose your opinion. You must be confident in your answer that the choices are difficult. Therefore, below we provide you with some information about Operating System Process Management that you see and keep them in mind while answering questions.

## Operating System Process Management MCQs Practice Questions with Answer

On this Process Management section of page you will find the easiest quickest ways to solve a question, formulas, shortcuts and tips and tricks to solve various easiest methods to solve Process Management Question Quickly. It contains all the Operating System topic Process Management questions which are common in any of the preliminary exams of any company. The solution is provided along with the questions. The practice of these questions is a must as they are easy as well as scoring and asked in all the exams They will confirm the selection if all the questions attempted wisely with little practice. It is recommanded to Take Mock test based on Operating System topic and Process Management topic based quiz.

## Operating System Process Management solved examples question

You can get here fully solved Process Management examples with a detailed answer and description. You can solve Process Management problems with solutions, the questions by companies wise by filtering the questions, additionally, you can check what type of questions are being asked in IT companies Written Round from Process Management. Process Management became one of the most important sections in the entire competitive exams, Companies Campus, and entrance online test. Go through Process Management Examples, Process Management sample questions. You can Evaluate your level of preparation in Process Management by Taking the Q4Interivew Process Management Online Mock Test based on most important questions. All the Process Management practice questions given here along with answers and explanations are absolutely free, you can take any number of time any mock Test.

## Why Operating System Process Management?

In this practice section, you can practice Operating System Questions based on "Process Management" and improve your skills in order to face the interview, competitive examination, IT companies Written exam, and various other entrance tests (CAT, GATE, GRE, MAT, Bank Exam, Railway Exam etc.) with full confidence.

## Where can I get Operating System Process Management questions and answers with explanation?

Q4Interview provides you lots of fully solved Operating System (Process Management) questions and answers with Explanation. Solved examples with detailed answer description, explanation are given and it would be easy to understand. You can download Operating System Process Management quiz questions with answers as PDF files and eBooks.

## Where can I get Operating System Process Management Interview Questions and Answers (objective type, multiple-choice, quiz, solved examples)?

Here you can find objective type Operating System Process Management questions and answers for interview and entrance examination. Multiple choice and true or false type questions are also provided.