Operating System-Deadlock (GATE Computer Science): Questions 1 - 7 of 8

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 450.00 or

Question number: 1

» Operating System » Deadlock

MCQ▾

Question

A socket is identified by an ________ concatenated with a port number.

Choices

Choice (4) Response
a.

TCP address

b.

IP address

c.

address

d. Question does not provide sufficient data or is vague

Question number: 2

» Operating System » Deadlock

MCQ▾

Question

A semaphore S is an ________variable.

Choices

Choice (4) Response
a.

float

b.

integer

c.

double integer

d. None of the above

Question number: 3

» Operating System » Deadlock

MCQ▾

Question

A directed edge from process P- to resource type Rj is denoted by P; - > R i.

Choices

Choice (4) Response
a.

deadlock

b.

no cycle

c.

resource

d. All of the above

Question number: 4

» Operating System » Deadlock

MCQ▾

Question

The deadlock avoidance algorithm is less efficient than the resource-allocation graph scheme that is called ________.

Choices

Choice (4) Response
a.

banker’s algorithm

b.

Process

c.

banker

d. None of the above

Question number: 5

» Operating System » Deadlock

MCQ▾

Question

Consider a system consisting of n processes {PQ, PI… Pn}. Each process has a segment of code is a called ________

Choices

Choice (4) Response
a.

Critical section

b.

semaphore

c.

Program

d. None of the above

Question number: 6

» Operating System » Deadlock

MCQ▾

Question

What processes never finish executing, and system resources are tied up, preventing other jobs from starting is called?

Choices

Choice (4) Response
a.

Execution

b.

Process

c.

Deadlock

d. All of the above

Question number: 7

» Operating System » Deadlock

MCQ▾

Question

Which solution is restricted to two processes that alternate execution between their critical sections and remainder sections?

Choices

Choice (4) Response
a.

Critical section

b.

Peterson’s solution

c.

Semaphore

d. All of the above

Sign In