Quiz
os
Este quiz tem tipos de pergunta que abrem no player de sempre.
Perguntas do quiz (200)
1What is not a main structural element of a computer system?
- AProcessor
- BMain Memory
- CI/O Modules
- DSystem Bus
- EOperating system
2Which of the following registers are used by the processor to exchange data with memory?
- AMAR and MBR
- BPC and IR
- CProgram status word
- DI/OAR and I/OBR
3Which of the following registers are used by the processor to exchange data with input/output module?
- AMAR and MBR
- BPC and IR
- CProgram status word
- DI/OAR and I/OBR
4Which of the following element of a computer system controls the operation of the computer and performs its data processing functions?
- ASystem bus
- BMain memory
- CI/O modules
- DProcessor
5Which of the following element of a computer system stores data and programs?
- AMain memory
- BSystem bus
- CProcessor
- DI/O modules
6Which of the following provides for communication among elements of a computer system?
- AMain memory
- BSystem bus
- CProcessor
- DI/O modules
7Which of the following element of a computer system moves data between the computer and its external environment?
- AMain memory
- BProcessor
- CSystem bus
- DI/O modules
8The processor contains a single data register, called
- APSW
- BPC
- CIR
- DAC
9This register specifies a particular input/output device
- AMemory address register
- BI/OAR
- CMemory buffer register
- DI/OBR
10This register is used for the exchange of data between an I/O module and the processor
- AMemory address register
- BI/OAR
- CMemory buffer register
- DI/OBR
11This register contains the data to be written into memory or which receives the data read from memory
- AI/OAR
- Bmemory buffer register
- Cmemory address register
- DI/OBR
12This register specifies the location in memory for the next read or write
- AMemory address register
- BI/OAR
- CMemory buffer register
- DI/OBR
13 Index register, segment register, and stack register are example of:
- AAddress register
- BData registers
- CControl registers
- DStatus registers
14Which register contains the address of the next instruction to be fetched?
- Ainstruction register
- Bexecution register
- Cprogram counter
- Dprocess counter
15 Which register contains the instruction most recently fetched?
- Ainstruction register
- Bexecution register
- Cprogram counter
- Dprocess counter
16Which register contains condition codes set by the processor hardware as the result of operations?
- AProgram counter
- BAccumulator
- CProgram status word
- DStack pointer
17 The fetched instruction is loaded into the
- AIR
- BAccumulator
- CMemory
- DPC
18At the beginning of each instruction cycle, the processor fetches an instruction from the memory. The address of the instruction is held in
- AIR
- BMBR
- CMAR
- DPC
19The processor is executing ‘Load AC from memory’ instruction. Choose the correct micro-instructions:
- APC -> MAR
M -> MBR
MBR -> AC
IR -> MAR
M -> MBR
MBR -> AC - BPC -> MBR
M -> MAR
MAR -> IR
IR -> MAR
M -> MBR
MBR -> AC - CPC -> MAR
M -> MBR
MBR -> IR
IR -> MAR
M -> MBR
MBR -> AC - DPC -> MAR
M -> MBR
MBR -> IR
IR -> MBR
M -> MAR
MAR -> AC
- APC -> MAR
20When an I/O device completes an I/O operation, the device issues an interrupt signal to the processor and then:
- AThe processor stops execution of the current instruction without finishing it and responds to the interrupt
- BThe processor loads the program counter with the entry location of the interrupt-handling routine
- CThe processor saves information needed to resume the current program at the point if interrupt
- DThe processor finishes execution of the current instruction before responding to the interrupt
21When the time required for the I/O operation is less that the time to complete the execution of instructions between write operations in the user program, it is:
- AFast I/O wait
- BSlow I/O wait
- CLong I/O wait
- DShort I/O wait
22When the time required for the I/O operation will take much more time than executing a sequence of user instructions, it is
- ASlow I/O wait
- BLong I/O wait
- CFast I/O wait
- DShort I/O wait
23Most I/O devices are:
- Amuch slower than the processor
- Bmuch faster than the processor
- Cmuch shorter than the processor
- Dmuch longer than the processor
24If there no interrupts, after each write operation, the processor must
- ALoad new PC value
- BFinish execution of current instruction
- CSave the PSW and PC onto control stack
- DPause and remain idle until the I/O operation finishes
25Complete the relationship concerning the memory systems: faster access time –
- Alower capacity
- Bgreater cost per bit
- Cfaster access speed
- Dsmaller cost per bit
26 Complete the relationship concerning the memory systems: greater capacity –
- Alower capacity
- Bgreater cost per bit
- Cfaster access speed
- Dsmaller cost per bit
27Complete the relationship concerning the memory systems: greater capacity –
- Alower capacity
- Bslower access time
- Cgreater cost per bit
- Dfaster access speed
28The smaller, more expensive, faster memory is:
- ADisk drive
- BCache
- CMain memory
- DRegister
29If the accessed word is found in the faster memory, that is defined as a:
- Abingo
- Bwin
- Chit
- Devrika
30If the accessed word is not found in the faster memory, that is defined as a:
- Aricochet
- Bmiss
- Czero
- DLoss
31The central idea in this system was the use of a piece of software known as the monitor
- ATime-sharing-system
- BSimple batch system
- CMultiprogrammed batch system
- DSerial processing
32The concept of a batch operating system was developed to
- AMaximize processor utilization (To improve utilization)
- BMinimize response time
- CSupport interactive mode
- DMinimize processor utilization
33The concept of modes of operation (user mode, system mode) was introduced with
- ATime-sharing-system
- BSimple batch system
- CMultiprogrammed batch system
- DSerial processing
34 'Ease of evolution of an OS' corresponds to the following objective:
- AEfficiency
- BConvenience
- CAbility to evolve
35The principal objective of the time-sharing system is to
- AMinimize response time
- BMinimize processor utilization
- CMaximize response time
- DMaximize processor utilization
36The processor was often idle waiting for the I/O instruction to conclude. To overcome the problem the following approach was introduced: when one job needs to wait for I/O, the processor can switch to the other job. This was a
- AMultiprogramming or multitasking batch system
- BSimple batch system
- CSerial processing
- DTime-sharing-system
37The programmer interacted directly with the computer hardware with
- ASimple batch systems
- BSerial processing
- CTime-sharing-systems
- DMultiprogrammed batch systems
38Semaphore is a/an_to solve the critical section problem?
- Ainteger variable
- Bspecial program for a system
- Ccomplex structure
- Dhardware for a system
39 'The OS as a resource manager' corresponds to the following objective:
- AEfficiency
- BConvenience
- CAbility to evolve
40 An un-interruptible unit is known as:
- Aatomic
- Bnone of the above
- Cstatic
- Dsingle
41A state is safe, if:
- Athe system can allocate resources to each process in some order and still avoid a deadlock
- Bthe system does not crash due to deadlock occurrence
- Call of the above
- Dthe state keeps the system protected and safe
42'The OS as a User/Computer interface' corresponds to the following objective:
- AEfficiency
- BConvenience
- CAbility to evolve
43This type of memory is nonvolatile
- ASecondary memory
- BMain memory
- CRegister
- DCache
44An application programs is developed by the
- AApplication programmer
- BEnd user
- COperating system
- DHardware
45 When a processor attempts to read a byte or word of memory, it firstly checks the:
- ASecondary memory
- BRegister
- CCache
- DMain memory
46The end user views a computer system in terms of
- Aa set of applications
- Ba set of machine instructions
- Cutilities
- Da set of system programs
47The serial processing presented two main problems:
- Asetup time
- Busing a monitor
- Ctime slicing
- Dmultiprogramming
- Escheduling
48The hardware and software used in providing applications to a user can be viewed in a:
- Alayered fashion
- Bclassified fashion
- Csandwich fashion
- Dleveled fashion
49A situation where several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in which access takes place is called:
- Adata consistency
- Bmutual exclusion
- Crace condition
- Dstarvation
50This contains the most frequently used functions in the OS:
- AKernel (или nucleus)
- BCentre
- CBase
- DRoot
51The initial value of the semaphore that allows only one of the many processes to enter their critical sections,is?
- A1
- B10
- C2
- D0
52Utilities are
- AApplication program
- BSystem programs
- COpcodes
- DProcessor registers
53Block size is:
- AThe unit of data exchanged between cache and main memory
- BLarger block size yields more hits until probability of using newly fetched data becomes less than the probability of reusing data that have to be moved out of cache
- C(How much data should be transferred from main memory to cache)
54There were no OS with
- ASimple batch systems
- BSerial processing
- CTime-sharing-systems
- DMultiprogrammed batch systems
55Which of the following cannot be interrupted?
- AProcess
- BThread
- CModule
- DAtomic operation
56Process is
- Aa unit of activity characterized by execution of a sequence of instructions, a current state, and an associated set
- Ba job in secondary memory
- Ccontents of main memory
- Dprogram in high level language kept on disk
57This determines which cache location the block will occupy: [blank_start]Mapping function[blank_end]
- AMapping function
58This resource can be created and destroyed
- Aresumable resource
- Brestartable resource
- Cconsumable resource
- Dfinite resource
59This system handles multiple interactive jobs
- ATime-sharing-system
- BSimple batch system
- CSerial processing
- DMultiprogrammed batch system
60Process(2.0) is:
- AA program in execution
- BProgram in High level language kept on disk
- CContents of main memory
- DA job in secondary memory
61This system was developed by General Motors for the use on an IBM 701
- ASimple Batch Systems or GM-NAA I/O
- BSerial processing
- CMultiprogrammed batch system
- DTime-sharing system
62This chooses which block to replace when a new block is to be loaded into the cache and the cache already had all slots filled with other blocks
- Areplacement algorithm
- Bwrite policy
- Ccache size
- Dlocality of reference
63Four necessary conditions for deadlock to exist are: mutual exclusion, no-preemption, circular wait and
- Ahold and wait
- Bdeadlock avoidance
- Cstarvation
- Drace condition
64A task in a blocked state
- Ais waiting for same temporarily unavailable resources
- Bmust still be placed in the run queues
- Cis executable
- Dis running
65This type of system was developed at MIT by a group known as Project MAC for the IBM 709 in 1961
- ASerial processing
- BMultiprogrammed batch system
- CSimple batch system
- DTime-sharing-system
66 This resource can be safely used by only one process at a time and is not depleted by that use
- Arefurbished resource
- Breplenishing resource
- Creusable resource
- Drefreshing resource
67If the contents of a block in the cache are altered, then it is needed to save it back to main memory before replacing it. This is called:
- Awrite policy
- Bmapping function
- Clocality of reference
- Dreplacement algorithm
68'Lost signals, duplicate signals received'. This is
- AImproper synchronization
- BNondeterminate program operation
- CFailed mutual exclusion
- DDeadlocks
69The systems which allows only one process execution at a time, are called
- Auniprogramming systems
- Bunitasking systems
- Cuniprocessing systems
- Dunicasting systems
70Deadlock inevitable region can be referred to as a
- Afun region
- Bfatal region
- Cfinal region
- Dfalse region
71In the non-blocking send, non-blocking receive:
- Athe sending process keeps sending until it receives a message
- Bthe sending process sends the message and resumes operation
- Cneither of processes are required to wait
- Dthe sending process keeps sending until the message is received
72Which of the following is not a technique possible for I/O operations?
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
73'Two or more programs hung up waiting for each other'. This error is caused by
- AFalled mutual exclusions
- BDeadlocks
- CNondeterminate program operation
- DImproper synchronization
74This illustrates the progress of two processes competing for two resources
- Ajoint process diagram
- Bjoint ingres diagram
- Cjoint regress diagram
- Djoint progress diagram
75The processor issues an I/O command to a module and waits, periodically checking the status of the I/O module until it finds that the operation is complete.
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
76A monitor is a type of:
- Adeadlock
- Blow level synchronization construct
- Chigh level synchronization construct
- Dnone of the above
77The state of a process is defined by:
- Athe current activity of the process
- Bthe activity to next be executed by the process
- Cthe final activity of the process
- Dthe activity is just executed by the process
78'When programs share memory and their execution is interleaved by the processor, they may interfere with each other by overwriting common memory areas in unpredictable ways. The results of a particular program depend on the activities of other programs in a shared system'. This is
- AFalled mutual exclusions
- BDeadlocks
- CNondeterminate program operation
- DImproper syncronization
79The I/O module performs the requested action and then sets the appropriate bits in the I/O status register but takes no further action to alert the processor.
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
80When each process in the set is blocked awaiting for resource siezed by another blocked process
- Ait is a deadend
- Bit is a deadlock
- Cit is a softlock
- Dit is a mortallock
81Which of the following is not the state of a process?
- AOld
- Bterminated
- Crunning
- Dnew
- Eready
82The described technique is:
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
83Choose the storage management responsibility for "Many application programs require means for storing information for extended periods of time, after the computer has been powered down"
- ALong-term storage
- BProtection and access control
- CAutomatic allocation and management
- DProcess isolation
- ESupport of modular programming
84 Suppose that a process is in “Blocked” state waiting for some I/O service. When the service is completed, it goes to the:
- AReady state
- BRunning state
- CTerminated state
- DSuspended state
85Which of the following statements is false:
- Acompaction does not involve relocation of programs
- Bthe technique of storage compaction involves moving all occupied areas of storage to one end or other of main storage
- Ccompaction is also known as garbage collection
- Dthe system must stop everything while it performs the compaction
86Choose the storage management responsibility for "Programmers should be able to define program modules, and to create, destroy, and alter the size of modules dynamically"
- AProtection and access control
- BLong-term storage
- CAutomatic allocation and management
- DProcess isolation
- ESupport of modular programming
87Which of the following state transitions is not possible?
- Ablocked to running
- Brunning to blocked
- Cblocked to ready
- Dready to running
88The main disadvantage of this technique: it is a time-consuming process that keeps the processor busy needlessly.
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
89Memory is:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
90Choose the storage management responsibility for "The OS can achieve efficiency by assigning memory to jobs only as needed"
- AProtection and access control
- BLong-term storage
- CAutomatic allocation and management
- DProcess isolation
- ESupport of modular programming
91 If a process is executing in its critical section, then no other processes can be executing in their critical section. This condition is called
- Amutual exclusion
- Basynchronous exclusion
- Ccritical exclusion
- Dsynchronous exclusion
92The processor issues an I/O command to a module and then go on to some other useful work.
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
93 Processor is:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
94Choose the storage management responsibility for "The OS must allow portions of memory to be accessible in various ways by various users"
- AProtection and access control
- BLong-term storage
- CAutomatic allocation and management
- DProcess isolation
- ESupport of modular programming
95Interprocess communication:
- Aallows processes to communicate and synchronize their actions without using the same address space
- Ballows processes to communicate and synchronize their actions when using the same address space
- Callows the processes to only synchronize their actions without communication
- Dnone of the above
96The I/O module performs the requested action and alerts the processor to request service when it is ready to exchange data with the processor
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
97Choose the storage management responsibility for "The OS must prevent independent processes from interfering with each other's memory, both data and instructions"
- AProtection and access control
- BLong-term storage
- CAutomatic allocation and management
- DProcess isolation
- ESupport of modular programming
98Program is:
- Ais the device where information stored
- Bis a sequence of the instructions
- Cis a device that performs a sequence of operations specified by instructions in memory
- Dis typically characterized by interactive processing and time-slicing of the CPU’s time to allow quick response to each user
99A sequence of instructions, in a computer language, to get the desired result, is known as?
- Aprogram
- Bprocess
- Cinstruction
- Dalgorithm
100In operating system security and protection, authenticity:
- AConcerned with the proper verification of the identity of users and the validity of messages or data
- BAssuring that users cannot read data for which access is unauthorized
- CProtection of data from unauthorized modification
- DConcerned with protecting the system against interruption
101The main disadvantage of this technique: consumes a lot of processor time, because every word of data that goes from memory to I/O module or from I/O module to memory must pass through the processor
- ADirect memory access (DMA)
- BManual memory access
- CInterrupt-driven I/O
- DProgrammed I/O
102 In operating system, each process has its own:
- Aall of the mentioned
- Baddress space and global variables
- Cset of data
- Dprogram code
103The memory allocation scheme subject to "external" fragmentation is?
- Asegmentation
- Bswapping
- Cmultiple contiguous fixed partitionings
- Dpure demand paging
104In operating system security and protection, availability is:
- AConcerned with the proper verification of the identity of users and the validity of messages or data
- BAssuring that users cannot read data for which access is unauthorized
- CProtection of data from unauthorized modification
- DConcerned with protecting the system against interruption
105For each process OS creates and manages:
- AProcess control block
- BProgram code
- CProgram
- DThread control block
106The processor issues an I/O command to a separate module, by sending the type of operation (read/write), the address of the I/O device, the starting location in memory for data, number of words. Then the processor continues with other work.
- AInterrupt-driven I/O
- BProgrammed I/O
- CManual memory access
- DDirect memory access (DMA)
107The memory allocation scheme subject to "internal" fragmentation is?
- Asegmentation
- Bswapping
- Cmultiple contiguous fixed partitionings
- Dpure demand paging
108In operating system security and protection, confidentiality is:
- AConcerned with the proper verification of the identity of users and the validity of messages or data
- BAssuring that users cannot read data for which access is unauthorized
- CProtection of data from unauthorized modification
- DConcerned with protecting the system against interruption
109The module transfers the entire block of data to/from memory without going through the processor.
- AInterrupt-driven I/O
- BProgrammed I/O
- CManual memory access
- DDirect memory access (DMA)
110The available vector defines
- Atotal amount of each resource NOT allocated to any process
- Btotal amount of each resource allocated to all processes
- Ctotal amount of each resource in the system
- Dtotal amount of resources required for all processes
111Any program, no matter how small, will occupy an entire partition results in?
- Ainternal fragmentation
- Bsegmentation
- Cpaging
- Dexternal fragmentation
112In operating system security and protection, data integrity is:
- AConcerned with the proper verification of the identity of users and the validity of messages or data
- BAssuring that users cannot read data for which access is unauthorized
- CProtection of data from unauthorized modification
- DConcerned with protecting the system against interruption
113The main disadvantage of this technique: there is a competition for bus usage
- AInterrupt-driven I/O
- BProgrammed I/O
- CManual memory access
- DDirect memory access (DMA)
114A binary semaphore is a semaphore with integer values:
- A1
- B0,5
- C0
- D-1
115The resource vector define
- Atotal amount of each resource in the system
- Btotal amount of resources required for all processes
- Ctotal amount of each resource allocated to all processes
- Dtotal amount of each resource NOT allocated to any process
116A hardcopy sign-up sheet was used to reserve computer time with
- ATime slicing
- BTime sliding
- CTime scheduling
- DTime allocating
117Short-term scheduler, or dispatcher, picks a process. Each process in the queue is given some time in turn. This strategy is called:
- ARound-robin technique
- BPrioritizing
- CCarousel technique
- DMerry-go-round technique
118This matrix defines the current allocation to process i of the resource j
- AAllocation matrix
- BResource matrix
- CRequest matrix
- DClaim matrix
119A system clock generates interrupts at a rate of approximately one every 0.2 seconds. At each clock interrupt, the OS regained control and could assign the processor to another user. This technique is known as
- ATime scheduling
- BTime sliding
- CTime slicing
- DTime allocating
120The base register
- ADefines the size of the region of (in bytes or words)
- BContains the index into the process list of the process currently controlling the processor
- CPoints to the next instruction in that process to be executed
- DContains the staring address of the region of memory occupied by the process
121The two atomic operations permissible on semaphores are:
- Ahold
- Bstop
- Csignal
- Dwait
122This matrix defines the amount of resources of type j requested by process i
- ARequest matrix
- BAllocation matrix
- CResource matrix
- DClaim matrix
123How to solve problem of equal-size partitions?
swapping (?) ----- page 318 book- Aswapping (?) ----- page 318 book
unequal-size partitions - Bsegmentation
- Ccompaction
- Dvirtual memory segmentation
- Aswapping (?) ----- page 318 book
124The limit register
- ADefines the size of the region of (in bytes or words)
- BContains the index into the process list of the process currently controlling the processor
- CPoints to the next instruction in that process to be executed
- DContains the staring address of the region of memory occupied by the process
125Batch operating systems were used (years)
- AFrom the late 1940s to the mid-1950s
- BFrom the mid-1950 to early 1960s
- CIn early 1960s
126This matrix defines requirements of processes i for the resources j
- AClaim matrix
- BAllocation matrix
- CResource matrix
- DRequest matrix
127How to solve problem of "external" fragmentation?
- Acompaction
- Blarger memory space
- Csmaller memory space
- Dnone of these
128The principal tool available to system programmers in developing the early multiprogramming and multiuser interactive systems
- AInterrupt
- BJob control language
- CMonitor
- DAdd hec method
129The banker's algorithm is referred to as
- Aresource allocation denial
- Bdenial of service
- Cloan allocation denial
- Dresource allocation refusal
130A page fault?
- Aoccurs when a program accesses a page of memory
- Bis a reference to a page belonging to another program
- Cis an access to a page not currently in memory
- Dis an error is a specific page
131Job control language was used
- Aused to provide instructions to the monitor,In early 1960s
- BFrom late 1940s to the mid-1950s
- CFrom the mid-1950s to early 1960s
- DExecute instructions
- EControl the sequence of events as the resident monitor
- FTranslate the user’s program into object code
- GProvide instructions to the monitor to improve job setup time
132The process index register
- AContains the index into a process list of the process currently controlling the processor
- BDefine the region in memory occupied by the process
- CPoints to the next instruction in that process to be executed
- DContains the starting address of the region of memory occupied by the process
133Which of the following condition is required for deadlock to be possible
- Amutual exclusion
- Ba process may hold allocated resources while awaiting assignment of other resources
- Cno resource can be forcibly removed from a process holding it
- Dall of the above
134'Hold and wait' condition for deadlock is defined as
- AProcess holds a resource while awaiting for other resource
- BEach process holds resource needed by next process in chain
- CNo resource can be forcibly removed from process holding it
- DOnly one process may use a resource at a time
135Serial processing was used
- AIn early 1960s
- BFrom late 1940s to the mid-1950s
- CFrom the mid-1950s to early 1960s
136This term was first used by the designers of Multics in the 1960s
- AMonitor
- BProcess
- CMultiprogramming
- DTime sharing
137 Which of the following statements is false?
- AI\O transfers are more efficient with large pages
- Ba large page size causes instructions and data that will not be referenced brought into primary storage
- Ca small page size causes large page tables
- Dinternal fragmentation is increased with small pages
138Banker’s algorithm for resource allocation deals with:
- Adeadlock recovery
- Bdeadlock prevention
- Cmutual exclusion
- Ddeadlock avoidance
139'Circular wait' condition for deadlock is defined as
- AEach process holds resource needed by next process in chain
- BProcess holds a resource while awaiting for other resource
- CNo resource can be forcibly removed from process holding it
- DOnly one process may use a resource at a time
140'Ease of evolution of an OS' corresponds to the following objective:
- AEfficiency
- BConvenience
- CAbility to evolve
141Swapping
- Aallows many programs to use memory simultaneously
- Ballows each program in turn to use the memory
- Cdoes not work with overlaying
- Dnone of the above
142'No preemption' condition for deadlock is defined as
- ANo resource can be forcibly removed from process holding it
- BOnly one process may use a resource at a time
- CProcess holds a resource while awaiting for other resource
- DEach process holds resource needed by next process in chain
143A system is in the safe state if:
- Ab)there exist a safe sequence
- Bnone of the above
- Cboth a and b
- Da)the system can allocate resources to each process in some order and still avoid a deadlock
144Virtual address is a
- AVirtual address is a page number and an offset within the page
- BДругого варианта нет)
145Which of the following is not true about the memory management?
- Avirtual memory is used only in multi-user systems
- Bsegmentation suffers from external fragmentation
- Cpaging suffers from internal fragmentation
- Dsegmented memory can be paged
- ENone of the above
146True or false: segmentation suffers from external fragmentation?
- AVerdadeiro
- BFalso
147'Mutual exclusion' condition for deadlock is defined as
- AOnly one process may use a resource at a time
- BNo resource can be forcibly removed from process holding it
- CProcess holds a resource while awaiting for other resource
- DEach process holds resource needed by next process in chain
148True or false: paging suffers from external fragmentation?
- AVerdadeiro
- BFalso
149 What is NOT an example of consumable resource?
- AMain memory
- BInformation in I\O buffers
- CSignals
- DMessages
150 What is a method of memory allocation by which the program is subdivided into equal portions, or pages and core is subdivided into equal portions or blocks?
- Avirtual memory
- Bsegmentation
- Cpaging
- Dpartition
151What is NOT an example of reusable resource?
- Ainterrupt
- Bsemaphores
- Cprocessors
- Di/o channels
152In memory systems, boundary registers?
- Atrack the beginning and ending of programs
- Btrack page boundaries
- Care only necessary with fixed partitions
- Dare used for temporary program variable storage
153On all instruction cycles, the processor accesses memory at least once, to:
[blank_start]to fetch the instruction[blank_end], and often one or more additional times, [blank_start]to fetch operands[blank_end] and/or [blank_start]store results[blank_end].- Ato fetch the instruction
- Bto fetch operands
- Cstore results
154Operating System maintains the page table for:
- Aeach process
- Beach thread
- Ceach instruction
- Deach address
155A relationship between processes such that each has some part (critical section) which must not be executed while the critical section of another is being executed, is known as?
- AMultitasking
- BSemaphore
- CMutual exclusion
- Dmultiprogramming
156In contiguous memory allocation:
- Aeach process is contained in a single contiguous section of memory
- Bnone of the above
- Cthe memory space is contiguous
- Dall processes is contained in a single contiguous section of memory
157CPU fetches the instruction from memory according to the value of?
- Astatus register
- Bprogram counter
- Cinstruction register
- Dprogram status word
158When memory is divided into several fixed sized partitions, each partition may contain ________.
- Aexactly one process
- Bnone of the above
- Cat least one process
- Dmultiple processes at once
159The number of resources requested by a process:
- Amust always be less than the total number of resources available in the system
- Bmust always be equal to the total number of resources available in the system
- Cmust not exceed the total number of resources available in the system
- Dmust exceed the total number of resources available in the system
160A memory used to provide a high speed is called?
- Acache
- Bmain memory
- Cdisk buffer
- Dstack pointer
161In fixed sized partition, the degree of multiprogramming is bounded by ___________.
- Athe memory size
- Ball of the above
- Cthe number of partitions
- Dthe CPU utilization
162Which one of the following is the address generated by CPU?
- Alogical address
- Bphysical address
- Cabsolute address
- Dnone of the above
163A deadlock avoidance algorithm dynamically examines the _____ to ensure that a circular wait condition can never exist
- Aresource allocation state
- Boperating system
- Cresources
- Dsystem storage state
164The first fit, best fit and worst fit are strategies to select a ______.
- Aprocess from a queue to put in memory
- Ball of the above
- Cfree hole from a set of available holes
- Dprocessor to run the next process
165Runtime mapping from virtual to physical address is done by?
- ACPU
- Bnone of the above
- Cmemory management unit
- DPCI
166In internal fragmentation, memory is internal to a partition and:
- Ais not being used
- Bnone of the above
- Cis always used
- Dis being used
167Which of the following is not one of the principles of dealing with deadlock?
- AInitialization
- BAvoidance
- CDetection
- DPrevention
168The address of a page table in memory is pointed by:
- Apage table base register
- Bstack pointer
- Cpage register
- Dprogram counter
169A solution to the problem of external fragmentation is:
- Acompaction
- Blarger memory size
- Cunequal size parts
- Dsmaller memory space
170The Process Control Block is:
- Aa secondary storage section
- BProcess type variable
- CData Structure
- DBlock in memory
171Program always deals with:
- Alogical address
- Bphysical address
- Crelative address
- Dabsolute address
172__________ is generally faster than _________ .
- Aworst fit, best fit
- Bbest fit, first fit
- Cfirst fit, best fit
- Dnone of the above
173 Which one of the following is a synchronization tool?
- Asocket
- Bthread
- Cpipe
- Dsemaphore
174External fragmentation exists when:
- Anone of the above
- Bthe total memory is insufficient to satisfy a request
- Cenough total memory exists to satisfy a request but it is not contiguous
- Da request cannot be satisfied even when the total memory is free
175 What is compaction?
- Aa paging technique
- Ba technique for overcoming fatal error
- Ca technique for overcoming internal fragmentation
- Da technique for overcoming external fragmentation
176What controls the process in a single-threaded process model?(не точно) из книги
- AProcess control block
- BUser address space control block
- CUser stack control block
- DKernel stack control block
177External fragmentation will not occur when:
- Ano matter which algorithm is used, it will always occur
- Bfirst fit is used
- Cbest fit is used
- Dnext fit is used
178When the memory allocated to a process is slightly larger than the process, then:
- Aboth will occur
- Bexternal fragmentation occurs
- Cinternal fragmentation occurs
- Dnone of the above
179In the non-blocking send:
- Athe sending process sends the message and resumes operation
- Bthe sending process keeps sending unit it receives a message
- Cthe sending process keeps sending until the message is received
- Dnone of the above
180Main memory is broken into fixed-sized blocks called ________.:
- Anone of the above
- Bpages
- Cframes
- Dsegments
181Fixed-length block of data in secondary memory is called ________.:
- Anone of the above
- Bframes
- Csegments
- Dpages
182Variable-length block of data that resides in secondary memory is called ________.
- Anone of the above
- Bframes
- Csegments
- Dpages
183The degree of multi-programming is:
- Athe number of processes in memory
- Bthe number of processes executed per unit time
- Cthe number of processes in the ready queue
- Dthe number of processes in the I/O queue
184Every address generated by the CPU is divided into two parts:
- Apage number + page offset
- BДругого варианта нет
185The __________ is used as an index into the page table.
- Apage number
- Bpage offset
- Cframe bit
- Dframe offset
186Trace of the process is: (из книги)
- AList of files that are opened
- BList of interactions of the process with other process
- CList of threads of the process
- DList of instructions that are executed
187The _____ table contains the base address of each page in physical memory.
- Aprocess
- Bmemory
- Cpage
- Dframe
188With paging there is no ________ fragmentation.
- Aeither type of
- Bnone of the above
- Cexternal
- Dinternal
189A set of processes is deadlock if:
- Anone of the above
- Beach process is blocked and will remain so forever
- Call processes are trying to kill each other
- Deach process is terminated
190The operating system maintains a ______ table that keeps track of how many frames have been allocated, how many are there, and how many are available.
- Amemory
- Bpage
- Cframe
- Dsegment
191To find a free partition this algorithm starts searching from where it left off, not from the beginning (из книги)
- AWorst fit
- BNext fit
- CBest fit
- DFirst fit
192For every process there is a __________.
- Apointer to page table
- Bcopy of page table
- Cframe table
- Dpage table
193If a page number is not found in the TLB, then it is known as a:
- ATLB miss
- Bbuffer miss
- CTLB ht
- Dpage fault
194Mutual exclusion can be provided by the:
- Abinary semaphores
- Bnone of the above
- Cboth
- Dmutex locks
195If a page table entry is present in the TLB, then it is known as a:
- Abuffer miss
- BTLB miss
- Cpage fault
- DTLB hit
196If a page table entry is not in main memory, then it is known as a:
- Apage fault
- Bbuffer miss
- CTLB hit
- DTLB miss
197What is a medium-term scheduler?
- AIt selects which process has to be executed next and allocates CPU
- BIt selects which process has to be brought into the ready queue
- CNone of the above
- DIt selects which process to remove from memory by swapping
198In segmentation, each address is specified by (choose two):
- Aa segment number
- Ban offset
- Ca value
- Da key
199Which is the ready state of a process?
- Awhen process is using the CPU
- Bwhen process is scheduled to run after some execution
- Cwhen process is unable to run until some task has been completed
- Dnone of the above
200Which one of the following is the deadlock avoidance algorithm?
- Around-robin algorithm
- Belevator algorithm
- Cbanker’s algorithm
- Ddinning philosophers problem
Informações
- Descrição
- Operating Systems (OS) Quiz sobre os, criado por Csse 1502 em 17-12-2017.
- Autor
- Csse 1502
- Idioma
- English
- Visualizações
- 1.584
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz