Linux Interview Quiz 9

Source: Internet
Author: User

One, the choice question (24 points, each small topic 3 points)

1. the operating system is a group of what (C)

A. File-management procedures

B. Interrupt handlers

C. Resource management procedures

D. Device Management procedures

Explanation: in a computer operating system, a variety of hardware and software resources are often included. These resources can be grouped into four categories: processors, memory, I/O devices, and files (data and programs). Accordingly, the main function of the OS is to effectively manage these four kinds of resources. Processor management is used to allocate and control the processor; Memory management is responsible for the allocation and recovery of memory; I/O device Management is responsible for the allocation (recycling) and manipulation of I/O devices, and file management is used to achieve the access, sharing and protection of files. As can be seen, the OS is indeed the manager of computer system resources. (Computer operating system fourth edition of the west of the Press)

2. The basic features of the modern operating system are ( C ) resource sharing and the asynchronous nature of operations

A. Multi-channel program Design B. Interrupt handling

C. Concurrent execution of a program D. Realization of time-sharing and real processing

Explanation: batch processing system has high resource utilization and system throughput, time-sharing system can get timely response, real-time system has real-time characteristics. In addition, they collectively have four basic characteristics of concurrency, sharing, virtual, and asynchronous.

3. The purpose of introducing a multi-channel procedure is to (A )

A. Taking full advantage of the CPU and reducing CPU wait time

B. Improve real-time response speed

C. Facilitates code sharing, reducing the amount of primary and secondary storage information exchanged

D. Making full use of memory

4. the real-time operating system pursues the goal is ( C )

A. High throughput B. Make full use of memory

C. Quick response D. Reduced system overhead

5. CPU state is divided into system State and user state, the only way to change from user state to System State is ( C )

A. Running process modifier status word B. Interrupt Masking

C. system Call D. Process Scheduler

6. UNIX Command General format is (A )

A. command name [options] [parameters] b.[options] [parameter] command name

c.[parameters] [options] Command name d.[command name] [options] [parameters]

7. The essential difference between processes and procedures is (D )

A. stored in memory and external memory B. Sequential and non-sequential execution of machine instructions

C. Using and monopolizing computer resources separately d. Dynamic and static characteristics

8. a process being awakened means (B )

A. The process has re-occupied CPU B. The process state becomes ready

C. Its priority becomes maximum D. Its PCB is moved to the team head of the ready queue

Second, Jane answers.

1. explain the following terms: hardware, software, multi-channel program design, concurrency, throughput

Answer:

Hardware: Hardware (English name hardware) is the abbreviation of computer hardware, refers to the computer system by electronic, mechanical and optoelectronic components, such as the composition of various physical devices collectively. These physical devices constitute an organic whole in accordance with the requirements of the system structure to provide a material basis for the operation of the computer software, consisting of five logic parts, such as the arithmetic, controller, memory, input device and output device.

Software: Software (English: Software) is a collection of computer data and instructions organized in a specific order. Generally speaking, software is divided into system software, application software and middleware between the two. The software does not just include computer programs that can be run on a computer, and documents related to those programs are generally considered part of the software. Simply put, software is a collection of programs plus documents.

multi-Channel program design: is to store several independent programs in the memory of the computer, so that they run under the control of the management program and interspersed with each other. The state of two or more programs in a computer system that is between the beginning and the end. This is called multi-channel program design. Multi-channel program technology operation characteristics: Multi-channel, macro-parallel, micro-serial.

Concurrency: In the operating system, there are several programs in a period of time that are running from the start to completion, and the programs are running on the same processor, but only one program is running on the processor at any one time point.

Throughput: throughput refers to the number of successful data transfers (measured in bits, bytes, packets, and so on) over a network, device, port, virtual circuit, or other facility, per unit of time.

Linux Interview Quiz 9

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.