To calculate heat given the mass, specific heat and change in temperature we use the formula Q=MCdeltaT. this means that the heat in joules is equal to the mass X specific heat X change in temperature. We can use this formula to solve for any of the given variables even if it is not heat. For instance we can calculate the mass if given the heat in joules, specific heat, and change in temperature.
here are some ex problems
https://www.youtube.com/watch?v=txEDPJom6CU
https://www.youtube.com/watch?v=0jKHtBJNAYM
https://www.youtube.com/watch?v=EpLBZT8J3Q8
here are some more links
http://www.bbc.co.uk/schools/gcsebitesize/science/triple_aqa/calculating_energy_changes/energy_from_reactions/revision/3/
http://www.colorado.edu/physics/phys1110/phys1110_fa12/LectureNotes/Thermal.pdf