NEED HELP FOR FINAL REVIEW ASAP please!!!!!!!!
in
Programming Questions
•
2 years ago
I am reviewing for a final exam which I have on Thursday for my Intro to Programming class. My instructor gave us a few practice problems. I completed most but I am very confused about two of them, so I figured I'd post them on here before I go read through the reference book to teach myself. If anyone can offer and advice or perhaps even give me a resolution that way I can study the program, to either one, I'd be very grateful. Thanks - JM
1. Write a small program that retreives data from a site such as espn.com, yahoo etc. and display that data as scrolling or animated text.
2. Write a program that simulates a "clicker" to count attendance. Your program should display a sequence of digits (initially all 0s) in the center of the window. Two marked areas inside the window represent “count” and “reset”
buttons. When the user clicks on the “count” button, the numeric counter should increase by 1. When the user clicks on the “reset” button, the counter should reset itself to 0. Your counter must have at least 4 digits; when the counter reaches all 9s, clicking on the “count” button should cause it to roll over to all 0s and begin counting up from 1 again. You can use the text display functions from Chapter 17 to do this, or you can display your counter using image files. For free sets of digit image files, visit the Digit Mania Web site at
http://www.digitmania.holowww.com/
2