Computer Operating System Chapter 1 Introduction to Operating System Exercises

1. The operating system uses multi-programming technology to improve the ___A____ of the CPU and external devices.

   A.Utilization rate b. reliability

   C.stability d. compatibility

2. The so-called _____B__ refers to putting more than one job into the main memory and running at the same time. These jobs share the time of the processor and other resources such as peripheral devices.

   A.multiple processing B. multiprogramming

   C. Real-time processing D. parallel execution

3. The ___C____ operating system allows the user to submit a number of jobs to the computer system .

   A.Single User     B, Distributed

   C.Batch processing     D.supervision

4. The use of multi-programming technology can give full play to the ability of __①CPU__ and __②computer system components__ to work in parallel.

5. The input/output operation under the control of the host is called _online input/output ____ operation.

1. One of the prerequisites for introducing multi-programming technology is that the system has (D).

A   multiple CPUs B  multiple terminals     interrupt function  

time-sharing function

2. The main disadvantage of the batch system is (C).

A   Low CPU utilization     B  Cannot execute concurrently  Lack of interactivity   None of the above

3. Multiprogramming refers to (D) .

A Run multiple programs concurrently     in a real-time system

runs multiple programs at the same time in the distributed system   

runs multiple programs at the same time on one processor

run multiple programs concurrently on a single processor

4. The basic types of operating systems mainly include (B).

   A.Batch processing system, time-sharing system and multitasking system

   B.Real-time operating system, batch operating system and time-sharing operating system

   C.Single-user system, multi-user system and batch system

   D.Real-time systems, time-sharing systems, and multi-user systems

In a multiprogramming system with one CPU and two input / output devices (disk drive and tape drive), two programs A and B are put into operation at the same time . The usage sequence and usage time of the CPU , disk and tape by these two programs are as follows:

Program A : Tape ( 30S ), CPU ( 10S ), Disk ( 30S ),

               CPU ( 10S ), Tape ( 20S )

Program B : disk ( 20S ), CPU ( 30S ), tape ( 40S )

Assumptions: CPU , disk, and tape all work in parallel

Just to ask: In the single-channel and multi-channel modes,

            1. The time taken by  programs A and B from being put into operation to the completion of operation

                  How much are they?

            2. What is the utilization of CPU , disk and tape?

A, B run at the same time:

single program

two procedures

CPU

50/190=26%

50/120=42%

Tape Drives

90/190=47%

90/120=75%

disk drive

50/190=26%

50/120=42%

Similarities and differences between real-time OS and time-sharing OS

real-time OS

time-sharing OS

multiplex

Sampling and Controlling Multiple Sites

Serving multiple end users on a time-sharing basis

independence

Independent collection of information and control objects

Each user operates independently without interfering with each other

timeliness

Subject to the acceptable time of the accused

Subject to human acceptable time

interactivity

Only interact with specific service programs

Fully interactive with human users

reliability

high reliability

Reliable within human tolerance

1. The _______ batch processing ___ system does not allow users to intervene in the operation of their own programs at any time .

2. If the time slice of the time - sharing operating system is constant, then ____B___, the longer the response time.

   A.fewer users b. more users

   C.less    memory      D.   more memory

3. A time-sharing operating system usually adopts the ___B____ strategy to serve users.

   A.Reliability and flexibility b. Time slice rotation

   C.Time slice weighted allocation D, short job priority

1. If the operating system is highly interactive and can be used by multiple users at the same time, but the time response is not timely, it belongs to the type of time-sharing system ; if the operating system is reliable, the time response is timely but only has simple interactive capabilities It belongs to the type of real-time system ; if the operating system does not provide interactive capabilities after the user submits the job, what it pursues is high utilization of computer resources, high throughput and automation of job processes, it belongs to the multi-channel batch processing type .                                                                 

2. According to the number of concurrently running programs in the memory, batch processing systems can be divided into two categories : single-channel batch processing systems and multi-channel batch processing systems .                                                                

3. When designing a real-time operating system, B of the system should be considered first .               

   A. Reliability and flexibility B. real-time and reliability

   C. Flexibility and distribution D. goodness and distribution

4. There are four main characteristics of a time-sharing operating system, namely , multi-channel , independence ,                           

        timeliness and interactivity .                       

1. Under the control of __ A _____ operating system, the computer system can process and respond to the data fed back by the process control in time.

   A.real time b. time-sharing C. distributed D. single user                  

2. The __C _____ operating system allows multiple terminals to be connected to one host at the same time, and multiple users can use the computer interactively through their own terminals at the same time.

   A.network D.Distributed C.time sharing D.real time

3. Concurrency and ___sharing___ are the two most basic characteristics of the operating system, and the two are conditions for the existence of each other.

4. The function of the operating system is to perform processor management, _ B ______ management, device management, file management and user interface.

   A.process b.storage c. hardware d. software

5. The _____ D _____ management part of the operating system is responsible for scheduling the processes. A.main memory b. controller c. calculator d. Processor

6. Concurrent execution of processes refers to several processes ___ B ______.   

 A.Simultaneously execute      B. are overlapping in execution time

 C.There is no overlap in execution time D. shared system resources

chapter summary

what is an operating system
Three important functions of the operating system: the interface between the user and the hardware; the manager of resources and the expansion machine (abstraction of computer resources)
The concept of multi-programming technology, the characteristics of the three operating systems of batch processing system, time-sharing system and real-time system
The four characteristics of the operating system: concurrency, virtualization, sharing and asynchrony.
The five functions of the operating system: processor management, memory management, device management, file management, and user interface.
Four structural design methods for operating systems: unstructured, modular, layered, and 4th generation.

Guess you like

Origin blog.csdn.net/weixin_49647262/article/details/122267737