Operating Systems with Unix-Basic Concepts [NTA-NET (Based on NTA-UGC) Computer Science (Paper-II)]: Questions 1 - 3 of 47

Access detailed explanations (illustrated with images and videos) to 2324 questions. Access all new questions- tracking exam pattern and syllabus changes. View the complete topic-wise distribution of questions. Unlimited Access for Unlimited Time!

View Sample Explanation or View Features.

Rs. 600.00 or

How to register?

Question number: 1

» Operating Systems with Unix » Basic Concepts » Interrupts,System Calls,Instructions

Edit

Appeared in Year: 2015

MCQ▾

Question

A system has four processes and five allocatable resources. The current allocation and maximum needs are as follows:

Current allocation and maximum needs are given

Allocated

Maximum

Available

Process A

1 0 2 1 1

1 1 2 1 3

0 0 x 1 1

Process B

2 0 1 1 0

2 2 2 1 0

Process C

1 1 0 1 0

2 1 3 1 0

Process D

1 1 1 1 0

1 1 2 2 1

The smallest value of x for which the above system in safe state is …………. (December)

Choices

Choice (4)Response

a.

3

b.

1

c.

2

d.

0

Question number: 2

» Operating Systems with Unix » Basic Concepts » Interrupts,System Calls,Instructions

Edit

Appeared in Year: 2015

MCQ▾

Question

Consider a system with twelve magnetic tape drives and three processes P1, P2 and P3. Process P1 requires maximum ten tape drives, process P2 may need as many as four tape drives and P3 may need upto nine tape drives. Suppose that at time t1, process P1 is holding five tape drives, process P2 is holding two tape drives and process P3 is holding three tape drives. At time t1, system is in: (December)

Choices

Choice (4)Response

a.

Safe state

b.

Starvation state

c.

Unsafe state

d.

Deadlocked state

Question number: 3

» Operating Systems with Unix » Basic Concepts » Interrupts,System Calls,Instructions

Edit

Appeared in Year: 2015

MCQ▾

Question

Suppose there are four processes in execution with 12 instances of a Resource R in a system.

The maximum need of each process and current allocation are given below:

The maximum need of each process and current allocation

Process

Max. Need

Current Allocation

8

3

9

4

5

2

3

1

Choices

Choice (4)Response

a.

Yes,

b.

No

c.

Yes,

d.

Yes,

Developed by: