Best OSG202 Key

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

d

U01-Q049 Examples of general purpose stored program computers include the following except A. Personal computers B. Network servers C. Workstations D. MP3 player

d

Which of the following statements is not correct about the device controller of I/O devices? [A] Is also called adapter [B] Can handle two, four, or even eight identical devices [C] Is electronic component of device [D] Is software component of device

c

in modern printing systems, a disk accepts output from several usere. deadlock occurs when_____ A. The network ..... B. The buffer..... C. The printer... D. Too many ....

c

A computer has 2GB RAM of which the operating system occupies 1GB. The processes are all 450 MB and have the same characteristics. How many percent is CPU utilization when these programs are idle waiting for I/O 20% of the time? 4% 90% [C] None of the other choices [D] 96%

b

Assume the Memory Manager receives a request for a block of 200. When the best-fit algorithm is used, is the beginning address of the hole granted by the Memory Manager. Beginning Address of Hole Hole Size 4075 105 5225 5 6785 600 7560 20 7600 205 10250 4050 [A] 6785 [B] 7600 [C] 10250

a

Assume the following events and actions take place. The following statement is true. Event Action 1 P1 requests and is allocated R1. P1 requests and is allocated R1 2 P2 requests and is allocated R2 3 P3 requests and is allocated R3 4 P1 requests R2. 5 P2 requests R3. 6 P3 requests R1. [A] There is no deadlock [B] Event 5 caused deadlock. [C] Event 4 caused deadlock [D] Event 6 caused deadlock.

b

A CPU may have separate fetch, decode and execute units, so that can carry out three steps of the three instructions in the same time is called: [A] Multicore [B] Pipeline [C] None of the other choices [D] Superscalar

c

As one proceeds down the memory hierarchy (from inboard memory to offline storage), the following conditions apply: [A] Increasing capacity [B] Decreasing cost per bit [C] All of the other choices [D] Increasing access time

d

How many categories can be the I/O devices roughly divided? [A] 4 [B] 1 [C] 3 [D] 2

a

In a directed graph used to model deadlock, processes are represented using [A] Circular [B] Ellipse [C] Rectangle [D] Squares

d

Many computer users and some operating systems call subdirectories [A] Volumes [B] Databases [C] Folders [D] Files

b

Critical Region (Section) concept used in interprocess communication is: [A] A part of shared memory [B] A part of the program where the shared memory is accessed [C] None of the other choices [D] A part of shared data

d

If a system is deadlocked, no processes can [A] release resources [B] be awakened [C] run [D] All of the other choices

a

If in a resource-allocation graph, each resource type has exactly one instance, which of the following indicate a deadlock situation? a. The graph has at least one cycle. b. The graph has no cycle. c. The graph is connected. d. The graph is not connected.

b

If in a resource-allocation graph, each resource type has exactly one instance, which of the following indicate a deadlock situation? [A] The graph is connected [B] The graph has at least one cycle. [C] The graph has no cycle. [D] The graph is not connected.

b

QN=2 (6847) Which of main bus in the IBM PC computer, that can run at 66 MHz and transfer 8 bytes at a time? a. ISA (Industry Standard Architecture) b. PCI (Peripheral Component Interconnect) c. ISA and PCI d. None of the other choices

a

QN=23 (7021) Which of following is true about cache in the memory hierarchy? a. Small amount of fast expensive memory b. Some medium-speed medium price c. Gigabytes of slow cheap memory d. None of the other choices

b

QN=23 (7028) With paging, when is the internal fragmentation possible? a. Page does not fit the frame b. The last page of the job is less than the maximum page size c. The virtual memory assigned to the program is less than the physical memory assigned to it d. Such thing cannot happen

c

What following resource allocation state is unsafe? [file:7611.jpg] a. Fig. B b. Fig. C c. Fig. B and Fig. C d. None of the other choices

c

What is the "sequential processes" concept? A. There are both many CPU and many PC B. All process is executed in concurrency C. No concurrency inside a process; everything happens sequentially D. None of the other choices

c

What is the correct approach with the "Mutual Exclusion condition" to prevent Deadlock? A. Take resources away B . Request all resources initially C .Spool everything D . Order resources numerically

c

What is the correct approach with the "No preemption condition" to prevent Deadlock? A. Spool everything B. Order resources numerically C. Take resources away D. Request all resources initially

d

What is true about preemptable resources? [A] Can share among processes [B] Can be taken away from a process with no ill effects [C] None of the other choices [D] Will cause the process to fail if taken away

b

What kind of I/O devices that disks and tapes belong to? a. Stream-oriented devices b. Block-oriented devices c. Character-oriented devices d. None of the above

C

What part of the boot process determines whether the peripheral devices are working properly? A. BIOS B. CMOS C.POST D.ROM

b

Which deadlock condition does "Ordering resources numerically" attack? [A] No preemption [B] Circular-wait condition [C] Hold and wait [D] Mutual exclusion

c

Which deadlock condition does "Take resources away" attack? A. Hold and wait B. Circular-wait condition C. No preemption D. Mutual exclusion

b

Which method is used to prevent the communication deadlock? [A] All of the other choices [B] Timeouts [C] Handling alarm [D] Acknowledge signal

c

Which of the events that causes the processes to be created, when the operation system creates a new process and runs the next job from the input queue? A. System initialization B. Execution of a process creation system call C. User request to create a new process D. Initiation of a batch job

c

Which of the following conditions that causes the processes to be terminated, when the processes executes a system call tell the OS to finish some other process? [A] Fatal error (involuntary) [B] Error exit (voluntary) [C] Normal exit (voluntary) [D] Killed by another process (involuntary)

a

Which of the following file structure is used for file system in Window? [A] Tree [B] Record sequence [C] Byte sequence [D] Ring

a

Which of the following information bits used by the various page replacement policies indicates if the page has been called lately? a. Referenced bit b. Modified bit c. Status bit d. Locality bit

b

Which of the following instructions should be allowed in user mode? a. Disable all interrupts b. Read the time-of-day clock c. Set the time-of-day clock d. Change the memory map

d

Which of the following instructions should be allowed only in kernel mode? [A] AND of two numbers [B] ADD of two numbers [C] Read the time-of-day clock [D] Disable all interrupts

c

Which of the following is not a condition necessary for deadlock to exist? a. condition circular-wait condition b. hold and wait condition c. preemption condition d. mutual-exclusion

b

Which of the following is specified to indicate the directory where the file is located? [A] Root directory [B] Path name [C] Extension [D] Sub-directory

a

Which of the following process state transitions is correct, when the scheduler picks a process from the ready queue to run? [A] Ready -> running [B] Running -> ready [C] Blocked (waiting) -> ready [D] Running -> Blocked (waiting)

a

Which of the following process state transitions is illegal? [A] Ready -> Blocked (waiting) [B] Running -> Blocked (waiting) [C] Blocked (waiting) -> ready [D] Running -> ready

b

Which of the following statements does not apply to manual deadlock management? a. Deadlock is relatively infrequent for some system resources b. OS designers are normally very sensitive to deadlock when designing resource managers c. Recovery may involves rebooting the system d. None of the other choices

c

Which of these statements about the algorithm "Next fit" is true? [A] Memory Manager searches the entire list of segments from beginning to end and take smallest hole that is adequate. [B] Memory Manager scans along the list of segments until it finds a hole that is big enough. [C] Memory Manager starting searching the list of segments from the place where it left off last time [D] None of the other choices

b

____ gives users the appearance that their programs are being completely loaded in main memory during their entire processing time. A) Segmenting B) Virtual memory C) Shared memory D) Multithreading

d

_________is the act of allowing only one process to have access to a dedicated resource [A] Hold and wait condition [B] No preemption condition [C] Circular-wait condition [D] Mutual-exclusion condition

d

_________is when each process involved in the impasse is waiting for another to voluntarily release the resource so that at least one wil l be able to continue on. [A] Hold and wait condition [B] No preemption condition [C] Mutual-exclusion condition [D] Circular-wait condition

d

______allows a resource to be held by a process as long as it is needed [A] Mutual-exclusion condition [B] Circular-wait condition [C] Hold and wait condition [D] No preemption condition

a

fox matrix-based algorithm to detect deadlock number of instances of each recource each process currently holds is given by A . Existing recource vector

a

Typical approaches to handle deadlocks do not include A. Deterrence B. Detection C. Avoidance D. Prevention

a

10 (2290) The two basic types of processor registers are: a. General and special registers b. Control and Status registers c. User-visible and user-invisible registers d. None of the above

c

11 (2304) What is interrupt vector? a. A signal an I/O device sends to CPU b. A signal an I/O device sends to CPU c. Part of memory which contains the addresses of interrupt handlers d. None of the above

a

4 (2530) The page table for each process maintains: a. The frame location for each page of the process b. The page location for each frame of the process c. The physical memory location of the process d. None of the above

d

A file is generally defined to be: a. A basic element of data b. None of the other choices c. A collection of related fields d. A collection of similar records

d

An example of preemptable resources is [A] DVD device [B] None of the other choices [C] CD-ROM device [D] Memory

c

Consider a swapping system in which the memory consists of the following hole sizes: 10K, 4K, 20K, 15K, 9K. Assume best fit algorithm is used. Which holes are taken for successive segment requests of 8K, 12K, 10K? [A] 10K, 15K, 20K [B] 10K, 20K, 15K [C] 9K, 15K, 10K [D] 20K, 15K, 10K

a

Each of the following characterristics applies to deadlock avoidance exept A . Widely used in mordern operating systems

d

File Structure can be: (2547) a. byte sequence b. record sequence c. tree d. All of the above

b

In terms of speed the best method of Dynamic Storage-Allocation is: a. Next fit b. First fit c. Best fit d. Worst fit

c

List of memory location, that contains the executable program, the program's data, and its stack is called: A.set of resources B.address space C.address memory D.All of the other choices

a

The first and simplest recovery method, and the most drastic, is to ____. A. Terminate every job that's active in the system and restart them from the beginning

c

The page size that is too small wil l generate [A] More difficult to calculate actual position [B] Excessive internal fragmentation [C] Very long Page tables [D] Excessive external fragmentation


Kaugnay na mga set ng pag-aaral

Information Systems Today MIS Homework Ch. 6 Questions

View Set

Accounting 1 Chapter 4 true or false

View Set

Accounting final exam missed questions

View Set

Religión Cap 8- Libres para el Bien

View Set

Science Chapters 1-4 True or False

View Set