CS 230 Spring 2005                                                      Assignment 8 – Files                                                                   100 points

Assigned: 03/21/2005

Due: 04/01/2005 at the start of class (but plan on there being another assignment for 3/29 lab)

 

Pre-Lab (Do Before Lab):  Bring a new disk. Plan out tasks, objects, and events needed for program. Plan out major pseudocode

 

Main Assignment:

LaSoogle Labs is developing an online radio station in which you create your own personal radio station and music is streamed to you based on what you like and don’t like (like other services already out there).  Your program is a simplification dealing with ranking songs (only). . The program should get from a file (songs.txt) a list of songs and display them in a list box. When the user selects a song from the song list box, the song information should be displayed in a read-only text box or in a label. When a user specifies a rating (0-5) AND selects a “Rate” button, write the rating (song and rating) to a comma-delimited text file for later tabulation (add it to those already in the file), and remove the song from the list box of songs. (DO NOT have the rating recorded immediately upon selection in case of inadvertent click). Provide the rate capability, a clear (song and rating),  and an exit capability.

 

Hand in:

 

Miscellaneous:

·        MAKE SURE YOUR PROGRAM WORKS!

·        You must turn on Option Explicit and Option Strict.

·        Put YOUR NAME, e-mail address, date and purpose in comments at the beginning of the program.

·        You MUST include comments that explain your program in order to get full credit.

·        Remember to use meaningful variable names, and indent to show the structure of the program (VB usually does this correctly).

·        Put your name on the form as a Label or as part of the form title.

·        Try to use good user interface design. Make clear what user needs to do and what the answers mean.