wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

osg part 1

Total questions: 185

Worksheet time: 2hrs 33mins

Name
Class
Date
1.

1 (2299) Which of the following statements is incorrect about user mode and kernel mode?

a)

a. In kernel mode, the OS can execute every instruction in the instruction set

b)

b. In user mode, user program can execute only a subset of instructions

c)

c. Having two modes of operation helps prevent user programs from accessing critical instructions

d)

d. None of the above

2.

2 (2302) Random Access memory:

a)

a. Is typically faster than cache memory

b)

b. Is volatile

c)

c. Can only be read sequentially

d)

d. Stores all the files on the computer

3.

3 (2294) The four main structural elements of a computer system are:

a)

a. Processor, Registers, I/O Modules, Main Memory

b)

b. Processor, Registers, Main Memory, System Bus

c)

c. Processor, Main Memory, I/O Modules, System Bus

d)

d. None of the above

4.

4 (2292) What is the main characteristic of embedded operating system?

a)

a. Multiple CPU

b)

b. Time-sharing

c)

c. Many I/O devices

d)

d. Restriction of memory size, speed of CPU, screen size, powers

5.

5 (2300) Which is the difference between personal computers and mainframe computers?

a)

a. Personal computers are always interactive

b)

b. Mainframe computers are mostly batch systems with many users

c)

c. Protection is much more important on mainframe computers

d)

d. All of the above

6.

6 (2303) What is not correct about system calls?

a)

a. A system call allows a user process to assess and execute operating system functions inside the kernel.

b)

b. User programs use system calls to invoke operating system services

c)

c. In terms of performance, using system calls is better than using procedure calls

d)

d. Every system call involves overhead due to context switch

7.

What is correct about trap instructions and interrupts?

a)

A trap instruction switch the execution mode of a CPU from the user mode to the kernel mode.

b)

A trap instruction is caused by a user program to invoke functions in the OS kernel

c)

An interrupt is caused by an external event

d)

All of the above

8.

8 (2293) A Control/Status register that contains the address of the next instruction to be fetched is called the:

a)

nstruction Register (IR)

b)

Program Counter (PC)

c)

Program Status Word (PSW)

d)

All of the above

9.

9 (2291) The general role of an operating system is to:

a)

Act as an interface between various computers

b)

Provide a set of services to system users

c)

. Manage files for application programs

d)

None of the above

10.

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

11.

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

12.

12 (2297) What is not a main function of an operating system?

a)

Provide the users with an extended (virtual) machine

b)

Manage the I/O devices

c)

Provide user interfaces

d)

Support virtual memory

13.

13 (2296) 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

14.

14 (2298) Which of the following statements is incorrect about timesharing and multiprogramming systems?

a)

In a timesharing system, multiple users can access the system simultaneously

b)

In a multiprogramming system, one user can run several processes simultaneously

c)

All timesharing systems are multiprogramming systems

d)

All multiprogramming systems are timesharing systems

15.

15 (2295) MS-DOS is a example of ....

a)

Monolithic system

b)

Layered System

c)

Virtual Machine

d)

Client-server model

16.

Which of the following statements is correct about Shortest Job First

a)

Avoid Starvation

b)

Minimize average waiting time

c)

Both a and b

d)

None of the above

17.

2 (2310) In order to implement mutual exclusion on a critical resource for competing processes, only one program at a time should be allowed:

a)

In the critical region of the program

b)

To perform message passing

c)

To exhibit cooperation

d)

None of the above

18.

3 (2305) Which of the following process state transitions are legal?

a)

a. waiting -> running

b)

b. running -> ready

c)

c. waiting -> terminated

d)

d. ready -> terminated

19.

4 (2316) Which of the following is not correct about user-level threads ?

a)

User-level threads are more efficient than kernel threads, in the sense that they do not need kernel calls to switch among threads

b)

User-level threads cannot be preempted by clock interrupts unless the whole process' quantum has been used up

c)

With user-level threads, customized scheduling algorithms cannot be implemented

d)

If one user-level thread makes a blocking system call, the system will block the entire process (which contains that user-level thread)

20.

5 (2313) What is Software proposal in the solution of Mutual exclusion with Busy waiting

a)

Lock Variables

b)

Strict Alternation

c)

Peterson's Solution

d)

All of the above

21.

6 (2318) Which of the following is a preemptive scheduling algorithm

a)

FCFS

b)

Shortest Job First

c)

Round Robin

d)

None of the above

22.

7 (2308) The scheduling strategy where each process in the queue is given a certain amount of time, in turn, to execute and then returned to the queue, unless blocked is referred to as:

a)

Prioritization

b)

Round-Robin

c)

LIFO

d)

All of the above

23.

8 (2307) Which of the following process state transitions are illegal?

a)

Ready-> running

b)

waiting -> running

c)

running -> ready

d)

running -> terminated

24.

9 (2312) The following requirement must be met by any facility or capability that is to provide support for mutual exclusion:

a)

Only one process at a time can be allowed into a critical code section

b)

A process remains in its critical region for a finite time only

c)

No assumption can be made about relative process speeds

d)

All of the above

25.

10 (2311) Which is the correct description of transitions between process states below? (see picture)

a)

a. 1: Process blocks for input; 2: Scheduler picks another process; 3: Scheduler picks this process; 4: Input becomes available

b)

b. 1: Process blocks for input; 2: Scheduler picks this process; 3: Scheduler picks another process; 4: Input becomes available

c)

c. 1: Process blocks for input; 2: Input becomes available; 3: Scheduler picks another process; 4: Scheduler picks this process

d)

d. 1: Process blocks for input; 2: Input becomes available; 3: Scheduler picks this process; 4: Scheduler picks another process

26.

11 (2306) Which of the following cannot be shared among different threads of a process?

a)

Process code

b)

File handles

c)

Process data

d)

Stack

27.

12 (2314) In a single processor system, mutual exclusion can be guaranteed by:

a)

Overlapping processes

b)

Interleaving processes

c)

Disabling interrupts

d)

All of the above

28.

13 (2315) Which is not a goal of a scheduling algorithm for batch systems ?

a)

Fairness

b)

Throughput

c)

Turnaround time

d)

Response time

29.

14 (2319) Which is a wrong statement about the quantum used in Round Robin algorithm ?

a)

If the quantum is very large, RR is essentially FCFS

b)

If the quantum is very small, the CPU efficiency is reduced

c)

A reasonable value of quantum is around 20-50 ms

d)

None of the above

30.

15 (2317) Which of the following synchronization mechanisms does not rely on busy-waiting ?

a)

Lock variables

b)

Strict alternation

c)

Peterson's algorithm

d)

Semaphores

31.

1 (2531) A page fault means that we referenced a page

a)

that was outside the memory boundaries

b)

with an incorrect I/O request

c)

that was not in secondary storage

d)

that was not in main memory

32.

2 (2534) Which of the following is appropriate to release page table and pages?

a)

Process creation

b)

Process execution

c)

Page fault time

d)

Process termination time

33.

3 (2537) Page replacement algorithms determine

a)

when the system should update page table entries

b)

how many pages should be added to main memory

c)

which pages should be brought into memory because a process is likely to reference them soon

d)

which page to remove to provide space for an incoming page

34.

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

35.

5 Which of the following information bits in the entry of page table is used to indicate Page(2529) Fault?

a)

Present/absent bit

b)

Status bit

c)

Referenced bit

d)

Modified bit

36.

The second-chance page-replacement algorithm

a)

Moves pages found at the head of a FIFO queue with the referenced bit turned on back to the tail of the queue to avoid replacing them

b)

Searches through a circular list of pages and replaces the first page it encounters that has the referenced bit turned off

c)

Relies on a modified bit to determine which page to replace

d)

None of the above

37.

7 (2533) Which of the following information bits used by the various page replacement policies indicates if the page has been called lately?

a)

Locality bit

b)

Status bit

c)

Referenced bit

d)

Modified bit

38.

When a virtual memory system manages memory in fixed length units, which of the following terms correctly represents its unit?

a)

Frame

b)

Page

c)

Sector

d)

Segment

39.

In terms of speed the best method of Dynamic Storage-Allocation is:

a)

Next fit

b)

First fit

c)

Best fit

d)

Worst fit

40.

The actual location in main memory is called a(n):

a)

Relative address

b)

Logical address

c)

Absolute address

d)

None of the above

41.

LRU replaces the page that has spent the

a)

longest time in memory

b)

longest time in memory without being referenced

c)

shortest time in memory

d)

shortest time in memory without being referenced

42.

In a system employing a paging scheme for memory management, wasted space is due to:

a)

External fragmentation

b)

Internal fragmentation

c)

Pages and frames of different specified sizes

d)

None of the above

43.

The task of subdividing memory between the OS and processes is performed automatically by the OS and is called

a)

Protection

b)

Relocation

c)

Memory Management

d)

All of the above

44.

Which of the following is appropriate to determine program size and create page table?

a)

Process creation

b)

Process execution

c)

Page fault time

d)

Process termination time

45.

What is the method to keep track of memory usages?

a)

Memory Management with Bit Maps

b)

Memory Management with Linked Lists

c)

a and b

d)

None of the above

46.

The special files are:

a)

character special file

b)

block special file

c)

Neither a nor b

d)

Both a and b

47.

Which of the following is true about the block size in disk space management

a)

the larger the block size is the lower the data rate is

b)

he larger the block size is the worse the disk space utilization is

c)

the larger the block size is lesser the disk space is

d)

none of the above

48.

A file is generally defined to be:

a)

A basic element of data

b)

A collection of related fields

c)

A collection of similar records

d)

All of the above

49.

Which of the following is not a path name for the file /etc/passwd

a)

/etc/passwd

b)

/etc/../etc/passwd

c)

/etc/../etc/../etc/passwd

d)

None of the above

50.

What are the allocation methods of disk blocks for files:

a)

Contiguous allocation

b)

Linked allocation

c)

Indexed allocation

d)

All of the above

51.

File Structure can be:

a)

byte sequence

b)

record sequence

c)

tree

d)

All of the above

52.

What is incorrect about contiguous allocation of files ?

a)

It is simple to implement

b)

It leads to excellent read performance

c)

It does not cause disk fragmentation

d)

It is widely used on CD-ROMs

53.

The i-nodes are used in which of the following allocation methods

a)

Contiguous allocation

b)

Linked allocation

c)

Indexed allocation

d)

Linked allocation using FAT

54.

Which of the following is specified to indicate the directory where the file is located?

a)

Extension

b)

Path name

c)

Root directory

d)

Sub-directory

55.

Which of the following is not correct about hard links and symbolic links?

a)

Symbolic links need space to store the name and the file pointed to

b)

Hard links do not require extra disk space

c)

Symbolic links can point to files in the network

d)

Hard links can point to files on other machines

56.

Device Driver is normally written by:

a)

Device's Manufacturer

b)

OS's Manufacturer

c)

Computer's Manufacturer

d)

All of the above

57.

Which of the following I/O software device layers is done by user-level software?

a)

Computing the track, sector, and head for a disk read

b)

Writing commands to the device registers

c)

Checking to see if the user is permitted to use the device

d)

Converting binary integers to ASCII for printing

58.

An example of the key differences that can exist across (and even in) classes of I/O devices is:

a)

Data rate

b)

Data representation

c)

Error conditions

d)

All of the above

59.

In general, which is the best technique for I/O Data transfer?

a)

Programmed I/O

b)

Interrupt-Driven I/O

c)

Direct Memory Access

d)

None of the above

60.

Which of the following statements is not correct about DMA ?

a)

DMA controller has access to the system bus independent of the CPU

b)

DMA helps reduce the number of interrupts (in comparison with interrupt-driven I/O)

c)

DMA controller is usually faster than CPU

d)

The operating system can only use DMA if the hardware has a DMA controller

61.

Which of the following is not correct about the reliability of different RAID levels?

a)

There is no reliability support in RAID level 0

b)

All RAID levels can survive one disk crash

c)

In RAID level 2, a single bit error in a word can be detected AND corrected

d)

n RAID levels 3, 4, 5 a single bit error in a word can be detected

62.

Which of the following statements is not correct about "device independence"?

a)

Files and devices are accessed in the same way, independent of their physical nature

b)

A system has to maintain only one set of system calls for both writing on a file and writing on the console

c)

Device independence requires all programmers to deal with different devices directly

d)

Device independent interfaces should be given to programmers

63.

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

64.

Which of the following statements is incorrect?

a)

The term data rate refers to the speed with which data moves to and from the individual I/O device

b)

In the interrupt-driven I/O technique, the processor issues an I/O request, continues with other work and eventually receives notification that the request was fulfilled

c)

A hard drive is an example of a character-oriented I/O device

d)

None of the above

65.

he I/O technique where the processor busy waits for an I/O operation to complete is called:

a)

Programmed I/O

b)

Interrupt-driven I/O

c)

Direct Memory Access (DMA)

d)

None of the above

66.

The system is said to be in an unsafe state if

a)

The operating system cannot guarantee that all current processes can complete their work

b)

The system is deadlocked

c)

A process is indefinitely postponed

d)

None of the above

67.

f 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.

68.

All deadlocks involve conflicting needs for resources by

a)

One or more processes

b)

Two or more processes

c)

Three or more processes

d)

None of the above

69.

What is the characteristic of deadlocked systems

a)

Starvation

b)

Circular wait

c)

Saturation

d)

Aging

70.

A possibility of deadlock can occur:

a)

If a system is in safe state

b)

If a system is in unsafe state

c)

If a system is in instable state

d)

None of the above

71.

What is the weakness of the Banker's algorithm?

a)

Allowing the population of processes to vary over time

b)

Enabling processes to hold their resources indefinitely

c)

Requiring that processes state their maximum needs in advance

d)

Enabling the number of resources to fluctuate

72.

he permanent blocking of a set of processes that compete for system resources is called

a)

Starvation

b)

Deadlock

c)

Prioritization

d)

All of the above

73.

Which of the following is not a condition necessary for deadlock to exist?

a)

mutual-exclusion condition

b)

circular-wait condition

c)

hold and wait condition

d)

preemption condition

74.

Dijkstra's Banker's Algorithm require the system to maintain the resource information for each process, including:

a)

a. A count of the system's total resources

b)

b. The maximum resources that can be requested by the process

c)

c. The number of resources currently acquired by the process

d)

d. B and C

75.

If a deadlocked system, the processes can

a)

run

b)

release resources

c)

be awakened

d)

do nothing

76.

What is the characteristic of the first generation of operating system?

a)

Personal computers, single user, multitasking

b)

Transistors, batch systems

c)

Vacuum tubes, plug boards

d)

ICs and multiprogramming

77.

Which is not an example of a resource that is commonly time-multiplexed?

a)

Graphics accelerator

b)

Network interface

c)

Main memory

d)

CPU

78.

Which of the following is an Operating System component?

a)

Process Management

b)

Speed Management

c)

Space Management

d)

Time Management

79.

Which of the following conditions that causes the processes to be terminated, when processes have done their work?

a)

Fatal error (involuntary)

b)

Normal exit (voluntary)

c)

Killed by another process (involuntary)

d)

Error exit (voluntary)

80.

Which of the following statements is a hardware solution to the critical region problem?

a)

Semaphore

b)

TSL|

c)

None of the other choices

d)

Shared memory

81.

Which of the following process state transitions is correct, when the scheduler picks a process fromthe ready queue to run?

a)

Ready -> running

b)

Running -> Blocked (waiting)

c)

Blocked (waiting) -> ready

d)

Running -> ready

82.

Which cannot be able to solve the race condition?

a)

TSL

b)

Shared memory

c)

Semaphore

d)

Monitor

83.

Which of the following statements about semaphores is true?

a)

A semaphore implementation should guarantee that processes do not suffer indefinite postponement,

b)

P and V (Down and Up) operations should be indivisible operations

c)

All of the other choices

d)

If several processes attempt a P(S) operation simultaneously, only one process should be allowed toproceed

84.

Which of the following process state transitions is illegal?

a)

Ready -> Blocked (waiting)

b)

Running -> Blocked (waiting)

c)

Blocked (waiting) -> ready

d)

Running -> ready

85.

In order to implement mutual exclusion on a critical resource for competing processes, only one program at a time should be allowed:

a)

None of the other choices

b)

In the critical region of the program

c)

To exhibit cooperation

d)

To perform message passing

86.

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

87.

Which of the following statements is incorrect about timesharing and multiprogramming systems?

a)

Al l timesharing systems are multiprogramming systems

b)

In a timesharing system, multiple users can access the system simultaneously

c)

All multiprogramming systems are timesharing systems

d)

In a multiprogramming system, one user can run several processes simultaneously

88.

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

89.

What is an operating system structure in which the communication between requesting process and responding process is message passing?

a)

Monolithic Systems

b)

All of the other choices

c)

MS-DOS

d)

Client-Server Model

90.

The language ofthe CPU is known as its

a)

Register set

b)

Control unit set

c)

Instruction set |

d)

None ofthe other choices

91.

Linux and are often used as operating systems on supercomputers, mainframes, and servers.

a)

UNIX

b)

Windows

c)

None ofthe other choices

d)

Mac OS

92.

A well-known Real-Time operating system is:

a)

MS-DOS

b)

e-COS

c)

TinyOS

d)

Personal Operating System

93.

Which ofthe following operating systems is an example of monolithic system?

a)

Windows XP

b)

Mac OS

c)

UNIX

d)

MS-DOS

94.

Where is the position of the operating system in computer system:

a)

Between the user interface program and the application Program

b)

None of the other choices

c)

In user space

d)

Above the hardware and under the user interface program

95.

The is the essential component ofthe operating system that remains in RAM when your computer is powered on.

a)

registr y

b)

kernel

c)

system file

96.

What is correct about trap instructions and interrupts?

a)

Trap instruction switches the execution mode of a CPU from the user mode to the kernel mode.

b)

A trap instruction is caused by a user program to invoke functions in the OS kernel

c)

An interrupt is caused by an external event

d)

All ofthe other choices

97.

The _________is the essential component ofthe operating system that remains in RAM when your computer is powered on.

a)

system file

b)

kernel

c)

registry

98.

Which of the following instructions should be allowed only in kernel mode?

a)

ADD of two numbers

b)

Read the time-of-day clock

c)

Disable all interrupts 1

d)

AND of two numbers

99.

Consider a computer system that has cache memory, main memory (RAM) and disk, and OS uses virtual memory. It takes 2 nsec to access a byte from the cache. 20 nsec to access a byte from RAM. and 10 msec toaccess a block of 1000 bytes from the disk. If a book has 1000 pages, each with 50 lines of 80 characters each. How long it will take to electronically scan the textfor the case of the master copy being in each of the level asone proceeds down the memory hierarchy (from inboard memory to offline storage)?

a)

1 msec. 10 msec. 10 sec

b)

4 msec. 40 msec. 20 sec

c)

2 msec. 20 msec. 10 sec

d)

1 msec. 10 msec. 5 sec

100.

The basic idea behind the microkernel design is:

a)

All ofthe other choices

b)

All other modules run as relatively powerless ordinary user processes

c)

Only one module runs in kernel mode

d)

To archive high reliability by splitting operating system up into small, well-defined modules

101.

Which is not a goal of a sheduling algorithm for all systems?

a)

Balance

b)

Response time

c)

Policy enforcement

d)

Fairness

102.

Which of the following statements about semaphores is true?

a)

A semaphore implementation should guarantee that processes do not suffer indefinite postponement,

b)

P and V (Down and Up) operations should be indivisible operations

c)

All of the other choices

d)

If several processes attempt a P(S) operation simultaneously, only one process should be allowed toproceed.

103.

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

104.

Which conditions of mutual exclusion does the Lock Variables (Software proposal) violate?

a)

No process must wait forever to enter its critical region

b)

No two processes simultaneously in critical region

c)

No process running outside its critical region may block another process

d)

No assumptions made about speeds or numbers of CPUs

105.

A entry of the Process table is called:

a)

All of the other choices

b)

Process check block

c)

Process management block

d)

process control block.

106.

Semaphores that are initialized to 1 and used for two or more processes to ensure only one can enterits critical section at the same time are called:

a)

None of the other choices

b)

Binary semaphores

c)

Integer semaphores

d)

Counter semaphores

107.

An arrival message causes the system to create a new thread to handle this message. This newthread is call

a)

Upcall

b)

Distributed

c)

Activator

d)

Pop-up

108.

How many ways is Thread implemented?

a)

1

b)

3

c)

2

d)

None of the other choices

109.

Which of the following is not a CPU scheduling criterion?

a)

Burst time

b)

CPU utilization

c)

Throughput

d)

Response time

110.

How many percent of the CPU time is wasted, when a computer system has enough room to hold twoprogram and these programs are idle waiting for I/O 10% of the time?

a)

90%

b)

99%

c)

None of the other choices

d)

1 %

111.

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 CPUutilization when these programs are idle waiting for I/O 20% of the time?

a)

4%

b)

90%

c)

None of the other choices

d)

96%

112.

To specify an address in this segmented memory, the form is used

a)

<physical address, offset>

b)

<process, offset>

c)

<segment-number, offset>

d)

<virtual address, offset>

113.

Where should be put the page replacement algorithm In Mach model of Page fault handling with anexternal pager?

a)

All of the other choices

b)

In the low-level MMU handler

c)

In the external pager running in user space

d)

In the page fault handler that is part of the kernel

114.

One of the most important innovations of demand paging was that it made feasible

a)

Virtual paging

b)

Virtual memory.

c)

Memory demand

d)

Virtual demand

115.

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 holethat 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

116.

If there are 64 pages and the page size is 2048 words, what is the length of logical address?

a)

17 bits

b)

15 bits

c)

16 bits

d)

14 bits

117.

The __________ policy is based on the theory that the best page to remove is the one that has been in Thememory the longest

a)

FIFO

b)

LIFO

c)

LRU

d)

NRU

118.

Which of the following information bits in the entry of page table is used to indicate Page Fault?

a)

Status bit

b)

Present/absent bit

c)

Referenced bit

d)

Modified bit

119.

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

a)

9 K, 15 K, 10 K

b)

10 K, 20 K, 15 K

c)

20 K, 15 K, 4 K

d)

None of the other choices

120.

When a virtual memory system manages memory in fixed length units, which of the following termscorrectly represents its unit?

a)

Page

b)

Frame

c)

Block

d)

Segment

121.

Which of the following statements is incorrect about Translation Look-aside Buffer (TLB)?

a)

None of the other choices

b)

A TLB is sometimes known as an associative memory

c)

A TLB miss implies a disk operation will follow

d)

Each entry of a TLB contains the information about one page, including the virtual page number andthe corresponding page frame

122.

When there is an excessive amount of page swapping between main memory and secondarystorage, the operation becomes inefficient, which is called .

a)

thrashing

b)

Over swapping

c)

hot swapping

d)

excessive demand paging

123.

n terms of disk storage efficiency, the method of "Backing up pages dynamically" in comparison with the method of "Paging to a static swap area" is

a)

Worse

b)

Better

c)

Nearly equal

d)

Equal

124.

When a virtual memory system manages memory in fixed length units, which of the following termscorrectly represents its unit?

a)

Block

b)

Page

c)

Frame

d)

Segment

125.

Which of the following is correct about symbolic links?

a)

Symbolic links can only point to files on the same machines

b)

None of the other choices

c)

Symbolic links need not space to store the path name

d)

Symbolic links can point to files in the network

126.

is a specialized WRITE command for existing data files that allows for appending records or forrewriting selected records in their original place in the file.

a)

UPDATE

b)

REWRITE

c)

MODIFY

d)

APPEND

127.

Many computer users and some operating systems call subdirectories

a)

Volumes

b)

Databases

c)

Folders

d)

Files

128.

Which method is used to implement files to keep each file as a linked list of disk blocks?

a)

Contiguous Allocation

b)

i-node

c)

File Allocation Table

d)

Linked List Allocation

129.

Which of the following allocation methods, Operating system MS-DOS is implemented?

a)

Linked allocation using FAT

b)

Indexed allocation

c)

Linked allocation

d)

Contiguous allocation

130.

Which of a system call is to allow the system announce that the file is coming and set some of theattributes?

a)

CREATE

b)

RENAME

c)

OPEN

d)

CLOSE

131.

Which of a system call is to allow the file to appear in more than one directory?

a)

CREATE

b)

LINK

c)

OPEN

d)

SEEK

132.

Which of a system call is to allow the system free up internal table space?

a)

SEEK

b)

OPEN

c)

Close

d)

DELETE

133.

What is incorrect about contiguous allocation of files?

a)

It leads to excellent read performance

b)

It does not cause disk fragmentation

c)

It is widely used on CD-ROMs

d)

It is simple to implement

134.

Which of the following is not special file?

a)

None of the other choices

b)

Block special file

c)

Character special file

d)

Stream special file

135.

Disk can be divided up into one or more partitions. The first block of every partition is called:

a)

Super block

b)

Free block

c)

MBR

d)

Boot block

136.

What is a "stripping" in RAID?

a)

Take away possessions from someone

b)

Get undressed

c)

All of the other choices

d)

Distributing data over multiple drives

137.

How much cylinder skew is needed for a 5400- RPM (rotate per minute) disk with the track-to-trackseek time of 1 msec? The disk has 200 sectors of 512 bytes on each track.

a)

18 sectors

b)

12 sectors

c)

24 sectors

d)

36 sectors

138.

The aspect of disk performance that represents the time it takes to position the head a the desiredtrack is known as

a)

Rotational delay

b)

Access time

c)

Seek time

d)

None of the other choices

139.

A operation concerning Stable Storage is:

a)

Stable Reads

b)

All of the other choices

c)

Crash recovery

d)

Stable writes

140.

When making CDs for sale, such as music or software CDs, data is recorded on a master disc bymeans of a high-intensity laser beam, which burns indentations, called pits, and flat areas, called

a)

Lakes

b)

Lands

c)

Valleys

d)

Hills

141.

Rearrange the layers in I/O software starting at the bottom1. User-level I/O software2. Device drivers3. Interrupt handlers4. Hardware5. Device-independent OS software

a)

12345

b)

54321

c)

15234

d)

43251

142.

When an external device becomes ready to be serviced by the processor, the device sends thissignal to the processor. This signal is called:

a)

None of the other choices

b)

Halt signal

c)

Interrupt signal

d)

Handler signal

143.

Imagine that a certain modem can read 7,000 characters per second and that the time to read acharacter to the modem register is so short it can be ignored. If to run this modem using interrupt-driven I/O and each character read requires an interrupt that takes 10 usee all-in to service. Howmany percent of the CPU does the interrupt overhead cost?

a)

4% of the CPU

b)

7% of the CPU

c)

96% of the CPU

d)

93% of the CPU

144.

Assuming that it takes 10 nsec to copy a byte, how much time does it take to completely rewrite thescreen of a 1200 x 800 pixel graphics with 24- bit color?

a)

288 msec

b)

288 micro-sec

c)

28.8 micro-sec

d)

28.8 msec

145.

What is asynchronous transfer in principles of I/O software?

a)

The user process makes system call and goes to sleep until other process it wakes up

b)

None of the other choices

c)

The user program starts system call to transfer and automatically suspended until the data are available in the buffer

d)

The CPU starts the transfer and goes off to do something else until the interrupt arrives

146.

Assuming that it takes 10 nsec to copy a byte, how much time, does it take to completely rewrite the screen of a 200 characterx 20 line text mode memory-mapped screen?

a)

10 micro-sec

b)

30 micro-sec

c)

40 micro-sec

d)

20 micro-sec

147.

Which of the following statements is incorrect about I/O using DMA?

a)

None of the other choices

b)

DMA helps free up the CPU during the I/O to do other work

c)

DMA helps reduce the number of interrupts

d)

DMA is software solution to speed up data transfer between I/O device and memory

148.

Which is not a function of device drivers?

a)

To manage its power requirements and log events

b)

To accept abstract read and write request from device independent software above it and see that they are curried

c)

To receive system call

d)

To initialize the device, if needed

149.

The term__________a specialized instruction set.

a)

None of the other choices

b)

I/O device

c)

DMA

d)

Programmed I/O

150.

In a directed graph used to model deadlock, ______represents deadlock.

a)

Dashed arrow

b)

Solid arrow

c)

Any path

d)

Cycle

151.

is when, in modern printing systems, a disk accepts output from several users and acts as atemporary storage area for all output until the printer is ready to accept it

a)

Lagging

b)

Spooling

c)

Spoofing

d)

Buffering

152.

In a directed graph used to model deadlock, resources are represented using

a)

Rectangle

b)

Circular

c)

Squares.

d)

Ellipse

153.

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

154.

Which deadlock condition does "Ordering resources numerically" attack?

a)

No preemption

b)

Circular-wait condition

c)

Hold and wait

d)

Mutual exclusion

155.

Which deadlock condition does "Take resources away" attack?

a)

Circular-wait condition

b)

No preemption

c)

Hold and wait

d)

Mutual exclusion

156.

Which method is used to prevent the communication deadlock?

a)

All of the other choices

b)

Timeouts

c)

Handling alarm

d)

Acknowledge signal

157.

_________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

158.

What is the correct approach of the driver of dedicated devices with requesting device that is busy tosolve deadlock using Ostrich algorithm?

a)

The device driver stops the current jobs and releases the devices

b)

The device driver kills those requesting processes

c)

All of the other choices

d)

The device driver decides blocking and returning an error code

159.

An example of preemptable resources is

a)

DVD device

b)

None of the other choices

c)

CD-ROM device

d)

Memory

160.

What is true about non-preemptable resources?

a)

Can be taken away from a process with no ill effects

b)

None of the other choices

c)

Will cause the process to fail if taken away

d)

Can share among processes

161.

______allows a resource to be held by a process as long as it is needed

a)

Hold and wait condition

b)

Mutual-exclusion condition

c)

No preemption condition

d)

Circular-wait condition

162.

Which of the following is not a step in the boot process?

a)

The antivirus program checks all files for viruses.

b)

Configuration and customization settings are checked

c)

The operating system is loaded into RAM.

d)

The BIOS is activated by powering on the CPU.

163.

Which of a system call is to allow the system free up disk space?

a)

OPEN

b)

CLOSE

c)

SEEK

d)

DELETE

164.

A________is a group of related records that contains information to be used by specific application programs to generate reports.

a)

Field

b)

File

c)

Record group

d)

Directory

165.

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

166.

A ____ is a portion of a process that can run independently.

a)

subprocess

b)

thread

c)

program

d)

Mini-process

167.

Which of a system call is to allow the system fetch the attributes and list of disk addresses into main memory for rapid access on later call?

a)

SEEK

b)

OPEN

c)

RENAME

d)

CLOSE

168.

Which of the following actions generates an external interrupt?

a)

A page that does not exist in the main memory is accessed by the virtual storage management.

b)

An input/output operation is completed.

c)

Division by zero occurs.

d)

A system call instruction is executed.

169.

Deadlock definition:A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can cause. What does event mean?

a)

The event is release of a currently held resource

b)

The event is some mouse click

c)

The event is press some key on keyboard

d)

None of the other choices

170.

An interrupt that leaves the machine in well-defined state is called a(n)

a)

Precise interrupt

b)

Disappointed interrupt

c)

Required interrupt

d)

Imprecise interrupt

171.

Which of following statements about the memory hierarchy is false?

a)

Small amount of fast expensive memory - cache

b)

Gigabytes of slow cheap disk storage

c)

None of the other choices

d)

Some medium-speed medium price main memory

172.

Which is the fastest bus in the IBM PC computer

a)

ISA

b)

USB

c)

IDE

d)

PCI

173.

Which of the following statement is correct about a disadvantage of memory-mapped I/O?

a)

Caching a device control register would be disastrous

b)

Programs can use 1 instructions to test whether the device is ready

c)

Since the control registers of devices are mapped into the memory space, device drivers can be written in C

d)

No special protection mechanism needed to keep user processes from performing I/O

174.

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

175.

Which classes of I/O devices that Clock belong to?

a)

Stream devices

b)

Block devices

c)

Character devices

d)

None of the other choices

176.

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

177.

What is not the technique of implementation for Virtual Memory?

a)

All of the other choices

b)

Paging

c)

Segmentation

d)

Partition

178.

In the memory-mapped I/O system, in order that CPU communicates with the control registers in the devices, the control register is assigned :

a)

Index

b)

Unique memory address

c)

I/O address

d)

None of the other choices

179.

Which of special register contains the condition code bits, the CPU priority, the mode bit and other control bits

a)

Program Status Word (PSW)

b)

None of the other choices

c)

Instruction Register (IR)

d)

Program Counter (PC)

180.

_________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

181.

Which of these statements about the algorithm "Worst fit" is true?

a)

Memory Manager starting searching the list of segments from the place where it left off last time.

b)

Memory Manager scans along the list of segments until it finds a hole that is big enough.

c)

Memory Manager searches the entire list of segments from beginning to end and take smallest hole that is adequate.

d)

None of the other choices

182.

The aspect of disk performance that represents the time it takes to position the head a the desiredtrack is known as

a)

Rotational delay

b)

Access time

c)

Seek time

d)

None of the other choices

183.

How many categories can be the I/O devices roughly divided?

a)

1

b)

2

c)

3

d)

4

184.

A directory in UNIX/Linux consists of:

a)

I-node number and file name

b)

File name, file size, location of the file on disk

c)

File name, file size, location of the file on disk, date created, owner ID

d)

None of the other choices

185.

The disk blocks in a partition that contains the top of the file system tree is called:

a)

Free space management blocks

b)

Root directory

c)

Boot block

d)

Superblock

Similar Resources on Wayground