Test 1

An OS kernal can use internal threads.
True
False
Condition variables are like general semaphores
True
False
Wait() in UNIX is a condition variable wait operation.
True
False
Each interrupt handler has its own process control block
True
False
Threads are more expensive for an OS to create than processes
True
False
To provide multiuser protection, hardware must have at least two execution modes.
True
False
An OS should never create more processes than the available number of processors
True
False
An OS provides a single, global waiting list for all the threads that are in the waiting state.
True
False
When a user attempts to execute a privileged instruction in user mode the CPU should stop.
True
False
On modern processors, all instructions are atomic. E.g., an x86 string move instruction is atomic
True
False
A loadable device driver means that the kernel does not have to be recompiled to use the device.
True
False
Fork() in UNIX creates a new thread, which then executes the function that is passed as an argument.
True
False
The interrupt vector table should be held in user memory so that users can assign exception handlers.
True
False
In a typical modern OS, each schedulable unit of execution needs to have a different protection domain.
True
False
When using fine-grain locking, all the locks should be stored together in a single array in kernel memory.
True
False
Virtual machine.
Referee
Illusionist
Glue
Disk details such as sector size are hidden.
Referee
Illusionist
Glue
Higher-level objects are provided, such as files.
Referee
Illusionist
Glue
Resource allocation among users and applications.
Referee
Illusionist
Glue
Files written by one application can be read by another
Referee
Illusionist
Glue
Facilitates a common "look and feel" across applications.
Referee
Illusionist
Glue
Controls boundaries to allow applications to communicate
Referee
Illusionist
Glue
Prevent users from accessing each other's files without permission
Referee
Illusionist
Glue
Valid to execute a store instruction in this mode.
Kernel mode
User mode
Both
Mode need to reset the reset the hardware timer(yes it's like this on the test)
Kernel mode
User Mode
Both
An exception occurs if the execution of a privileged instruction is attempted in this mode
Kernal mode
User mode
Both
In this mode, the effective address generated by load instruction is checked so that access is allowed only to a designated region of memory
Kernel mode
User mode
Both
Has an associated control block.
Process
Thread
Both
Has an associated data segment
Process
Thread
Both
Has an associated PC(program counter)
Process
Thread
Both
Has an individual set of process registers
Process
Thread
Both
{"name":"Test 1", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"An OS kernal can use internal threads., Condition variables are like general semaphores, wait() in UNIX is a condition variable wait operation.","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker