
osg202
Authored by Hòa An
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
101 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a advantage of implementing threads in the kernel? *
None of the other choices
Is good for multiprocessor architecture and if one thread is blocked does not cause the other thread to be blocked
If one thread is blocked does not cause the other thread to be blocked
Is good for multiprocessor architecture
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Critical Region (Section) concept used in interprocess communication is: *
A part of shared memory
None of the other choices
A part of the program where the shared memory is accessed
A part of shared data
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
OS Win32 use system call_____, while OS Unix use system call______ to create a new process *
fork, CreateProcess
CreateProcess; fork
copy, CreateProcess
CreateProcess; copy
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement about disabling interrupts to resolve race conditions is wrong? *
Disabling/enabling interrupts may negatively affect the I/O system
User-mode programs are the best place to invoke disableInterrupt()
In theory, a program can disable interrupts when it enters a critical section, and re-enable interrupts when finished with a critical section, to eliminate race conditions
Programs with infinite loops in their critical sections are a significant problem with the interrupt-based approach
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the events that causes the processes to be created, when an operation system is booted? *
System initialization
Execution of a process creation system call
User request to create a new process
Initiation of a batch job
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following process state transitions is legal? *
Blocked (waiting) -> running
Ready -> Blocked (waiting)
None of the other choices
Running -> ready
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following process state transitions is correct, when the external event for which a process was waiting happens? *
Running -> Blocked (waiting)
Running -> ready
Ready -> running
Blocked (waiting) -> ready
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?