Quiz-1

Hello PrepSter,

If you find any errors in the quiz below kindly comment in the comment section and we will make it our priority to fix it.

Also if you have a better of the solution to the questions, please do comment them below and if we find it better than ours, we will post it in our website.

Question 1

Time: 00:00:00
Which one of the following can not be scheduled by the kernel?

kernel level thread

kernel level thread

user level thread

user level thread

Cant say

Cant say

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 2

Time: 00:00:00
The FCFS algorithm is particularly troublesome for ___

time sharing systems

time sharing systems

multiprogramming systems

multiprogramming systems

multiprocessor systems

multiprocessor systems

operating systems

operating systems

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 3

Time: 00:00:00
An SJF algorithm is simply a priority algorithm where the priority is :

the predicted next CPU burst

the predicted next CPU burst

the inverse of the predicted next CPU burst

the inverse of the predicted next CPU burst

the current CPU burst

the current CPU burst

anything the user wants

anything the user wants

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 4

Time: 00:00:00
Which of the following scheduling algorithms gives minimum average waiting time ?

FCFS

FCFS

SJF

SJF

Round – robin

Round – robin

Priority

Priority

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 5

Time: 00:00:00
Which of the following need not necessarily be saved on a context switch between processes ?

General purpose registers

General purpose registers

Translation lookaside buffer

Translation lookaside buffer

Program counter

Program counter

All of the mentioned

All of the mentioned

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 6

Time: 00:00:00
The Process Control Block is:

Process type variable

Process type variable

Data Structure

Data Structure

A secondary storage section

A secondary storage section

A Block in memory

A Block in memory

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 7

Time: 00:00:00
Which of the following is not the state of a process?

New

New

Old

Old

Waiting

Waiting

Running

Running

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 8

Time: 00:00:00
In UNIX, the return value for the fork system call is _____ for the child process and _____ for the parent process.

A Negative integer, Zero

A Negative integer, Zero

Zero, A Negative integer

Zero, A Negative integer

Zero, A nonzero integer

Zero, A nonzero integer

A nonzero integer, Zero

A nonzero integer, Zero

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 9

Time: 00:00:00
If a process fails, most operating system write the error information to a ______

log file

log file

another running process

another running process

new file

new file

None of these

None of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

Question 10

Time: 00:00:00
A parent process calling _____ system call will be suspended until children processes terminate.

wait

wait

fork

fork

exit

exit

exec

exec

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Start

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]