|
APCS Problem Set 10: Strings and File I/O
For questions 2-10 in this section, you need to provide your solutions in the appropriate method stubs in a provided starter file (BookProblemsPS10.java). Follow the steps in the next subsection carefully to make sure your work is present in GitHub to be autograded later.
Follow these steps at school. Be careful to use the same spelling and case for your files and directories as your work will be autotested later.
- Create project ps10 in workspace2.
- Import BookProblemsPS10.java from http://feromax.com/apcs/problemsets/PS10/downloads/ into project ps10.
- Perform an initial push of the ps10 project into GitHub using github-push.sh.
- Log in to https://github.com and verify you can find this file in your repository: ps10/src/BookProblemsPS10.java.
Remember to push your changes to GitHub regularly! (While at school, utilize the github-push.sh script.)
- Litvin Ch. 8, #1.
- Litvin Ch. 8, #2a -- in BookProblemsPS10.java.
- Litvin Ch. 8, #2b -- in BookProblemsPS10.java.
- Litvin Ch. 8, #3 -- in BookProblemsPS10.java.
- Litvin Ch. 8, #4a -- in BookProblemsPS10.java.
- Litvin Ch. 8, #5a -- in BookProblemsPS10.java.
- Litvin Ch. 8, #5b -- in BookProblemsPS10.java.
- Litvin Ch. 8, #6 -- in BookProblemsPS10.java.
- Litvin Ch. 8, #7 -- in BookProblemsPS10.java.
- Litvin Ch. 8, #11 -- in BookProblemsPS10.java.
Before getting started on the remaining book questions, read the chapter summary.
Litvin & Litvin, Java Methods A & AB: §8.10
As with the first set of book problems, your solutions to the following must be part of the BookProblemsPS10 class, using the predefined method stubs.
- Litvin Ch. 8, #15 -- in BookProblemsPS10.java.
- Litvin Ch. 8, #20 -- in BookProblemsPS10.java.
Make sure your GitHub repository's ps10 project is up to date, including your work from the prior subsection. Use github-push.sh from school or the web interface at https://github.com otherwise.
|