学堂在线操作系统原理(Principles of Operating Systems)期末考试答案 - 云南大学

wangke 学堂在线答案 4


1.单选题 (1分)

The operating system is mainly used to manage () in the computer system.

A program

B operation

C process

DResources

正确答案:D

2.单选题 (1分)

The operating system needs to design special shell programs and interfaces in order to provide corresponding services to ().

A user

B Kernel

Cupper layer

D Lower level

正确答案:C

3.单选题 (1分)

The main task of storage management is to manage () resources.

A External storage

BRAM

C program

D data

正确答案:B

4.单选题 (1分)

Concurrency means that several events occur in ().

A Different moments

B The same moment

C In different time intervals

DWithin the same time interval

正确答案:D

5.单选题 (1分)

The first time-sharing operating system developed by MIT is ().

A UNIX

B Linux

CCTSS

D Multics

正确答案:C

6.单选题 (1分)

The main purpose of the introduction process is to characterize the program () and solve the sharing of resources.

A Parallelism

BConcurrency

C Synchronization

D Asynchrony

正确答案:B

7.单选题 (1分)

When the system resources can not meet the needs of multiple processes running, the system needs to swap out some processes in memory to the external storage disk, temporarily not let it participate in process scheduling, at this time the process is in () state.

A Sleep

B Block

CHang

D wait

正确答案:C

8.单选题 (1分)

The process context can be divided into user-level context, system-level context and () context.

A Memory

Bregister

C processor

D Operator

正确答案:B

9.单选题 (1分)

Generally, certain program segments with specific functions executed in the system state are called ().

APrimitive

B Routine

C function

D Subroutine

正确答案:A

10.单选题 (1分)

Most or all functions of process management are put into ().

A RAM

B External storage

CKernel

D buffer

正确答案:C

11.单选题 (1分)

() Is a data structure that marks the existence of a thread.

A FCB

B PCB

C JCB

DTCB

正确答案:D

12.单选题 (1分)

In modern operating systems, () is the basic unit of processor scheduling.

AThread

B process

C operation

D program

正确答案:A

13.单选题 (1分)

The process that the job enters the external memory from the input device is called ().

A Fallback status

B Execution status

CCommit status

D finished condition

正确答案:C

14.单选题 (1分)

() Time refers to the time interval from job submission to job completion.

A response

Bturnover

C run

D wait

正确答案:B

15.单选题 (1分)

Transferring processes in the ready state or ready wait state in the external memory swap area to memory belongs to () scheduling.

Aexchange

B process

C Thread

D operation

正确答案:A

16.单选题 (1分)

In job scheduling, the job with the longest queue waiting time is scheduled first, which refers to the () scheduling algorithm.

A Short job priority

B First come first

C High priority

DResponse is higher than high

正确答案:D

17.单选题 (1分)

If there are 5 concurrent processes in the system involving a same variable A, the relevant critical section of variable A is composed of () critical section.

A 2 pcs

B 3

C 4

D5

正确答案:D

18.单选题 (1分)

In the producer-consumer problem, the relationship between producer and consumer is ()

ASynchronize

B Mutually exclusive

C rely

D order

正确答案:A

19.单选题 (1分)

A process can be awakened with the V operation, and the status of the awakened process becomes ().

A Block

BReady

C run

D carry out

正确答案:B

20.单选题 (1分)

There are three processes sharing a resource. If only one process is allowed to use the resource at a time, the possible value of the semaphore S when using P and V operations management is ().

A1, 0, -1, -2

B 2,0, -1, -2

C 1, 0, -1,

D 3, 2, 1, 0

正确答案:A

21.单选题 (1分)

The UNIX system is a () operating system.

A Single user single task

B Multi-user single task

C Single user multitasking

DMulti-user multi-tasking

正确答案:D

22.多选题 (2分)

P and V operations are primitives with specific functions provided by the operating system. Use P and V to operate ().

A Ensure that the system does not deadlock

BImplement mutually exclusive use of resources

CPostpone the process of using shared resources

DCoordinate the execution speed of the process

正确答案:B,C,D (少选不得分)

23.多选题 (2分)

The advanced communication of the process includes ().

AMessage buffering mechanism

Bpipeline

C Mailbox communication

DInterrupt

正确答案:A,B,D (少选不得分)

24.多选题 (2分)

It should be () when implementing inter-process communication with a mailbox.

AThere must be at least two primitives: send and receive

BEmail set by the recipient

CAllow multiple processes to send letters to the same mailbox

DOnly take one letter from the designated mailbox each time

正确答案:A,B,C,D (少选不得分)

25.多选题 (2分)

Among the following methods to solve the deadlock, the deadlock prevention strategy is ().

AOrderly resource usage

BStatic resource allocation

CPriority allocation method

D Ostrich policy

正确答案:A,B,C (少选不得分)

26.多选题 (2分)

When awakening a waiting process with V operation, the state of the awakened process cannot become ().

A Ready

B wait

Ccarry out

Dcarried out

正确答案:C,D (少选不得分)

27.多选题 (2分)

When there is only one individual for each type of resource, the following statement is True ().

ARing must be deadlocked

BDeadlock must have a ring

C Rings are not necessarily deadlocked

DThe locked person must be in the ring

正确答案:A,B,D (少选不得分)

28.多选题 (2分)

The cause of system deadlock cannot be due to ().

AProcess releases resources

BA process enters an infinite loop

CMultiple processes compete for CPU

DMultiple processes compete for shared devices

正确答案:A,B,C,D (少选不得分)

29.多选题 (2分)

Shared variables refer to variables accessed by ().

A Can only be used by system processes

BCan be synchronized by multiple processes

CCan be used by multiple user processes

DCan be used by multiple mutually exclusive processes

正确答案:B,C,D (少选不得分)

30.多选题 (2分)

Storage management methods suitable for multi-programming are ().

AFixed partition

BVariable partition

CPage style

DSegment

正确答案:A,B,C,D (少选不得分)

31.多选题 (2分)

A system using a variable partition storage management method may cause a change in the "free area table" when reclaiming space returned by the job.

AThe start address and length of a registration item need to be modified

BThe starting address of a registration item remains unchanged, the length is changed to the original length plus the length of the return area

CAdd a valid entry

DReduce one valid entry

正确答案:A,B,C,D (少选不得分)

32.多选题 (2分)

If paged storage management is used, then it can be allowed ().

AUse consecutive logical addresses in the program

BJob information can be loaded into non-adjacent main memory blocks

CUse the fast table to improve the instruction execution speed

DDynamic relocation by hardware during job execution

正确答案:A,B,C,D (少选不得分)

33.多选题 (2分)

Paged storage management and segmented storage management not only have similar address structures, but also have a lot in common in management, which is expressed as ().

ABoth require operating system and hardware to cooperate with each other to achieve storage protection

B The main memory space is partitioned (block) by the system in advance

CJob information can be stored in the main storage area not necessarily adjacent

DAll require hardware for dynamic relocation

正确答案:A,C,D (少选不得分)

34.多选题 (2分)

In storage management, the statement () is inTrue.

A"No matter which storage management method is adopted, the logical addresses used by users are continuous."

B "Dynamic relocation must be supported by hardware address translator

C"The segment table and page table are created by the user according to the operation situation

D"Using static relocation can realize program floating"

正确答案:A,C,D (少选不得分)

35.多选题 (2分)

The address structure of segmented and paged storage management is very similar, but there is a substantial difference between them, expressed as ().

APaged logical addresses are continuous, and segmented logical addresses may not be continuous

BPaged addresses are one-dimensional, and segmented addresses are two-dimensional

CPaging is performed by the operating system, and segmentation is determined by the user

DEach page can be scattered and stored in main memory, and each segment must occupy continuous main memory space

正确答案:A,B,C,D (少选不得分)

36.多选题 (2分)

It is () that allows processes not to occupy continuous main memory space in storage management.

ASegment page storage management

BPage storage management

CSegmented storage management

D Variable partition storage management

正确答案:A,B,C (少选不得分)

37.多选题 (2分)

In the implementation of the following main memory space allocation algorithm, the algorithm that needs to sort the free area by size is the () algorithm.

A Adapt first

BOptimal adaptation

C Random adaptation

DWorst fit

正确答案:B,D (少选不得分)

38.多选题 (2分)

In the following storage management solutions, the dynamic relocation method for loading operations is () storage management method.

ASegment page

BVariable partition

CPage style

DSegment

正确答案:A,B,C,D (少选不得分)

39.多选题 (2分)

In the following memory management scheme, what can achieve virtual storage is ().

A Partition management

B Paging storage management

CRequest paging storage management

DRequest segmented storage management

正确答案:C,D (少选不得分)

40.多选题 (2分)

The functions of the file system include ().

AManage disk space

BEstablish the physical structure of the document

CAccess by name

DProvide file protection

正确答案:A,B,C,D (少选不得分)

41.判断题 (1分)

The process is the basic unit for the application and allocation of resources by modern operating systems and the basic unit for processor scheduling.

正确答案:错误

42.判断题 (1分)

The transition from the submission state to the backup state is achieved through the job scheduler.

正确答案:错误

43.判断题 (1分)

In the processor scheduling, the deprivation mode has larger system overhead than the non-deprivation mode.

正确答案:正确

44.判断题 (1分)

A critical section is a resource that is not allowed to be accessed by multiple concurrent processes.

正确答案:错误

45.判断题 (1分)

Concurrent execution may cause the process to lose reproducibility.

正确答案:正确

46.判断题 (1分)

Mutual exclusion can be achieved either in software or hardware.

正确答案:正确

47.判断题 (1分)

Process synchronization is caused by indirect constraints between processes.

正确答案:错误

48.判断题 (1分)

Synchronization of the two processes requires access to shared variables.

正确答案:正确

49.判断题 (1分)

P and V operations synchronized between processes must appear in pairs.

正确答案:错误


电大答案

发布评论 0条评论)

还木有评论哦,快来抢沙发吧~

当前文章名称

手机号用于查询订单,请认真核对

支付宝
立即支付

请输入手机号或商家订单号

商家订单号在哪里?点此了解

你输入的数据有误,请确认!

如已购买,但查不到

可联系客服QQ 55089918 进行核实