重庆大学《操作系统》课程试卷第 1 页共 5 页
:
人
题
平
__________
学号姓名考试教室
公平竞争、诚实守信、严肃考纪、拒绝作弊
学院
专业班
年级
重庆大学《操作系统》课程试卷
A 卷
B 卷
2016—2017 学年第一学期
开课学院:计算机学院课程号:18012035
考试日期:
考试方式:开卷闭卷其他
考试时间:120 分钟
密
题号
一
二
三
四
五
六
七
八
九
十
总分
得分
考试提示
1.严禁随身携带通讯工具等电子设备参加考试;
2.考试作弊,留校察看,毕业当年不授学位;请人代考、
替他人考试、两次及以上作弊等,属严重作弊,开除学籍。
封 Part I:True / False Questions(12 points)
1. ( ) The OS is a kind of application program, it manages all hardware
resources to work together.
2. ( ) A relocation register is used to check for invalid memory addresses
generated by a CPU.
3. ( ) Monitors are a theoretical concept and are not practiced in modern
programming languages.
4. ( ) When a user-level thread is created, it cannot be scheduled directly by
线
kernel because the kernel can’t realize it .
5. ( ) Most SMP systems try to avoid migration of processes from one processor
to another and attempt to keep a process running on the same processor. This
is known as processor affinity.
6. ( ) Record semaphore may cause the problem of busy waiting.
7. ( ) A deadlocked state is an unsafe state, all unsafe states are deadlocks.
8. ( ) In segmentation memory management, to access an operand needs access
memory twice.
9. ( ) The system thrashing occurs lots of page-faults. It can result in severe
performance problems.
10. ( ) All files in a single-level directory must have unique names.
11. ( ) When continuously reading data on the same cylinder and different disk
surface, It is not necessary to move the heads.
12. ( ) Users can use the computer hardware features without going through the
operating system.
Part II: Single Choice (22 points)
1、Which one of the following descriptions about command-interpreter (命令解
释程序) is correct?( )
A. the interface between the user and the OS
B. allows users to directly enter commands C.
In the kernel or as a special program D. the
program to interpret commands
2、Which of the following does not correct for memory sharing and message
passing? ( )
A. Shared-memory is faster than message passing scheme because data
sharing does not need to switch between kernel and user space
B. Shared-memory scheme does not need kernel support. User can do it by
themselves.
C. message passing highly replies on the support of kernel.
D. message passing scheme is easy to use for users since most of its function
is provided by kernel.
3、 In five states of a process, ( ) state can convert from the other three states.
A. NEW B. RUN C. READY D. WAIT
4、A thread is a basic unit of CPU utilization, It shares with other threads
belonging to the same process the ( )
A. code section B. program counter C. register set D. stack
, , ,
, ,
20161226
郭
命
媛
静
何
锐
石
亮
石
培
静
但
芳
玉
张
:
人
亮
题
组
石
:
人
亮
题
审
石
:
间
时
题
命
制
处
务
教
重庆大学 2014 版试卷标准格式