Practice Questions
Question 1: Fixed-point number `x` has a stored value of 10000000000000000000 with scaling factor 1e18. Fixed-point number `y` has a stored value of 4000000000000000000 with scaling factor 1e18. What is the stored value of x divided by y, with the result having scaling factor 1e18?
Question 2: Fixed-point number `x` has a stored value of 6000000 with scaling factor 1e6. Fixed-point number `y` has a stored value of 3000000 with scaling factor 1e6. What is the stored value of x divided by y, with the result having scaling factor 1e6?
Question 3: Fixed-point number `x` has a stored value of 1500 with scaling factor 1000. Fixed-point number `y` has a stored value of 500 with scaling factor 1000. What is the stored value of x divided by y, with the result having scaling factor 1000?
Question 4: Fixed-point number `x` has a stored value of 1000000000000000000 with scaling factor 1e18. Fixed-point number `y` has a stored value of 3000000000000000000 with scaling factor 1e18. What is the stored value of x divided by y, with the result having scaling factor 1e18?
Question 5: Fixed-point number `x` has a stored value of 7500000000000000000 with scaling factor 1e18. Fixed-point number `y` has a stored value of 2500000000000000000 with scaling factor 1e18. What is the stored value of x divided by y, with the result having scaling factor 1e18?