OS Test 1

OS Test 1

University

15 Qs

quiz-placeholder

Similar activities

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Information System and Modern Organization part 1

Information System and Modern Organization part 1

University

14 Qs

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

MESYUARAT KE-3 MYTECC ASSEMBLY: TOGETHER WE BIND

University

20 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Node.js

Node.js

University

10 Qs

Software Testing

Software Testing

University

10 Qs

OS Test 1

OS Test 1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Ankush Jain

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct boot process order?

1.OS Initializing itself

2.Loading the OS

3.BIOS checking hardware (POST)

4.Load the Shell/GUI (DOS Prompt)

1,2,3,4

2,3,4,1

3,2,1,4

3,1,2,4

2.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Once the initial diagnostics are performed and assigning system resources, the startup BIOS program will check for information about secondary storage devices that might contain the OS. This list of devices and the order in which they should be checked are found and arranged in the CMOS setup utility, and are commonly referred to as:

The Boot Record

The Boot sequence

The MBR (Master Boot Record)

The Disk Partition table

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?

Program Counter

Page table base Register

Stack Pointer

General Purpose Registers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When the result of a computation depends on the speed of the processes involved there is said to be

A time clock

Cycle Stealing

Race Condition

Deadlock

5.

MULTIPLE SELECT QUESTION

1 min • 2 pts

Consider a process P running on a CPU. Which one or more of the following events will always trigger a context switch by the OS that results in process P moving to a non-running state (e.g., ready, blocked)?

P makes a blocking system call to read a block of data from the disk

An interrupt is raised by disk to deliver the data requested by some other process

P tries to access the instructions that is in secondary memory space, triggering a instruction fault

A time interrupt is raised by the hardware

6.

MULTIPLE CHOICE QUESTION

3 mins • 3 pts

Consider four processes P, Q, R and S scheduled on a CPU as per round robin algorithm with a time quantum of 4 units. The processes arrive in the order P, Q, R, S, all at time t = 0. There is exactly one context switch from S to Q, exactly one context switch from R to Q, and exactly two context switches from Q to R. There is no context switch from S to P. Switching to a ready process after the termination of another process is also considered a context switch. Which one of the following is NOT possible as CPU burst time (in time units) of these processes?

P=4, Q=10, R=6, S=2

P=3, Q=7, R=7, S=3

P=2, Q=9, R=5, S=1

R=4, Q=12, R=5, S=4

7.

FILL IN THE BLANK QUESTION

2 mins • 3 pts

Media Image

Consider three concurrent processes P1, P2 and P3 as shown Figure, which access a shared variable D that has been initialized to 100. The process are executed on a uniprocessor system running a time-shared operating system. If the minimum and maximum possible values of D after the three processes have completed execution are X and Y respectively, then what will be the value of Y–X.

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?

Discover more resources for Computers