Question

1. What is the mechanism used by an OS to regain control of the CPU? Group...

1.

What is the mechanism used by an OS to regain control of the CPU?

Group of answer choices

A.firewall

B.portal

C. timer

d. program counter

2. Oftentimes, CPU registers can be used

Group of answer choices

a to store values for reuse by other user programs

b. none of the other answers are correct

c. to pass parameters to the OS

d. to save memory for storing programs

3.

A Policy

Group of answer choices

a.is not likely to change over time

b.determines how to do something

c.is not likely to change across places

d. determines what will be done.

4.

A developer is creating a program that often needs to spawn several threads during its execution.

Group of answer choices

The developer should use multiprocessing rather than mutltithreading

The developer should explicitly create threads only when needed

Any of the other answers is equivalently good.

The developer should use a thread pool to lower overhead of thread creation

5.

With the non-blocking send

Group of answer choices

The sending process has to wait if the receiving process implements a blocking receive to get the message

The sending process resumes execution without waiting on the receiving process to get the message

The sending process waits for the receiver process to get the message

The message may get lost if the receiver process implements a blocking receive to get messages

6.

For a process to execute faster, a developer should primarely

Group of answer choices

increase the main memory size

execute it on a faster CPU

execute it on a multicore CPU

increase the portion of code that can be executed in parallel

Homework Answers

Answer #1

1.What is the mechanism used by an OS to regain control of the CPU?

timer

2. Oftentimes, CPU registers can be used,

to store values for reuse by other user programs

3.A Policy is,

b.determines how to do something

4.A developer is creating a program that often needs to spawn several threads during its execution.

The developer should explicitly create threads only when needed

5.With the non-blocking send,

The sending process resumes execution without waiting on the receiving process to get the message

6.For a process to execute faster, a developer should primarely,

increase the main memory size

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Suppose a thread opened a file for read. Group of answer choices Other threads from...
1. Suppose a thread opened a file for read. Group of answer choices Other threads from another process can also read that file any other thread cannot read that file Other threads within the same process can also read that file any thread within the same process and from another process can also read that file 2. Mutex and semaphores can implement busy wait using two methods: by disabling interrupts or using special atomic instructions (e.g., test_and_set()). Which method is...
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course...
Program Assignment 1: Process Management Objective: This program assignment is given to the Operating Systems course to allow the students to figure out how a single process (parent process) creates a child process and how they work on Unix/Linux(/Mac OS X/Windows) environment. Additionally, student should combine the code for describing inter-process communication into this assignment. Both parent and child processes interact with each other through shared memory-based communication scheme or message passing scheme. Environment: Unix/Linux environment (VM Linux or Triton...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs?...
The questions: 1. What type of technology Acme and Omega utilize to transform inputs into outputs? 2. Which strategic choice (differentiation or cost leadership) suits best to Acme? Omega? Do these companies have clear strategic choices or do they stuck in the middle? 3. Based on all the contingencies which type of structure is more suitable for these companies; mechanistic or organic? please answer each question alone The Paradoxical Twins: Acme and Omega Electronics John F. Veiga Part! boom of...