Question
Please, help with the questions. Thank you QUESTION 1 What does the TRAP (INT) instruction do? Calls an interrupt handler. Restarts the CPU. Interrupts the
Please, help with the questions. Thank you
QUESTION 1
What does the TRAP (INT) instruction do?
| Calls an interrupt handler. | |
| Restarts the CPU. | |
| Interrupts the CPU, as if an external device raised an interrupt. | |
| Terminates the current process. |
QUESTION 2
What characterizes a layered OS?
| An upper layer cannot use a lower layer. | |
| There is no OS kernel. | |
| A lower layer cannot use an upper layer. | |
| Higher layers have lower protection. |
QUESTION 3
Look at the file /proc/interrupts of any Intel-based Linux computer (such as one in the labs). Which hardware device uses IRQ 0? (MacOS does not have the /proc file system.)
| Parallel port | |
| Keyboard controller | |
| Ethernet card | |
| Timer |
QUESTION 4
Run command strace on any Linux machine to intercept the system calls of several programs of your choice (ls, dir, cd, and pwd are some possible examples). What is the first system call in the sequence?
| Different sequences begin with different system calls. | |
| execve() | |
| brk() | |
| open() |
QUESTION 5
Which of the following are software abstractions? (Check all that apply.)
| Process | |
| File | |
| Port | |
| Interrupt |
QUESTION 6
Which trade-off is involved in the choice of the OS organization in terms of kernel configurability?
| Speed vs Space | |
| Security vs User-friendliness | |
| Reliability vs Flexibility | |
| Cost vs Quality |
QUESTION 7
A video game compiled for Windows 10 runs in a separate window on a Ubuntu Linux desktop. What kind of arrangement is this?
| Abstraction | |
| Virtualization | |
| Emulation | |
| Protection |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started