1-2 章:
1.In multiprogramming system, operating system allocates resources in
A. process
B. thread
C.program
D.instructio
n
2.The operating system is __________.
A. Hardware
B. Application
software
C.A user program
D.System software
3.The main objective of time sharing system is
A. high throughout
B. quick response(此
选项应为正确选项,
毕博上选 D)
C.reduce system cost
D full use of memory
4.The purpose of multiprogramming is
A. enlarge memory capacity
B. full utilization of CPU
C.improve the applicability of the system
D.enhance the friendliness of the system
5.Which environment considers memory, process, and device and file
management from a global viewpoint?
A. Distributed Operating System
B. Network Operating System
C.Multiprogramming Operating System
D.None of the above
6.In user program, operating system services are requested by
A. primitive
B. terminal command
C.job control language
D.system call
7.In operating system, which function does not need hardware support
A. process
scheduling
B. address mapping
C.clock management
D.interrupt
8.The purpose of real-time operating system is
A. increase speed of software
B. reliability of the computer system
C.interactivity of the computer system
D.utilization ratio of the computer system
9.Which is not one of the major differences between user-level threads
and kernel-level threads?
A. One user-level thread can be only mapped be one kernel thread.
B. User threads are scheduled by the thread library and the kernel schedules
kernel threads.
C.Kernel threads need not be associated with a process whereas every user
thread belongs to a process.
D.User-level threads are unknown by the kernel, whereas the kernel is aware
of kernel threads.
10.What state is a process in when it can not run because it needs a
resource to become available?
A. Interrup
t
B. Ready
C.Blocked
D.Runnin
g
11.Which one of the followings is not a method for communication between
processes.
A. semaphore operations wait and signal
B. pipe
C.message buffer
D.sharing memory
12.If there are five processes in the system, how many processes at most
may be under the waiting state at the same time.
A. 1
B. 5
0
C
.
D
.
13.When a process changes state, which of the following conversion will
not occur?
A
.
Running->Ready
4
B. Waiting->Runnin
g 这才是正确答
案,毕博上选择 A
C.Running->Waitin
g
D.Ready->Running
14.In operating system, which sturcture is used for controlling and
managing the process execution
A. system kernel
B. semaphore
C.process control block
D.interrupt
15.Which function is used for starting a process?
A. fork()
B. wait()
exec(
C
)
.
exit()
D
.
16.Which is set in program state word (PSW) to avoid the user
program executing special instructions
A. condition bit
B. protection bit
C. CPU state bit
D. mask bit
17.In banch system, job scheduling program chooses multiple jobs from the
job queue and put them into
A. memory
B. pool
C.external
storage
D.cache
18.In multiprogramming system, in order to achieve the full utilization
of resources, the running program should
A. be with massive I/O
B. be with massive computation
C.have a sound balance between computing and I/O
D.be suitable to memory allocation
19.Which of the following statement is not true regarding system calls?
A. System calls are functions defined as part of the operating systems.
B System calls are functions that run in user mode in a dual mode system.
C.System calls are implemented using a trap instruction which generates an
interrupt.
System calls are functions that run in system mode in a dual mode system.
D
.
20.Which kind of operating systems has well-defined, fixed time
constraints?
A. batch system
B. network
system
C.time-sharing
D.real-time
21.On designing batch system, we should first consider
A. flexibility
B. response time
C.the balance of resouce utilization
D.Interactivity(排除)
22.In computer system, the technology that allows multiple programs enter
the memory and execute at the same time is called
A. Spooling
B. caching
C.virtual memory
D.multi-programmin
g
down to up)
23.The computer system consists of (from
A. support software, operating system, compile system, application software
B. application software, compile system, support software, operating system
C.compile system, operating system, support software, application software
D.operating system, compile system, support software, application software
24.Which one is wrong with operating system?
A. operating system manages all kinds of resources in the system
B. operating system is an application software in computer system
C.operating system is the resource manager and arbitrator
D.operating system provides a friendly interface for users
25.Which information is not included in PCB
A. page size
B. priority
C. process ID
D. memory address
26.In operating system, when a process turns to ready from running, it
indicates
A. the process is chosen by scheduler
B. the waiting event happens
C.wait for some event
D.time-slice is used out
27.Which one of the following is not a feature of process
A. concurrenc
y
B. sharability
C.static
D.interactivity
28.With indirect communication, the messages are sent to and received
from__________.
A. supply
B. pipe
C.mailbo
x
D.chanel
29.If a process is waiting for printer to continue executing, it is under
which sate?
A. running
B. ready
C.stoppe
d
D.waiting
30.Which of the following performs interrupt response
A. interrupt
hardware
B. interrupt handler
C.system kernel
D.user program
31.Which element is not part of a microkernel?
A. memory management
B.a file system
C. IPC mechanisms
D. basic I/O
32.Which one can identify the existence and state of a process
A. CC
W
B. CAW
C. PSW
PCB
interrupte
d
D
.
33.A process may be in one of the following states, except ________.
A. waiting
B
.
C. running
D. new
34.One process may include many threads. Which one of the followings is
not occupied by only thread?
A. CPU
B. stack
C. thread control block
D.memory space
35.What is not the major activity of an operating system?
A.User management
B. I/O system management
C. Main memory management
D. File management
2 章之后:
1、A page fault means that we referenced a page __________.
答案 that was not in main memory
2、In virtual paging memory management, which of the following is true?
答案 the length of page is fixed, and it is in accordance with the hardware
feature 页表大小固定且与硬件匹配
3、Which is the basic reason for invovling work set model?(应该是 involving)
答案 locality principle of program execution 程序执行的局部性原理
4、In virtual paging memory management, which part is in charge of bringing
pages into memory?
答案 page fault handling
5、In virtual paping memory management, if we make twice as great as current
page size, the number of page fault will
答案 reduce 页错误会随页增大而减少
6、In virtual paging memory management, which page will be selected to
swap out by FIFO algorithm?
答案 the page which has be staying in memory with the longest time 先入
先出
7、In virtual paging memory management, which page will be selected to
swap out by LRU algorithm?
答案 the page whose last access time is the farest from current time
距现在最远的
8、The basic function of the file system is accessing files by names. The
function can be realized by .
答案 directory-managing
9、The essence of creating a file in file system is
答案 creating the file control block 创建文件的本质是创建文件控制块
10、FCB contains many pieces of information associated with a specific
process, except _.
答案 file name (包含文件权限、拥有者、大小、数据块位置等)
11、In order to increase the speed of searching directory, the file system
need to build for searching file based on relative path.
答案 current directory
12、An allocation method refers to how disk blocks are allocated for files,
which of the following is not a disk allocation method:
答案 free allocation 磁盘分配包括连续分配、链式分配、索引分配。
13、If there is a sequential file with 3550 blocks, then how many times
are needed to access disk for get the content in No.1917 block?
答案 1
14、In paging, how many times is requried to access memory for get given
data or instruction?
答案 2
在分页和分段系统中,首先需要访问页表或段表,然后才能访问实际数据,因此需要至少访
问内存 2 次。在段页式存储管理中,首先要访问段表,最后访问相关段的页表,最后才能访
问实际数据,因此一共需访问内存至少 3 次。如果采用的是多级页表,则访问次数还将增加。
如果使用快表,且在快表中命中,则只需要访问内存 1 次。
15、In paging memory management, which one translates a logical address
into a physical address?
答案 hardware and operating system 硬件和操作系统把逻辑地址转为物理地址
16、In paging, the system needs a pair of regiesters, they are(应该是
registers)
答案 page table base register and page table length register 页表基址寄
存器、页表长度寄存器
17、Which of the following strategies not need base register and length
register?
答案 fixed-sized partitions memory-management 固定大小的分区内存管理不
需要基址和长度寄存器
18、In paging memory management, what is needed for address translation?
答案 page table 地址转换需要页表
19、Memory address space is often called
答案 physical address space 内存地址空间叫做物理地址空间
20、Which of the following methods is used to increase the number of
processes sharing the CPU?
答案 Swapping 交换可以让更多的进程共享 CPU
21、What refers to the page replacement algorithm which replaces the page
that has not been used for the longest period of time?
答案 LRU
22、Which of the following algoritms may cause Belady's Anomaly? (应该
是 algorithms)
答案 FIFO(Belady 异常:页错误率随着所分配的帧数的增加而增加)
23、In segmentation management, if the segment number is larger than the
length of segmenation table, the system will (题中应该是 segmentation)
答案 trap into addressing error 段号大于段表长度会陷入寻址错误
24、In fixed partition management, the sizes of each partition
答案 may be different as previously arranged
25、Which is wrong about compaction?(紧凑技术)
A. it is necessary to reduce the amout of information that will be moved
in compaction
B. the movement may put the free space together
C. the movement would increase CPU cost
D. any program in memory can be moved by compaction
答案 D