Showing posts with label unit. Show all posts
Showing posts with label unit. Show all posts

Sunday, 28 March 2021

How many ounces in 2 pounds?

Question: How many ounces in 2 pounds? 

Solution: Ounces in 1 pound = 16
so ounces in 2 pounds = 16 x 2 = 32 pounds

Question: How many gallons in 7 cups?

Solution: 1 cup = 0.0625 gallon
so 7 cup = 7 x 0.0625 = 0.4375 gallon

Question: How many ounces in 1 liter?

Solution: 1 litre = 33.84 ounces

Question: How many teaspoons in 1 1/2 cups?


Ingredient

Original Quantity

CF

New Quantity

Unit Ratio

Adjusted Quantity

Arborio Rice

1 cup



2 cups = 1 pint

pt

Butter, unsalted

2 oz




#

Onion, diced

3 Tbsp




cup

Chicken Stock

3 cup




qt

Zucchini, diced

¼ cup




cup

Solution: 

Teaspoons in 1 1/2 cups
1 cup = 48 teaspoons
1 1/2 cup = 48 x 1.5 = 72 teaspoons

Question: How many pints in 48 tablespoons?

Solution: Pints in 1 tablespoon = 0.0312
48 tablespoon = 48 x 0.0312 = 1.5 pints

Question: How many grams in 3/4 ounce?

Solution: 1 ounce = 28.35 gram
3/4 ounce = 3/4 x 28.35 = 21.2625 grams

Question: How many quarts in 2 1/2 cups?

Solution: 1 cup = 0.25 quarts
2 1/2 cups = 2 1/2 x 0.25 quarts
2 1/2 cups = 0.625 quarts 

Question: How many ounces in 3 1/3 pints of water?

Solution: 1 pint of water = 16 ounces
3 1/3 pints of water = 10/3 x 16 ounces
3 1/3 pints of water = 53.33 ounces

Question: A chef wants to change a recipe from serving 8 portions to have it serve 22. What is the conversion factor?

Solution: The conversion factor is 8/22 = 0.36

Question: A chef wants to change a recipe from serving 40 three-ounce portions to have it serve 60 four-ounce portions. What is the conversion factor?

Solution: Given
recipe yield = 40 ounces
recipe required = 64 ounces
then conversion factor 64/40
= 1.6

 

Wednesday, 22 April 2020

Quiz on Textbook Sections 4.1 to 4.4

Q2: Why are multiplexers required, as shown in Figure 4.2? 
Solution: We cannot wire data lines from multiple sources together. Instead, we require a logic circuit element to select between the sources.

Q3: Match the logic design terms to their corresponding definitions. 
Solution:
Combinational element: The outputs depend only on the current inputs
State element: The outputs depend on current inputs and internal stored values
Edge-triggered clocking: All state changes occur on a clock edge
Control signal: Directs operation of a functional unit or selection by a multiplexer
Data signal: Contains information that is operated on by a functional unit

Q4: The register file is a state element that consists of a set of registers that can be read and written by supplying a register number to be accessed. 
Solution: True

Q6: The single-cycle datapath conceptually described in Section 4.3 must have separate instruction and data memories, because 
 Solution: the processor operates in one cycle and cannot use a single-ported memory for two different accesses within that cycle.

Q8: How does the datapath in Figure 4.17 determine the outcome of a beq instruction? 
Solution: The ALU subtracts the operands and asserts the Zero output if the difference is zero. That, ANDed with the Branch decode signal, controls the multiplexer to select the next PC value.

Q10: The clock cycle time for the datapath described in Section 4.4 is determined by the longest chain of functional units used for any instruction. All instructions thus take that amount of time to execute. For this reason, single-cycle implementations are the main form of processor used today. 
Solution: False