solution

asked 2021-09-11

One store notes that the probability of some type of error in a telephone order is 0.2. A supervisor randomly selects telephone orders and carefully inspects each one.

What is the probability that the supervisor will inspect between two and six (inclusive) telephone orders before finding an error?

What is the probability that the supervisor will inspect between two and six (inclusive) telephone orders before finding an error?

asked 2021-09-07

One store notes that the probability of some type of error in a telephone order is 0.2. A supervisor randomly selects telephone orders and carefully inspects each one.

What is the probability that the inspector will examine at least seven orders before finding an error?

What is the probability that the inspector will examine at least seven orders before finding an error?

asked 2021-09-09

One store notes that the probability of some type of error in a telephone order is 0.2. A supervisor randomly selects telephone orders and carefully inspects each one.

What is the probability that the third telephone order selected will be the first to contain an error?

What is the probability that the third telephone order selected will be the first to contain an error?

asked 2021-09-22

Max and Stephen are at a restaurant and will each order either a burger or a pizza. The probability Max orders a burger is 0.6 (i.e. 60%). The probability that Stephen orders a pizza is 0.5. The probability that both Max and Stephen order a burger is 0.34. Answer the following questions.
Hint: Let M be the event that Max orders a burger and S be the event that Stephen orders a burger.
Calculate the probability that either Max or Stephen (or both) orders a burger.

asked 2021-08-21

A closet contains 10 pairs of shoes.

If 8 shoes are randomly selected, what is the probability that there will be

(a) no complete pair?

(b) exactly 1 complete pair?

If 8 shoes are randomly selected, what is the probability that there will be

(a) no complete pair?

(b) exactly 1 complete pair?

asked 2021-09-11

Max and Stephen are at a restaurant and will each order either a burger or a pizza. The probability Max orders a burger is 0.6 (i.e. 60%). The probability that Stephen orders a pizza is 0.5. The probability that both Max and Stephen order a burger is 0.34. Answer the following questions.
Hint: Let M be the event that Max orders a burger and S be the event that Stephen orders a burger.
Calculate the probability that Stephen orders a burger.

asked 2021-02-25

We will now add support for register-memory ALU operations to the classic five-stage RISC pipeline. To offset this increase in complexity, all memory addressing will be restricted to register indirect (i.e., all addresses are simply a value held in a register; no offset or displacement may be added to the register value). For example, the register-memory instruction add x4, x5, (x1) means add the contents of register x5 to the contents of the memory location with address equal to the value in register x1 and put the sum in register x4. Register-register ALU operations are unchanged. The following items apply to the integer RISC pipeline:

a. List a rearranged order of the five traditional stages of the RISC pipeline that will support register-memory operations implemented exclusively by register indirect addressing.

b. Describe what new forwarding paths are needed for the rearranged pipeline by stating the source, destination, and information transferred on each needed new path.

c. For the reordered stages of the RISC pipeline, what new data hazards are created by this addressing mode? Give an instruction sequence illustrating each new hazard.

d. List all of the ways that the RISC pipeline with register-memory ALU operations can have a different instruction count for a given program than the original RISC pipeline. Give a pair of specific instruction sequences, one for the original pipeline and one for the rearranged pipeline, to illustrate each way.

Hint for (d): Give a pair of instruction sequences where the RISC pipeline has “more” instructions than the reg-mem architecture. Also give a pair of instruction sequences where the RISC pipeline has “fewer” instructions than the reg-mem architecture.

a. List a rearranged order of the five traditional stages of the RISC pipeline that will support register-memory operations implemented exclusively by register indirect addressing.

b. Describe what new forwarding paths are needed for the rearranged pipeline by stating the source, destination, and information transferred on each needed new path.

c. For the reordered stages of the RISC pipeline, what new data hazards are created by this addressing mode? Give an instruction sequence illustrating each new hazard.

d. List all of the ways that the RISC pipeline with register-memory ALU operations can have a different instruction count for a given program than the original RISC pipeline. Give a pair of specific instruction sequences, one for the original pipeline and one for the rearranged pipeline, to illustrate each way.

Hint for (d): Give a pair of instruction sequences where the RISC pipeline has “more” instructions than the reg-mem architecture. Also give a pair of instruction sequences where the RISC pipeline has “fewer” instructions than the reg-mem architecture.