OSG202 Progress Test 1,2 Questions And Answers With Verified Solutions
4 views 0 purchase
Course
OSG202
Institution
OSG202
OSG202 Progress Test 1,2 Questions And Answers With Verified Solutions
Working set model is used for:
A. Finding the minimum number of frames necessary for a job so that jobs can be run without "thrashing"
B. Finding the average number of frames a job will need to run smoothly
C. Determining wh...
OSG202 Progress Test 1,2 Questions And Answers
With Verified Solutions
Working set model is used for:
A. Finding the minimum number of frames necessary for a job so that jobs can be run without
"thrashing"
B. Finding the average number of frames a job will need to run smoothly
C. Determining whether page replacement is needed
D. All of the other choices ANS A
Which of the following operating system has the concept of a process hierarchy? *
A. MS-DOS
B. Unix
C.CP/M
D.Win32 ANS B
Which kind of tables is used in the segmentation? *
A.Local Descriptor Table (LDT )
B.Global Descriptor Table (GDT)
C.Both Global Descriptor Table (GDT) and Local Descriptor Table (LDT )
D.None of the other choices ANS C
A computer with a 32-bit address uses a two-level page table. Virtual addresses are split into a 9-bit
top-level page table field, an 11-bit second-level page table field, and an offset. How many pages are
there in the address space? *
A.2^20 pages
B.2^21 pages
C.2^22 pages
D.2^23 pages ANS A
,As one proceeds down the memory hierarchy (from inboard memory to offline storage), which of the
following conditions is correct? *
A.Decreasing cost per bit
B.Decreasing capacity
C.Decreasing access time
D.None of the other choices ANS A
Critical Region (Section) concept used in interprocess communication is: *
A.A part of the program where the shared memory is accessed
B.A part of shared data
C.None of the other choices
D.A part of shared memory ANS A
Which strategy is a simplest design for speeding up Paging? *
A.Page table is loaded into registers
B.Page table is loaded into disk
C.Page table is loaded into main memory
D.Page table is loaded into TLB ANS A
Which of the following process state transitions is correct, when the external event for which a
process was waiting happens? *
A.Blocked (waiting) -> ready
B.Running -> Blocked (waiting)
C.Ready -> running
D.Running -> ready ANS A
What is not a main function of an operating system? *
A.Support virtual memory
B.Manage the I/O devices
,C.Provide user interfaces
D.Provide the users with an extended (virtual) machine ANS C
Consider a computer system that has cache memory, main memory (RAM) and disk, and OS uses
virtual memory. It takes 1 nsec to access a byte from the cache, 10 nsec to access a byte from RAM,
and 5 msec to access a block of 1000 bytes from the disk. If a book has 1000 pages, each with 25
lines of 80 characters each, How long it will take to electronically scan the text for the case of the
master copy being in each of the level as one proceeds down the memory hierarchy (from inboard
memory to offline storage)? *
A.2 msec, 20 msec, 10 sec
B.1 msec, 10 msec, 5 sec
C.4 msec, 40 msec, 20 sec
D.1 msec, 10 msec, 10 sec ANS A
A computer has four page frames. The time of loading, time of last access, and the R and M bits for
each page are as shown below (the times are in clock ticks). Which page will NRU replace?
A.0
B.1
C.2
D.3 ANS A
Which of the following information bits in the entry of page table is used to indicate that page is
changed since it was loaded in memory? *
A.Modified bit
B.Status bit
C.Referenced bit
D.Present/absent bit ANS A
If there are 256 pages and the page size is 4K words, what is the length of logical address? *
A.15 bits
B.14 bits
, C.17 bits
D.20 bits ANS D
A process where no concurrency inside process; everything happens sequentially is called : *
A.Random access process
B.Sequential process
C.None of the other choices
D.Sequential access process ANS B
Which of the following is a preemptive scheduling algorithm *
A.None of the other choices
B.Shortest Job First
C.FCFS
D.Round Robin ANS D
As one proceeds down the memory hierarchy (from inboard memory to offline storage), which of the
following conditions is correct? *
A.Increasing capacity
B.Decreasing access time
C.None of the other choices
D.Increasing cost per bit ANS A
What is the main characteristic of real-time operating system? *
A.Time is key parameter
B.Multiple CPU
C.Time-sharing
D.Many I/O devices ANS A
If there are 128 pages and the page size is 32 K words, what is the length of logical address? *
The benefits of buying summaries with Stuvia:
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
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
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 Labtech. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $14.99. You're not tied to anything after your purchase.