Professional Documents
Culture Documents
Information Technology Grade 10 DIV and MOD Functions
Information Technology Grade 10 DIV and MOD Functions
Information Technology Grade 10 DIV and MOD Functions
GRADE 10
DIV and MOD Functions
Question 1
Write a program that allows the user to a value representing seconds. The user must
then be able to click a “calculate button” to display the number of hours, minutes and
seconds it represents.
Question 2
Question 3
In Uzbekistan, the currency is called the Drog. One 1 Drog comprises 22 Blats, 1 Blat
comprises 10 Zits and 1 Zit represents 5 Katz
Write a program that will allow the se to enter a value of Katz Drogs Blats Zits Katz
Katz. The user must then be able to click a “calculate
5988 5 9 7 3
button” to display the number of Drogs, Blats, Zits and
Katz this represents. 60000 54 12 0 0
Use the test data shown to test your program. 634123 576 10 4 3
Hint: Do not get thrown by the funny words! How would you go about his if it were a
days, hours, minutes and seconds program, with the seconds given as input?