# 選擇題

  1. Which are correct for DMA?【92 雲科大資工、電子計系】

    • While the DMA controller is performing the data transfer, the CPU waits for its completion
    • It is used for high-speed I/O devices
    • Only one interrupt is generated per block
    • The DMA controller steals memory cycles from the CPU
  2. Which of the following statements about I/O is (are) correct?【99 交大資工 OS】

    • For short and frequent 1/O, polling I/O can be more efficient than interrupt IO
    • Non-blocking IO can be implemented by block I/O system call with multithreads
    • When an I/O transfer completes, the correct interrupt handler receives the interrupt and moves the user process to the ready queue
    • Displaying high-performance graphics requires double-buffering and memory-map I/O
  3. Which are correct for operating-system structure and operations?【98 雲科資工、作業系統】

    • One of the most important aspects of operating systems is the ability to multiprogram.
    • Time sharing is a logical extention of multiprogramming.
    • A trap is a hardware-generated interrupt caused by an error.
    • A timer could be used to prevent a user program from getting stuck in an infinite loop and never returning control to the operating system.
  4. Which of the following statement is correct?【98 交大資聯 OS】

    • The throughput of interrupt 1/0 s higher than that of polling 1/O.
    • For the interrupt which is masked, the interrupt still notifies the CPU but the CPU does not process the request.
    • The overall system performance can be always improved by enabling DMA (direct- memory-access).
    • The DMA mechanism is usually suitable for a character device.
    • Software interrupt also goes through the interrupt controller to notify the CPU.
  5. Which are correct for operating-system structure and operations?【98 雲科資エ作業系統】

    • One of the most important aspects of operating systems is the ability to multiprogramming
    • Time sharing is a logical extension of multiprogramming.
    • A trap is a hardware-generated interrupt caused by an error.
    • A timer could be used to prevent a user program from getting stuck in an infinite loop and never returning control to the operating system.
  6. Which are correct for operating-system structure?【98 雲科資エ 0S】

    • In MS-DOS, application programs are able to access the basic I/O routines to write directly to the display and disk drives.
    • The early UNIX system modularized the kernel using the microkernel approach.
    • Layered approach used in the_ operating-system structure simplifies debugging and system verification.
    • Solaris is organized around a core kernel with several types of loadable kernel modules.
  7. Which of the following are correct statements about kernel I/O subsystem?.【100 交大資工作業系統】

    • A program using asynchronous I/O system calls is simpler o write than using synchronous I/O system calls.
    • When an I/O request if finished, the I/O device will issue an interrupt to the-user-level process that issues the I/O request telling it that the request has been served.
    • In UNIX, a file descriptor created in a user-level process may refer to a file or a network socket.
    • When a user-level process calls a write() system call with the address of the buffe containing the data, the kernel copies the data from the user-level buffer directly to the hardware buffer of the I/O device for efficiency
    • Buffer can be used to cope with a speed 1mismatch between the producer and consumer of a data stream.
  8. Which of the following operations are usuallv not involved when an interrupt occurs?【台大電機 100 OS 與計組】

    • Program counter saved.
    • New program counter loaded from interrupt service table.
    • Registers saved and new stack set up.
    • Service process executed.
    • All of the above are involved.
  9. Which is not the main advantage of multiprocessor systems?【101 雲科資工作業系统】

    • increased throughput
    • economy of scale
    • increased reliability
    • high CPU utilization
  10. What is the structure of Solaris?【101 雲科資工作業系統】

  • monolithic structure
  • layered approach
  • microkernel
  • modules
  1. Which presents the guest with a system that is similar but not identical to the guest’s preferred system so the guest usually need be modified to run on it?【101 高雄大學資工所計算機結構與作業系統】
  • Para-virtualization
  • Simulation
  • Java virtual machine
  • .NET framework
  1. Choose the correct statements from the multiple choices regarding virtualization. 【102 中央資工 OS 與計组】
  • The guest operating system runs on top of host operation system
  • In para-virtualization, a guest operating system runs unmodified on a hypervisor.
  • Para-virtualization presents the guest with a system that is identical to the guest’s preferred system.
  • Both of virtual user mode and virtual kernel mode run in a physical user mode on the host.
  • None of the above
  1. Choose the correct statements from the multiple choices regarding cloud computing【103 中央資工作業系統與計算機結構】
  • Sofware as a service (SaaS) provides a software stack ready for application use via the Internet.
  • SaaS is a software delivery model in which software and associated data are centrally hosted on the cloud.
  • SaaS provides one or more applications available via the Intemnet.
  • A database server is a kind of SaaS
  • None ofthe above
  1. Identify the following environments need hard real-time scheduling.【104 中央資工作業系統與計算機组織】
  • Thermostat in a household
  • Control system for a nuclear power plant
  • Fuel economy system in an automobile.
  • Landing system in a jet airliner.
  • Mailing system.
  1. Choose the correct statements from the multiple choices regarding DMA.【104 中央資工作業系統與計算機组織】
  • DMA is a mechanism for allowing an NO device to transfer data to and from memory without involving the CPU in the transfer.
  • In DMA only one interrupt is generated per -byte.
  • While the DMA controller is performing the data transfer, the CPU is free to perform other tasks.
  • The cycle stealing in DMA can speed up the CPU computation.
  • DMA can perform a transfer between two memory-mapped devices without the intervention of the CPU or the use of main memory.
  1. Which are correct for computing environments?【104 雲科大資工 OS】
  • Apple iOS is an open-source system.
  • A hard real-time system guarantees that critical tasks be completed on time.
  • One type of cloud computing is software as a service (SaaS) that provides storage available over the Internet.
    -In a peer-to-peer system, the server is a bottleneck.
  1. DMA controllers【104 淡江資工作業系統】
  • do not utilize an additional, special purpose, processor.
  • are a nonstandard component in PCs of today.
  • can steal memory access cycles from the main CPU.
  • can access main memory at the same time as the main CPU.
  1. Which of the following statements are true?【105 交大資聯計算機結構與作業系統】
  • Dual-mode operation allows OS to protect itself and other system components. If os doesn’t have dual-mode operation, every user can modify the kernel system withou permissions.
  • DMA is used for high-speed 1/O devices to transfer blocks of data from buffer storage directly to main memory without CPU intervention.
  • The user program can deals with both of logical addresses and physical addresses.
  • Message passing is the only mechanism of inter-process communication.
  • If a system does not employ either Deadlock-prevention or Deadlock-avoidance, there is no other method to figure out the deadlock problem.
  1. Which one (s) of the following operations involve at least one svstem call? 【106 交大計算機系統】
  • Reading a record from a file.
  • Copying a string.
  • Creating a new process.
  • Displaying a window on the screen.
  1. Choose the statements that are policies (not mechanisms) from the multiple choices. 【106 中央資工作業系统與計算機組織】
  • A list of runnable processes is stored in a heap.
  • Processes owned by root have higher priority than normal user processes.
  • An operating system uses a timer to reclaim the cores from user processes.
  • Users must change their passwords every 90 days.
  • None of the above
  1. Some computer systems do not provide a privileged mode of operation in hardware, To construct a secure operating system for these computer systems, an OS for a machine of this type would need to remain in control at all times. This is could be accomplished by the following methods:【106 中央資工作業系统與計算機組織】
  • software interpretation of all user programs.
  • co-execution with co-processor to execute all programs.
  • networked server support to execute programs.
  • all programs be written in high-level languages so that all object code is compiler produced and checked.
  • cluster computing in database cloud system.

# 申論題

更新於