The Quiz was made of 3 programs.
You can find the quiz on the following link: http://kenscourses.com/tc101winter2016/wp-content/uploads/2016/01/tc1017quiz1.pdf
The first program was about a program that can calculate the volume of a cylinder, you can see how it run in the following pictures:
The code for the first program is here:
https://gist.github.com/batmantec/3c0bc660c910ba72653e
The second program was about asking the user for 2 integer numbers and then multiply the, get the integer division, and the remainder of the division, you can see how it run in the following pictures:
You can find the code in the following link: https://gist.github.com/batmantec/725115330c7a65467d16
And finally the third one was something like the second one, but here we need to use decimal and then add the mathematical operation of sum and rest, but we take out the remainder of the division. Here are the pictures of the program running:
And the code is in the following link: https://gist.github.com/batmantec/1dc384374e1c16f8813c
First Quiz! by batmantec is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.