操作系统选择题·一


  1. When one thread immediately terminates the target thread, it is called ____________

    A. asynchronous cancellation      B. systematic cancellation

    C. sudden Termination         D. deferred cancellation


    答案:A

  1. Operating system goals are to:

    A. execute user programs and make solving user problems easier

    B. make the computer system convenient to use

    C. use the computer hardware in an efficient manner

    D. All of the above


    答案:D

  1. Which is built directly on the hardware?

    A. Computer Environment       B. Application Software

    C. Operating System          D. Database System


    答案:C

  1. Which of the following Operating System does not implement multitasking truly?

    A. Windows 98    B. Windows NT    C. Windows XP    D. MS DOS


    答案:D

  1. Which is not the function of the Operating System?

    A. Virus Protection            B. Application management

    C. Memory management       D. Disk management


    答案:A

  1. How does the software trigger an interrupt?

    A. Sending signals to CPU through bus

    B. Executing a special operation called system call

    C. Executing a special program called system program

    D. Executing a special program called interrupt trigger program


    答案:B

  1. An interrupt vector

    A. is an address that is indexed to an interrupt handler

    B. is a unique device number that is indexed by an address

    C. is a unique identity given to an interrupt

    D. none of the mentioned


    答案:A

  1. To access the services of operating system, the interface is provided by the ___________

    A. System calls     B. API     C. Library     D. Assembly instructions


    答案:A

  1. What is the main function of the command interpreter?

    A. to get and execute the next user-specified command

    B. to provide the interface between the API and application program

    C. to handle the files in operating system

    D. none of the mentioned


    答案:A

  1. What is inter-process communication?

    A. communication within the process

    B. communication between two processes

    C. communication between two threads of same process

    D. none of the mentioned


    答案:B

  1. A process stack does not contain __________

    A. Function parameters        B. Local variables

    C. Return addresses       D. PID of child process


    答案:D

  1. Which system call returns the process identifier of a terminated child?

    A. wait     B.exit     C. fork     D. get


    答案:A

  1. A Process Control Block(PCB) does not contain which of the following?

    A. Code     B. Stack     C. Bootstrap program     D. Data


    答案:C

  1. The state of a process is defined by __________

    A. the final activity of the process

    B. the activity just executed by the process

    C. the activity to next be executed by the process

    D. the current activity of the process


    答案:D

  1. Which of the following is not the state of a process?

    A. New     B. Old     C. Waiting     D. Running


    答案:B

  1. The entry of all the PCBs of the current processes is in __________

    A. Process Register     B. Program Counter     C. Process Table     D. Process Unit


    答案:C

  1. What is the degree of multiprogramming?

    A. the number of processes executed per unit time

    B. the number of processes in the waiting queue

    C. the number of processes in the I/O queue

    D. the number of processes in memory


    答案:D

  1. What will happen when a process terminates?

    A. It is removed from all queues

    B. It is removed from all, but the job queue

    C. Its process control block is de-allocated

    D. Its process control block is never de-allocated


    答案:A

  1. The Zero Capacity queue __________

    A. is referred to as a message system with buffering

    B. is referred to as a message system with no buffering

    C. is referred to as a link

    D. none of the mentioned


    答案:B

  1. A parent process calling _____ system call will be suspended until children processes terminate.

    A. wait     B. fork     C. exit     D. exec


    答案:A

  1. Turnaround time is :

    A. the total waiting time for a process to finish execution

    B. the total time spent in the ready queue

    C. the total time spent in the running queue

    D. the total time from the completion till the submission of a process


    答案:D

  1. Which module gives control of the CPU to the process selected by the short-term scheduler?

    A. dispatcher     B. interrupt     C. scheduler     D. none of the mentioned


    答案:A

  1. Process are classified into different groups in

    A. shortest job scheduling algorithm

    B. round robin scheduling algorithm

    C. priority scheduling algorithm

    D. multilevel queue scheduling algorithm


    答案:D

  1. Which of the following conditions must be satisfied to solve the critical section problem?

    A. Mutual Exclusion     B. Progress     C. Bounded Waiting     D. All of the mentioned


    答案:D

  1. What is the main disadvantage of spinlocks?

    A. they are not sufficient for many process

    B. they require busy waiting

    C. they are unreliable sometimes

    D. they are too complex for programmers


    答案:B

  1. What are the two kinds of semaphores?

    A. mutex & counting     B. binary & counting     C. counting & decimal     D. decimal & binary


    答案:B

  1. A system is in the safe state if ____________

    A. the system can allocate resources to each process in some order and still avoid a deadlock

    B. there exist a safe sequence

    C. all of the mentioned

    D. none of the mentioned


    答案:A

  1. Binding of instructions and data to memory addresses can be done at ____________

    A. Compile time     B. Load time     C. Execution time     D. All of the mentioned


    答案:D

  1. Swapping requires a _________

    A. motherboard     B. keyboard     C. monitor     D. backing store


    答案:D

  1. CPU fetches the instruction from memory according to the value of ____________

    A. program counter     B. status register     C. instruction register     D. program status word


    答案:A

🎡愿诸君都能取得自己想要的成绩。

🎈听说给我好评、评论的小伙伴都取得了自己想要的成绩哦~

🎨如果有错误可以评论或私信我哦~