SIBT COMP 125

Week 3 Practical Exercises

1. Create an array that will contain every letter of the alphabet. Display the alphabet on the screen. Can you also do it backwards? What about upper case letters?

2. Write a class that will ask the user to input the current date and then use this date to calculate the time remaining until the year 2000 (to make things simpler, calculate the time remaining from midnight of the date entered). You must, however, give the user a choice of whether they want to see this time remaining in days, hours, minutes or seconds. (Hint: Use the inspect statement for this choice).

3. Implement the class you wrote in the tutorial that will convert from Fahrenheit to Centigrade.

4. If you have time left, you can work on Assignment 1.