O S G - part 3

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which is the fastest bus in the IBM PC computer? [A] ISA (Industry Standard Architecture) [B] USB (Universal Serial BUS) [C] IDE (Integrated Drive Electronic) [D] PCI (Peripheral Component Interconnect)

A

Which of a system call is to allow the system announce that the file is coming and set some of the attributes? [A] CREATE [B] RENAME [C] OPEN [D] CLOSE

A

Which of special register contains the condition code bits, the CPU priority, the mode bit and other control bits? [A] Program Status Word (PSW) [B] None of the other choices [C] Instruction Register (IR) [D] Program Counter (PC)

A

Which of the following allocation methods, Operating system MS-DOS is implemented? [A] Linked allocation using FAT [B] Indexed allocation [C] Contiguous allocation [D] Linked allocation

A

Which of the following file structure is used for file system in Window? [A] Tree [B] Record sequence [C] Byte sequence [D] Ring

A

Which of the following information bits in the entry of page table is false? [A] Present/absent bit [B] Modified bit [C] Protection bit [D] Mode bit

A

Which of the following is an Operating System component? [A] Process Management [B] Speed Management [C] Space Management [D] Time Management

A

Which of the following is not a CPU scheduling criterion? [A] Burst time [B] CPU utilization [C] Throughput [D] Response time

A

Which of the following is not a step in the boot process? [A] The antivirus program checks all files for viruses. [B] Configuration and customization settings are checked [C] The operating system is loaded into RAM. [D] The BIOS is activated by powering on the CPU.

A

Which of the following process state transitions is correct, when the scheduler picks a process from the ready queue to run? [A] Ready -> running [B] Running -> Blocked (waiting) [C] Blocked (waiting) -> ready [D] Running -> ready

A

Which of the following process state transitions is illegal? [A] Ready -> Blocked (waiting) [B] Running -> Blocked (waiting) [C] Blocked (waiting) -> ready [D] Running -> ready

A

Which of the following statement is correct about a disadvantage of memory-mapped I/O? [A] Caching a device control register would be disastrous [B] Programs can use 1 instructions to test whether the device is ready [C] Since the control registers of devices are mapped into the memory space, device drivers can be written in C [D] No special protection mechanism needed to keep user processes from performing I/O

A

Which is not an example of a resource that is commonly time-multiplexed? [A] Graphics accelerator [B] Network interface [C] Main memory [D] CPU

B

Which method is used to prevent the communication deadlock? [A] All of the other choices [B] Timeouts [C] Handling alarm [D] Acknowledge signal

B

Which of a system call is to allow the file to appear in more than one directory? [A] CREATE [B] LINK [C] OPEN [D] SEEK

B

Which of the following actions generates an external interrupt? [A] A page that does not exist in the main memory is accessed by the virtual storage management. [B] An input/output operation is completed. [C] Division by zero occurs. [D] A system call instruction is executed.

B

Which of the following allocation methods the i-nodes use? [A] Linked allocation using FAT [B] Indexed allocation [C] Linked allocation [D] Contiguous allocation

B

Which of the following conditions that causes the processes to be terminated, when processes have done their work? [A] Fatal error (involuntary) [B] Normal exit (voluntary) [C] Killed by another process (involuntary) [D] Error exit (voluntary)

B

Which of the following is not correct about hard links and symbolic links? d [A] Symbolic links need space to store the path name and considerable number of extra disk accesses [B] Hard links can point to files on other machines [C] Hard links do not require extra disk space [D] Symbolic links can point to files in the network

B

Which of the following statements about interrupts and trap instructions is incorrect? [A] An interrupt is a hardware-generated change of control flow within the system [B] None of the other choices [C] A trap instruction is a software-generated interrupt [D] An interrupt handler deals with the cause of the interrupt

B

Which of the following statements is a hardware solution to the critical region problem? [A] Semaphore [B] TSL| [C] None of the other choices [D] Shared memory

B

Which of a system call is to allow the system fetch the attributes and list of disk addresses into main memory for rapid access on later call? [A] SEEK [B] OPEN [C] RENAME [D] CLOSE

C

Which of a system call is to allow the system free up internal table space? [A] SEEK [B] OPEN [C] Close [D] DELETE

C

Which of following statements about the memory hierarchy is false? [A] Small amount of fast expensive memory - cache [B] Gigabytes of slow cheap disk storage [C] None of the other choices [D] Some medium-speed medium price main memory

C

Which of the following I/O software do Device drivers do? [A] None of the other choices [B] Checking to see if the user is permitted to use the device [C] Converting binary integers to ASCII for printing [D] Writing commands to the device registers!

C

Which of the following conditions that causes the processes to be terminated, when the processes executes a system call tell the OS to finish some other process? [A] Fatal error (involuntary) [B] Error exit (voluntary) [C] Normal exit (voluntary) [D] Killed by another process (involuntary)

C

Which of the following information bits in the entry of page table is used to indicate Page Fault? [A] Status bit [B] Modified bit [C] Present/absent bit [D] Referenced bit

C

Which of the following instructions should be allowed only in kernel mode? [A] ADD of two numbers [B] Read the time-of-day clock [C] I Disable all interrupts 1 [D] AND of two numbers

C

Which of the following is a method to keep track of memory usages? [A] Memory Management with Linked Lists [B] Memory Management with Bit Maps [C] Both Memory Management with Bit Maps and Memory Management with Linked Lists [D] None of the other choices

C

Which of the following statements about semaphores is true? [A] A semaphore implementation should guarantee that processes do not suffer indefinite postponement, [B] P and V (Down and Up) operations should be indivisible operations [C] All of the other choices [D] If several processes attempt a P(S) operation simultaneously, only one process should be allowed to proceed.

C

Which of the following statements is incorrect about I/O using DMA? [A] DMA helps free up the CPU during the I/O to do other work [B] None of the other choices [C] DMA is software solution to speed up data transfer between I/O device and memory [D] DMA helps reduce the number of interrupts

C

Which of the following statements is incorrect about Translation Look-aside Buffer (TLB)? [A] None of the other choices [B] A TLB is sometimes known as an associative memory [C] A TLB miss implies a disk operation will follow [D] Each entry of a TLB contains the information about one page, including the virtual page number and the corresponding page frame

C

Which of these statements about the algorithm "Next fit" is true? [A] Memory Manager searches the entire list of segments from beginning to end and take smallest hole that is adequate. [B] Memory Manager scans along the list of segments until it finds a hole that is big enough. [C] Memory Manager starting searching the list of segments from the place where it left off last time [D] None of the other choices

C

Which is the maximum number of partition that most disks can be divided up? [D] 4

D

Which method is used to implement files to keep each file as a linked list of disk blocks? [A] Contiguous Allocation [B] i-node [C] File Allocation Table [D] Linked List Allocation

D

Which of a system call is to allow the system free up disk space? [A] OPEN [B] CLOSE [C] SEEK [D] DELETE

D

Which of the events that causes the processes to be created, when an operation system is booted? [A]| Execution of a process creation system cal [B] Initiation of a batch job [C] User request to create a new process [D] System initialization

D

Which of the following is correct about symbolic links? [A] Symbolic links can only point to files on the same machines [B] None of the other choices [C] Symbolic links need not space to store the path name [D] Symbolic links can point to files in the network

D

Which of the following is not a condition necessary for deadlock to exist? [A] Hold and wait condition [B] Mutual-exclusion condition [C] Circular-wait condition [D] Preemption condition

D

Which of the following is not special file? [A] None of the other choices [B] Block special file [C] Character special file [D] Stream special file

D

Which of the following statements is not correct about the device controller of I/O devices? [A] Is also called adapter [B] Can handle two, four, or even eight identical devices [C] Is electronic component of device [D] Is software component of device

D

Which of these statements about the algorithm "Worst fit" is true? [A] Memory Manager starting searching the list of segments from the place where it left off last time. [B] Memory Manager scans along the list of segments until it finds a hole that is big enough. [C] Memory Manager searches the entire list of segments from beginning to end and take smallest hole that is adequate. [D] None of the other choices (largest hole) first fit : first hole next fit: last time best fit: smallest hole worst fit: largest hole

D

Which ofthe following operating systems is an example of monolithic system? [A] Windows XP [B] Mac OS [C] UNIX [D] MS-DOS

D


Set pelajaran terkait

Chapter 1: Motivation & Leadership

View Set

MacroEconomics Chapter 22 hmwk quiz

View Set

Public health ento exam 4 (PPT 4-6)

View Set

Schizophrenia Meds - Practice Questions

View Set

Introduction to Development/ erikson & piaget's theory

View Set

QUIZ: Sub-queries and MERGE Statement

View Set

Ch. 14 Module 4: Sections 14.07-14.09 Dynamic Study Module

View Set