Search Header Logo

Operating system Quiz-1

Authored by tarul kamboj

Computers

University

Used 1+ times

Operating system Quiz-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

1. Which of the following process scheduling algorithm may lead to starvation


A. FIFO

B. Round Robin

C. Shortest Job Next

D. None

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statements are true?

I. Shortest remaining time first scheduling may cause starvation

II. Preemptive scheduling may cause starvation

III. Round robin is better than FCFS in terms of response time


(A) I only

(B) I and III only

(C) II and III only

(D) I, II and III

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

3. An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes:

Process  Execution time  Arrival time

P1             20            0

P2             25            15

P3             10            30

P4             15            45

What is the total waiting time for process P2?


(A) 5


(B) 15

(C) 40

(D) 55

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

4. Which operation involves changing the state of a process from running to ready?

a) Fork

b) Exec

c) Wait

d) Dispatch

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Virtual memory is


(a) Large secondary memory

(b) Large main memory

(c) Illusion of large main memory

(d) None of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

6. Thrashing occurs when


(a)When a page fault occurs

(b) Processes on system frequently access pages not memory

(c) Processes on system are in running state

(d) Processes on system are in waiting state

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which condition must be present for a deadlock to occur?


A. Mutual Exclusion

B. Hold and Wait

C. Circular Wait

D. Preemption

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?