Backlinks to CSC121F2023Lab06 in CenterForComputing Web (Search all webs)
Algorithm hint for lab 6 Using a priming read for your main loop To process an item: find its location. If that returns a 1 print an error message...
Finding an item in a file. Use the class example for opening and reading a file Use a sequential search (an example should be in your class notes) Don...
Finding a number on a given line Open the file (see class notes for examples and how to handle exceptions) Use a count controlled loop to count Return...
Constants See a class example for the syntax Your constants for this lab should be strings Don`t forget your ``s around your literal strings
Handling exceptions Best hint: Refer to class examples!!!! At first just have each method `throws IOException` until everything else works. Then work on...
Details Professor: Dr. Cathy Bareiss Office SB 31 Class Time: 2:00 2:50 MW Lab Time: 2:00 3:20 TF Class Location: S 025 Textbook: Student...
Number of topics: 6