Question: Select all the options that are true regarding the code that runs in user space and kernel space Select one or more: a. The user

 Select all the options that are true regarding the code that

runs in user space and kernel space Select one or more: a.

The user code shall allocate or deallocate memory without making a requestto the kernel b. The kernel ensures that the user code cannot

Select all the options that are true regarding the code that runs in user space and kernel space Select one or more: a. The user code shall allocate or deallocate memory without making a request to the kernel b. The kernel ensures that the user code cannot modify the underlying OS data and data structures c. In order to limit what user software actions may do on a system, the kernel operates in a seperate kernel space and the user code operates in user space d. Code running in user space cannot be accessed by the kernel without a system call, in the same way like user space code cannot access the code kernel space without issuing a system call How are the parameters passed to and results are returned from a system call? Select one or more: a. Parameters can be passed in registers b. When there are more parameters than registers, the OS cannot pass them onto the registers without clearing up all the registers C. When there are more parameters than the registers, store the parameters in a block and pass the block address as a parameter to a register d. Parameters can be pushed on and popped off the stack by e. Parameters are copied to a special register, parameter register, and they are always stored in that the OS register f. All the options are correct How does a user application access system code within the OS? The list of steps are given below, but the order is not correct. Choose the correct order which describes the way in which the CPU gets to know what code is running 1. Kernel process a trap. The trap handler will index into jump table to find the handler for a specific system call and jump into the code 2. Control is returned to the user space code following the trap invocation 3. Mode bit is switched into kernel mode from user mode 4. Mode bit is switched from kernel mode into user mode 5. System call is made which places the system call id into a register and the trap instruction is thrown Select one: a. 5,3, 1,4,2 . 3, 4, 5, 1,2 c. 5, 3, 4,1,2 d. 5, 4, 3, 2,1 e. None of the above Drag and drop the words in the correct positions. What are the steps taken to start up a computer? 1. When device is turned on, read to locate then finds theand loads the into 3. It then asks the user or automatically loads the into RAM ROM Primary bootoade Master boot record Secondary bootloader RAM Kernel Primary BIOS Secondary BIOS Heap and stack memory

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!