Feb 27: Scanner, PrintWriter
Learning Objectives
After today's class, you should be able to:
- Parse user input and string objects using a Scanner.
- Read a text file line by line, and extract data from it.
- Create a new text file, and output several lines to it.
Lesson Outline¶
Act09 [45 min]
- Activity 9: File Input/Output
- Open documentation links
- Download the provided files
HW Pep Talk [10 min]
- Need to get started on time (today); too many students are procrastinating too much!
- Monday is for finishing the last few steps; you should be 80% finished before Monday.
- From now on, you must make your first submission (does it compile?) by Friday 11pm.
Mon | Tue | Wed | Thu | Fri | |
---|---|---|---|---|---|
In Class | Act + Lec | Lab + Lec | |||
Out Class | Finish HW | Start HW | Read/Quiz | Work on HW | Submit HW |
Mini Lecture [20 min]
- Types of Errors – practice for Exam 2
- Poll Everywhere questions (pre / post)
Your To-Do List¶
By Friday but ideally tomorrow
Before Thursday's class
- Read the HW 6 spec
- Download provided files