Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 92 pages
Exam (elaborations)

OSG202 Exam Questions and Answers

Document preview thumbnail
Preview 4 out of 92 pages

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 ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 2/92 ____ 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 ©EMILLECT 2024/2025 ACADEMIC YEAR. ALL RIGHTS RESERVED FIRST PUBLISH OCTOBER 2024 Page 3/92 : _____ 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

Content preview

©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

Document information

Uploaded on
October 30, 2024
Number of pages
92
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Emillect
3.0
(4)
Sold
34
Followers
2
Items
3001
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions