Operating system Quiz-1

Operating system Quiz-1

University

15 Qs

quiz-placeholder

Similar activities

OS quiz

OS quiz

University

20 Qs

Operating System Process Management

Operating System Process Management

University

20 Qs

OPERATING SYSTEM

OPERATING SYSTEM

University

10 Qs

Quiz No. 2  - Unit II

Quiz No. 2 - Unit II

University

20 Qs

OS - Assessment 05

OS - Assessment 05

University

20 Qs

CT-4 (Deadlocks)

CT-4 (Deadlocks)

University

15 Qs

Operating Systems

Operating Systems

KG - University

20 Qs

OPERATING SYSTEMS

OPERATING SYSTEMS

University

20 Qs

Operating system Quiz-1

Operating system Quiz-1

Assessment

Quiz

Computers

University

Hard

Created by

tarul kamboj

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?