Mock Quiz Hub
Dark
Mock Quiz Hub
1
Recent Updates
Added: OS Mid 1 Quiz
Added: OS Mid 2 Quiz
Added: OS Lab 1 Quiz
Check back for more updates!
Time: 00:00
Quiz
Navigate through questions using the controls below
0%
Question 1 of 60
Quiz ID: 1
In a tree-structured directory, the series of directory names that culminates in a file name is referred to as the:
a. Pathname
b. Working directory
c. Symbolic name
d. None of the above
Question 2 of 60
Quiz ID: 2
The UNIX file system uses which of the following consistency semantics?
a. Writes to an open file by a user are not visible immediately to other users that have the file open at the same time.
b. Once a file is closed, the changes made to it are visible only in sessions starting later.
c. Users are not allowed share the pointer of current location into the file.
d. Writes to an open file by a user are visible immediately to other users that have the file open at the same time.
Question 3 of 60
Quiz ID: 3
In which of the following file allocation methods is preallocation required:
a. Chained
b. Contiguous
c. Indexed
d. None of the above
Question 4 of 60
Quiz ID: 4
All types of UNIX files are administered by the OS by means of inodes.
True
False
Question 5 of 60
Quiz ID: 5
A file directory contains information about the files, including attributes, location, and ownership.
True
False
Question 6 of 60
Quiz ID: 6
A file allocation table (FAT) is used to keep track of the portions assigned to a file.
True
False
Question 7 of 60
Quiz ID: 7
Typically, an interactive user or a process has associated with it a current directory, often referred to as the working directory
True
False
Question 8 of 60
Quiz ID: 8
An example of a block-oriented I/O device is:
a. Printer
b. CD-ROM
c. Modem
d. All of the above
Question 9 of 60
Quiz ID: 9
The __________ unit is capable of mimicking the processor and of taking over control of the system bus just like a processor.
a. interrupt-driven I/O
b. I/O channel
c. direct memory access
d. programmed I/O
Question 10 of 60
Quiz ID: 10
__________ external devices are suitable for communicating with electronic equipment.
a. Communication
b. Application
c. Human readable
d. Machine readable
Question 11 of 60
Quiz ID: 11
Data striping provides reliability for RAID systems.
True
False
Question 12 of 60
Quiz ID: 12
Disks and tapes are examples of block-oriented I/O devices.
True
False
Question 13 of 60
Quiz ID: 13
One general grouping of external I/O devices that communicate with computer systems is the Human Readable category, which includes disk drives and tape drives.
True
False
Question 14 of 60
Quiz ID: 14
A risk with _________ is the possibility of starvation for longer processes, as long as there is a steady supply of shorter processes.
a. SRT
b. SPN
c. FIFO
d. FCFS
Question 15 of 60
Quiz ID: 15
This is a decision whether to add a new process to the set of processes that are currently active:
a. short-term scheduling
b. long-term scheduling
c. medium-term scheduling
d. I/O scheduling
Question 16 of 60
Quiz ID: 16
The _________ determines which process, among ready processes, is selected next for execution.
a. decision mode
b. selection function
c. TAT
d. long-term scheduler
Question 17 of 60
Quiz ID: 17
The decision as to which available process will be executed by the processor:
a. long-term scheduling
b. I/O scheduling
c. medium-term scheduling
d. short-term scheduling
Question 18 of 60
Quiz ID: 18
The key to multiprogramming is scheduling.
True
False
Question 19 of 60
Quiz ID: 19
Scheduling affects the performance of the system because it determines which processes will wait and which will progress.
True
False
Question 20 of 60
Quiz ID: 20
The medium-term scheduler is invoked whenever an event occurs that may lead to the blocking of the current process or that may provide an opportunity to preempt a currently running process in favor of another.
True
False
Question 21 of 60
Quiz ID: 21
The _________ policy results in the fewest number of page faults.
a. Optimal
b. FIFO
c. Clock
d. LRU
Question 22 of 60
Quiz ID: 22
The _________ algorithm requires a use bit to be associated with each page in memory.
a. page placement
b. working set
c. VSWS
d. page fault frequency
Question 23 of 60
Quiz ID: 23
A _________ chooses only among the resident pages of the process that generated the page fault in selecting a page to replace.
a. global replacement policy
b. page replacement policy
c. local replacement policy
d. page placement policy
Question 24 of 60
Quiz ID: 24
Segments may be of unequal, indeed dynamic, size.
True
False
Question 25 of 60
Quiz ID: 25
The design issue of page size is related to the size of physical main memory and program size.
True
False
Question 26 of 60
Quiz ID: 26
The size of virtual storage is limited by the actual number of main storage locations.
True
False
Question 27 of 60
Quiz ID: 27
Main memory divided into a number of static partitions at system generation time is _______.
a. fixed partitioning
b. simple segmentation
c. dynamic partitioning
d. simple paging
Question 28 of 60
Quiz ID: 28
With __________ a process is loaded by loading all of its segments into dynamic partitions that need not be contiguous.
a. simple paging
b. virtual memory segmentation
c. virtual memory paging
d. simple segmentation
Question 29 of 60
Quiz ID: 29
Main memory divided into a number of equal size frames is the __________ technique.
a. Simple paging
b. Dynamic partitioning
c. Fixed partitioning
d. virtual memory segmentation
Question 30 of 60
Quiz ID: 30
In a uniprogramming system main memory is divided into two parts.
True
False
Question 31 of 60
Quiz ID: 31
In a multiprogramming system the available main memory is not generally shared among a number of processes.
True
False
Question 32 of 60
Quiz ID: 32
In order to implement mutual exclusion on a critical resource for competing processes, only one program at a time should be allowed:
a. In the critical section of the program
b. To perform message passing
c. To Exhibit cooperation
d. None of the above
Question 33 of 60
Quiz ID: 33
The Reader/Writer problem requires that certain conditions be satisfied, such as:
a. Readers may read from the file while writers are writing to it
b. Multiple writers may write to the file simultaneously
c. Any number of readers may simultaneously read from the file
d. None of the above
Question 34 of 60
Quiz ID: 34
Embedded computers typically run on a ____ operating system.
a. real-time
b. Windows XP
c. network
d. clustered
Question 35 of 60
Quiz ID: 35
In a uniprocessor system, multiprogramming increases processor efficiency by:
a. Taking advantage of time wasted by long wait interrupt handling
b. Disabling all interrupts except those of highest priority
c. Eliminating all idle processor cycles
d. Increasing processor speed
Question 36 of 60
Quiz ID: 36
A __________ organization has a number of potential advantages over a uniprocessor organization including performance, availability, incremental growth, and scaling.
a. temporal locality
b. symmetric multiprocessor
c. direct memory access
d. processor status word
Question 37 of 60
Quiz ID: 37
The operating system kernel consists of all system and application programs in a computer.
True
False
Question 38 of 60
Quiz ID: 38
An example of a multicore system is the Intel Core i7.
True
False
Question 39 of 60
Quiz ID: 39
In a two-level memory hierarchy the Hit Ratio is defined as the fraction of all memory accesses found in the slower memory.
True
False
Question 40 of 60
Quiz ID: 40
The fetched instruction is loaded into the Program Counter.
True
False
Question 41 of 60
Quiz ID: 41
Operating systems must evolve over time because:
a. new hardware is designed and implemented in the computer system
b. hardware must be replaced when it fails
c. hardware is hierarchical
d. users will only purchase software that has a current copyright date
Question 42 of 60
Quiz ID: 42
A boot block ____.
a. typically only knows the location and length of the rest of the bootstrap program
b. typically is sophisticated enough to load the operating system and begin its execution
c. is composed of multiple disk blocks
d. is composed of multiple disk cylinders
Question 43 of 60
Quiz ID: 43
_____ provide(s) an interface to the services provided by an operating system.
a. Shared memory
b. System calls
c. Simulators
d. Communication
Question 44 of 60
Quiz ID: 44
_____ is not an example of a benefit of virtual machines.
a. The ability to run several different operating systems that all share the same hardware
b. The ability to concurrently run several different operating systems
c. Uses less physical memory than an actual operating system
d. Protects the host system from guest operating systems
Question 45 of 60
Quiz ID: 45
Microkernels use _____ for communication.
a. message passing
b. shared memory
c. system calls
d. virtualization
Question 46 of 60
Quiz ID: 46
A microkernel is a kernel ____.
a. containing many components that are optimized to reduce resident memory size
b. that is compressed before loading in order to reduce its resident memory size
c. that is compiled to produce the smallest size possible when stored to disk
d. that is stripped of all nonessential components
Question 47 of 60
Quiz ID: 47
Some level of hardware support is required to provide virtualization.
True
False
Question 48 of 60
Quiz ID: 48
The virtual-machine concept does not offer complete protection of the various system resources.
True
False
Question 49 of 60
Quiz ID: 49
Application programmers typically use an API rather than directory invoking system calls.
True
False
Question 50 of 60
Quiz ID: 50
Many operating system merge I/O devices and files into a combined file because of the similarity of system calls for each.
True
False
Question 51 of 60
Quiz ID: 51
A __________ is a unit of activity characterized by the execution of a sequence of instructions, a current state, and an associated set of system resources.
a. identifier
b. process
c. state
d. kernel
Question 52 of 60
Quiz ID: 52
Thread-specific data is data that ____.
a. is not associated with any process
b. has been modified by the thread, but not yet updated to the parent process
c. is generated by the thread independent of the thread's process
d. is copied and not shared with the parent process
Question 53 of 60
Quiz ID: 53
A benefit of the microkernel organization is:
a. Extensibility
b. Portability
c. Flexibility
d. All of the above
Question 54 of 60
Quiz ID: 54
A thread is composed of a thread ID, program counter, register set, and heap.
True
False
Question 55 of 60
Quiz ID: 55
Virtually all contemporary operating systems support kernel threads.
True
False
Question 56 of 60
Quiz ID: 56
In a pure User-Level Thread (ULT) facility, all of the work of thread management is done by the application, but the kernel is aware of the existence of threads.
True
False
Question 57 of 60
Quiz ID: 57
The OS may create a process on behalf of an application.
True
False
Question 58 of 60
Quiz ID: 58
The process control block is the key tool that enables the OS to support multiple processes and to provide for multiprocessing
True
False
Question 59 of 60
Quiz ID: 59
It is not the responsibility of the operating system to control the execution of processes.
True
False
Question 60 of 60
Quiz ID: 60
The exec() system call creates a new process.
True
False
Quiz Summary
Review your answers before submitting
60
Total Questions
0
Answered
60
Remaining
00:00
Time Spent
Submit Quiz
Back to Questions
Previous
Question 1 of 60
Next
!
Confirm Submission
Cancel
Submit Quiz