Operating System Mcqs

Page No. 18

In the write ahead logging a _____________ is maintained.


aa memory

✖


ba system

✖


ca disk

✖


da log record

✓


View Answer a log record

Write ahead logging is a way ____________


ato ensure atomicity

✖


bto keep data consistent

✖


cthat records data on stable storage

✖


dall of the mentioned

✓


View Answer all of the mentioned

The state of the data accessed by an aborted transaction must be restored to what it was just before the transaction started executing. This restoration is known as ________ of transaction.


asafety

✖


bprotection

✖


croll – back

✓


drevert – back

✖


View Answer roll – back

A terminated transaction that has completed its execution successfully is ____________ otherwise it is __________


acommitted, destroyed

✖


baborted, destroyed

✖


ccommitted, aborted

✓


dnone of the mentioned

✖


View Answer committed, aborted

A collection of instructions that performs a single logical function is called ____________


atransaction

✓


boperation

✖


cfunction

✖


dall of the mentioned

✖


View Answer transaction

To avoid deadlock ____________


athere must be a fixed number of resources to allocate

✓


bresource allocation must be done only once

✖


call deadlocked processes must be aborted

✖


dinversion technique can be used

✖



Which one of the following is a visual ( mathematical ) way to determine the deadlock occurrence?


aresource allocation graph

✓


bstarvation graph

✖


cinversion graph

✖


dnone of the mentioned

✖



A problem encountered in multitasking when a process is perpetually denied necessary resources is called ____________


adeadlock

✖


bstarvation

✓


cinversion

✖


daging

✖


View Answer starvation

For an effective operating system, when to check for deadlock?


aevery time a resource request is made

✖


bat fixed time intervals

✖


cevery time a resource request is made at fixed time intervals

✓


dnone of the mentioned

✖



What is the drawback of banker’s algorithm?


ain advance processes rarely know how much resource they will need

✖


bthe number of processes changes as time progresses

✖


cresource once available can disappear

✖


dall of the mentioned

✓


View Answer all of the mentioned

Goto Page No.

Page 18 of 108

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan