
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Instructions for a programming homework assignment in cst 230 spring 2008. The goal is to create a myio class that prompts a user for a text file, reads the strings from the file, and prints them in reverse order. The assignment is worth 2% of the total grade and is due on 8/27/07. Students are expected to use eclipse and java for this assignment.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Razdan 8/20/
Instructions: This is a programming home work.
This is a test programming assignment to make sure you are up to speed in using Eclipse, basic Java and I/O in Java. Most of the projects will rely on reading from a file, screen (for user input) and writing to a file or to the screen for output. This assignment is designed to test just that.
Write a myIO class that prompts a user for a text file. The text file name may be passed as an argument to your program. The text file may contain one or more strings per line such as
Course CST Hello Your name Good bye
The strings on the same line can be separated by space(s) and/or tabs. Your goal is to reproduce the strings that you read from the file (.75 pts). For added fun you can print them in reverse such as “olleH” for “Hello” (.75 pt). For super programming fun you can print them in the reverse order of appearance (.5 pt) such as above would be printed as
eyb dooG eman rouY olleH 032TSC esruoC
If you can do this you already have a head start in the course.
Please deposit your working code by 1/23/08 by class time (9 am) in the myasucourses/blackboard in the digital drop box.