OS Test 1

OS Test 1

University

15 Qs

quiz-placeholder

Similar activities

Lecture 5 - Introduction to Computing

Lecture 5 - Introduction to Computing

University

18 Qs

time and space complexity

time and space complexity

University

13 Qs

Memory Management - Paging & segmentation

Memory Management - Paging & segmentation

12th Grade - University

15 Qs

OPERATING SYSTEMS 2

OPERATING SYSTEMS 2

University

20 Qs

OS-Process scheduling

OS-Process scheduling

University

15 Qs

ReflectiveQuizDDT1A_07102020

ReflectiveQuizDDT1A_07102020

University

10 Qs

Operating System Process Management

Operating System Process Management

University

20 Qs

Operating System : Part 1

Operating System : Part 1

University

15 Qs

OS Test 1

OS Test 1

Assessment

Quiz

Computers

University

Hard

Created by

Ankush Jain

Used 15+ times

FREE Resource

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.

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?