Quiz
OS Practice
Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.
Fragen in diesem Quiz (56)
1________ operating systems are designed primarily to maximize resource utilization.
- APC
- BHandheld Computers
- CMainframe
- DNetwork
2What is the most common secondary storage device?
- AMagnetic disk
- BTape drive
- CRandom access memory
- DSolid state drive
3What is another term for kernel mode?
- ASupervisor mode
- BSystem mode
- CPrivileged mode
- DAll of the above
4In what way is an operating system like a government?
- AIt seldom functions correctly
- BIt performs most useful functions by itself
- CIt is always concerned primarily with the individuals needs
- DIt creates an environment in which other programs can do useful work
5What are the two separate modes of operating in a system?
- AUser mode and kernel mode
- BPhysical mode and logical mode
- CSupervisor mode and system mode
- DDriver mode and kernel mode
6What would lead you to believe a given system is an SMP-type system?
- AEach processor performs all tasks with the operating system
- BEach processor is assigned a specific task
- CThere is a boss-worker relationship between the processors
- DNone of the above
7Synchronous input/output occurs when _______________
- AA program requests transfer of data then immediately continues processing
- BA program requests transfer of data then waits for the result
- CA hardware error forces delay of input or output data
- DAn interrupt forces delay of input or output data
- ENone of the above
8Embedded computers typically run on a _______________ operating system
- AClustered
- BNetwork
- CReal-time
- DNone of the above
9Direct Memory Access (DMA) speeds the handling of input by _______________
- APassing input from the device to primary memory using multiple buses
- BReducing the number of interrupts required to send input to primary memory
- CGranting the CPU direct access to primary memory when input arrives
- DIncreasing bus speed for input devices connected directly to primary memory
- ENone of the above
10Operating systems can be viewed as _______________
- AResource allocator
- BInterface between applications and hardware
- CSupporter of application execution
- DHardware manager
- EAll of the above
- FNone of the above
11Which of the following operating systems are not open source?
- ACentOS
- BFreeBSD
- CMacOSX
- DAndroid
- EAll of the above
12Operating systems have evolved to better benefit from new technologies
- ARichtig
- BFalsch
13A multi processor system _______________
- AReduces memory requirements
- BRun processes using more than one processor
- CRun processes using only one processor
- DNone of the above
14Multi programming is another term of multi processing
- ARichtig
- BFalsch
15If a program terminates abnormally, a dump of memory may be examined by a _______________ to determine the cause of the problem
- AShell
- BUser
- CDebugger
- DModule
- EAll of the above
16_______________ is an example of a operating system interface
- ACommand line
- BGUI
- CBatch
- DAll of the above
17_______________ is an example of an operating system service that is directly used by users
- AResource allocation
- BAccounting
- CProtection and security
- DFile system manipulation
- ENone of the above
18Operating system services and components are the same
- ARichtig
- BFalsch
19Operating system structure can be used to identify _______________
- AComponents
- BServices
- CA and B
- DNone of the above
20_______________ is an example of an operating system service
- AProcess management
- BMemory management
- CI/O system management
- DAll of the above
- ENone of the above
21The main function of the command interpreter is to _______________
- AGet and execute the next user specified command
- BHandle files in the operating system
- CProvide the interface between API and application program
- DAll of the above
- ENone of the above
22_______________ provide(s) an interface to operating system services.
- ACommunication
- BShared memory
- CSimulators
- DSystem calls
23Developers typically use an API rather than directly invoking system calls
- ARichtig
- BFalsch
24System calls can be run in _______________ mode
- AUser
- BKernel
- CAll of the above
25The _______________ of a process contains temporary data (such as arguments, return addresses, and local variables)
- AStack
- BProgram counter
- CPCB
- DData section
26A process control block (PCB) _______________
- AIs an example of a process queue
- BDetermines which process to execute next
- CContains information about the processes state
- DIs a thread running inside a process
27The list of processes waiting for a particular I/O device is called a(n) _______________ queue
- AStandby
- BWaiting
- CDevice
- DNone of the above
28Degree of multi programming refers to the maximum number of processes a system can accommodate efficiently
- ARichtig
- BFalsch
29A _______________ saves the state of the currently running process and restores the state of the next process to run
- AFetch decode execute cycle
- BContext switch
- CPCB
- DNone of the above
30When a child process is created, which of the following is a possiblity in terms of the execution or address space of the child process?
- AThe child process runs concurrently with the parent
- BThe child process has a new program loaded in it
- CThe child is a duplicate of the parent
- DAll of the above
31A process that has terminated, but whose parent has not yet called wait() is known as a _______________ process.
- Azombie
- Borphan
- Cterminated
- Dready
32The _______________ process is assigned as the parent to orphan processes.
- Ainit
- Bwinload
- Cgrandparent
- DNone of the above
33The _______________ scheduling algorithm is designed especially for time sharing systems
- AFCFS
- BMulti level queue
- CSJF
- DRR
34If the time quantum is too large, RR scheduling degenerates to _______________ scheduling
- AFCFS
- BSJF
- CMulti level
- DNone of the above
35A very small time quantum in RR scheduling will:
- AIncrease the number of context switches
- BDecrease the number of context switches
- CIncrease CPU overhead
- DA and C
- EB and C
36_______________ allows a thread to run on only one processor
- ALoad balancing
- BProcessor affinity
- CProcessor set
- DNone of the above
37The _______________ determines which process in the ready queue can be executed
- AMedium term scheduler
- BLong term scheduler
- CShort term scheduler
- DPriority
- ENone of the above
38An instruction that executes atomically _______________
- AMust consist of only machine instruction
- BExecutes as a single uninterruptible unit
- CCannot be used to solve the critical section problem
- DAll of the above
39A counting semaphore is _______________
- AAn integer variable
- BAccessed through only one standard
- CModified simultaneously by multiple threads
- DAll of the above
40A _______________ type presents a set of programmer defined operations that are mutual
- ABinary
- BSignal
- CMonitor
- DTransaction
41_______ followed by _________ is the correct order of operations for protecting a critical section using a binary semaphore
- Aacquire; release
- Bwait; signal
- Ctrigger; start
- Drelease; acquire
42[blank_start]SIGSTOP[blank_end] - This signal instructs the operating system to stop a process for later resumption.
[blank_start]SIGKILL[blank_end] - This signal is sent to a process to request its termination. It can be caught and interpreted or ignored by the process. This allows the process to perform nice termination releasing resources and saving state if appropriate.
[blank_start]SIGTERM[blank_end] - This signal is sent to a process to cause it to terminate immediately. This signal cannot be caught or ignored, and the receiving process cannot perform any clean-up upon receiving this signal.- ASIGSTOP
- BSIGKILL
- CSIGTERM
- DSIGKILL
- ESIGSTOP
- FSIGTERM
- GSIGTERM
- HSIGSTOP
- ISIGKILL
43Number the following steps of the general sequence of handling an interrupt:
ISR is loaded into CPU and executed – [blank_start]2[blank_end]
Interrupt signal received, CPU stops and save context – [blank_start]1[blank_end]
Return to saved context – [blank_start]3[blank_end]- A2
- B1
- C3
44Match the following inter-process communication diagrams to their labels

- AShared memory
- BDirect message passing
- CIndirect message passing
- DUnbounded capacity buffer
45Number the following from the fastest (1) to slowest (7) storage:
[blank_start]6[blank_end] Magnetic disks
[blank_start]7[blank_end] Magnetic tapes
[blank_start]1[blank_end] Registers
[blank_start]5[blank_end] Optical disks
[blank_start]3[blank_end] Main memory
[blank_start]2[blank_end] Cache
[blank_start]4[blank_end] Electronic disks- A6
- B7
- C1
- D5
- E3
- F2
- G4
46The mapping of a logical address to a physical address is done by the
- AMemory address register
- BMemory management unit (MMU)
- CRelocation register
- DDynamic loading register
47Suppose a program is operating with execution-time binding and the logical address is 400. The relocation register is set to 100. What is the generated physical address?
- A500
- B600
- C400
- DNone of the above
48A filename has a maximum of 256 characters is an example of a _______________
- AMechanism
- BPolicy
49_______________ must be done when a process is created
- AAllocate resources
- BCall the main method
- CSave info in PCB
- DA and C
- EAll of the above
50_______________ is a special case of indirect communication mechanism between processes on networked systems
- ARPC
- BRMI
- CCOM
- DNone of the above
51A critical section allows 2 processes to perform operations concurrently
- ARichtig
- BFalsch
52Match the best definition or description to the word or phrase
A protection mechanism built into the CPU to protect the OS [blank_start]Dual mode operation[blank_end]
A technique where a computer system uses more than one CPU [blank_start]Multiprogramming[blank_end]
A program requests transfer of data then waits for the result [blank_start]Synchronous input/output[blank_end]
This type of threads are supported above the kernel and are managed without kernel support [blank_start]User threads[blank_end]
A technique where a computer system runs more than one process [blank_start]Multiprocessing[blank_end]
The basic operation cycle of a Von Neumann architecture computer [blank_start]Instruction cycle[blank_end]
A mechanism to allow user-level processes to request services of the OS [blank_start]System calls[blank_end]
A program requests transfer of data then immediately continues processing [blank_start]Asynchronous input/output[blank_end]
This type of threads are supported and managed directly by the operating system [blank_start]Kernel threads[blank_end]- ADual mode operation
- BMultiprogramming
- CSynchronous input/output
- DUser threads
- EMultiprocessing
- FInstruction cycle
- GSystem calls
- HAsynchronous input/output
- IKernel threads
53Restricting the child process to a subset of the parent's resources prevents any process from _______________
- AOverloading the system by using a lot of secondary storage
- BUnder loading the system causing very low CPU utilization
- COverloading the system by creating a lot of sub-processes
- DCrashing the system by utilizing multiple resources
54The graph included in this questions has what?

- ACycle
- BDeadlock
- CAll of the above
- DNone of the above
55The graph included has what?

- ACycle
- BDeadlock
- CAll of the above
- DNone of the above
56Which of the following properly defines the accumulator register?
- APoints to the next register to be executed
- BStores the result of arithmetic and logic operations
- CStores the current register being decoded or executed
- DIndicates where a computer is in it's program sequence
Informationen
- Beschreibung
- Quiz am OS Practice, erstellt von Nick Hamnett am 14/03/2018.
- Autor
- Nick Hamnett
- Sprache
- English
- Aufrufe
- 8
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz