Programming computer science homework

profilesmartbutlazy
project7.pdf

COMP 300 – Project 7

Programming (20 points)

1) Explain the difference between an event and an event handler. Provide at least two examples of

an event.

2) Explain how an animation uses still images and loops to create the illusion of motion.

3) Write a function to calculate your wages for a part-time job. (Don’t worry about calculating

overtime.)

4) Write a function that simulates rolling a six side dice and keeps a total of the number of rolls and

the total sum rolled.

5) Considering the topic for your paper, what programming is involved? What is it used for, and

what are some potential uses that are currently overlooked or underutilized?