100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
OSG202 Exam Questions and Answers $13.49   Add to cart

Exam (elaborations)

OSG202 Exam Questions and Answers

 3 views  0 purchase
  • Course
  • OSG 202
  • Institution
  • OSG 202

OSG202 Exam Questions and Answers ____ developed the Banker's Algorithm. - ANSWER-Dijkstra ____ gives users the appearance that their programs are being completely loaded in main - ANSWER-Virtual memory ____ include(s) every peripheral unit in the system such as printers, disk drives, CD/DVD dr...

[Show more]

Preview 4 out of 92  pages

  • October 30, 2024
  • 92
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • OSG 202
  • OSG 202
avatar-seller
Emillect
©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




OSG202 Exam Questions and Answers


____ developed the Banker's Algorithm. - ANSWER✔✔-Dijkstra


____ gives users the appearance that their programs are being completely loaded in main -

ANSWER✔✔-Virtual memory


____ include(s) every peripheral unit in the system such as printers, disk drives, CD/DVD drives, flash

memory, keyboards, and so on. - ANSWER✔✔-I/O Devices


____ introduced the need for control cards, which defined the exact nature of each program -

ANSWER✔✔-Job scheduling


____ is a sort of pseudofile that can be used to connect to processes - ANSWER✔✔-toicankey A pipe


____ is a way to optimize search times by ordering the requests once the read/write heads have -

ANSWER✔✔-Rotational ordering


____ is necessary in any computer system because some resources such as memory, CPU, and -

ANSWER✔✔-Mutual exclusion


____ is when, in modern printing systems, a disk accepts output from several users and acts as a -

ANSWER✔✔-Spooling

Page 1/92

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




____ means that several logical records are grouped within one physical record. - ANSWER✔✔-Blocking


____ occurs when two processes do not release control of resources they are using. - ANSWER✔✔-

Resource holding


____ proposed a solution to the readers and writers problem that did not result in starvation -

ANSWER✔✔-Hoare


____ uses the same underlying philosophy as shortest job next, where the shortest jobs are processed

first and longer jobs are made to wait. - ANSWER✔✔-SSTF


_____ are used to model devices that consist of a collection of randomly addressable blocks such as

disks - ANSWER✔✔-toicankey A block special file


_____ is the command that writes the bottom 10 lines of a file to the screen. - ANSWER✔✔-tail


______ is resources that can be taken away from the process owning it with no ill effects - ANSWER✔✔-

toicankey preemptable


_______ is the rapid switching of the CPU between multiple processes in memory - ANSWER✔✔-

toicankey Multi-programming


_________is the act of allowing only one process to have access to a dedicated resource - ANSWER✔✔-

Mutual-exclusion condition



Page 2/92

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




: _____ is the command that writes the first 10 lines of a file to the screen. - ANSWER✔✔-head


: An Operating System is? - ANSWER✔✔-A program that acts as an intermediary between a user of a

computer and the computer hardware


: The _____ command will list all working processes? - ANSWER✔✔-ps


: What is the correct approach with the Hold and Wait condition to prevent Deadlock? - ANSWER✔✔-

Request all resources initially


: Which command is used to change a file's name? - ANSWER✔✔-mv


: Which command will display current day? - ANSWER✔✔-date


· The CPU sets the DMA controller registers so DMA knows what to transfer where, and how many

transfer ; · The CPU command the disk controller read data from disk to internal buffer, then verify the

checksum· The disk controller sends an acknowledgement signal to DMA controller when the write is

complete ; · Simultaneously, the DMA controller decides which device to service next (using RR or

priority scheme)· In each transfer, the DMA controller increments the memory addresses to use and

decrements the byte count ; · If the byte count is still greater than 0, step 2 through 4 are repeated until

the count reaches 0· If the byte equals 0, the DMA controller interrupts the CPU to let it know the

transfer is now complete ; · The disk controller transfer a word/ byte from internal buffers to main

memory at the address that is described in the DMA's memory address register· The DMA controller

initiates the transfer by issu - ANSWER✔✔-toicankeyMemory-Mapped I/O


Page 3/92

, ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED

FIRST PUBLISH OCTOBER 2024




1. A requests R ; 2. C requests T3. A requests S ; 4. C requests R5. A releases R ; 6. A releases S7. B

requests S ; 8. C requests S9. B requests R - ANSWER✔✔-toicankey The system is deadlock ; toicankey

The system can be resolved by process B attacks the No-Preemption condition


1. A requests R ; 2. C requests T3. A requests S ; 4. C requests R5. A releases R ; 6. A releases S7. B

requests S - ANSWER✔✔-toicankey The system is in safe state ; toicankey All process no deadlock


1. It is a list of memory locations (set of addresses) from 0 to some maximum, which the process can

read and write ; 2. It make the different programs think they have the hardware on their ownWhat's is

it? - ANSWER✔✔-toicankey Address space


1. It uses a table of counters per files. ; 2. Traverse the directory tree, incrementing the counter when

each every i-node in every directory 3. When the checker is all done, it has a list, indexed by i-node

number, telling how many directories contain each file ; 4. It then compares these numbers with the link

counts stored in the i-node themselves Which checking is applied with the above description? -

ANSWER✔✔-toicankey Checking for directory and its file in consistency


1. Map a disk block to a page (s) in memory and page used the file on disk as the backing store ; 2.

Allowing a part of the virtual address space to be logically associated with the fileWhat's is the strategy?

- ANSWER✔✔-toicankey Memory-mapped file


1. Put the argument of called function on the stack ; 2. The interrupt occurs to switch from user mode to

kernel mode3. The system functions are located and executed ; 4. After finished, the interrupt occurs



Page 4/92

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Emillect. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

82871 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.49
  • (0)
  Add to cart