← Back to Course

Lesson 52: Dividing fixed-point numbers with integers

Practice Questions

Question 1: Fixed-point number `x` has a stored value of 9000000000000000000 with a scaling factor of 1e18. What is the stored value after dividing by the integer 3?

Question 2: Fixed-point number `x` has a stored value of 8000000 with a scaling factor of 1e6. What is the stored value after dividing by the integer 4?

Question 3: Fixed-point number `x` has a stored value of 15000 with a scaling factor of 1000. What is the stored value after dividing by the integer 5?

Question 4: Fixed-point number `x` has a stored value of 1000000000000000000 with a scaling factor of 1e18. What is the stored value after dividing by the integer 3?

Question 5: Fixed-point number `x` has a stored value of 7500000000000000000 with a scaling factor of 1e18. What is the stored value after dividing by the integer 10?