IT 114: Introduction to Java
Class 22

Topics

Review

New Material

Homework 7

Homework 7 is due this Sunday at 11:59 PM.

You will find the assignment here.

If you have a problem or a question, make a post on the Class Discussion Area.

Review

Data Validation for Type

Files

Types of Files

Identifying a File

Getting Data From a File in Java

Using a Scanner Object with a File

Two Kinds of Java Exceptions

New Material

Reading Input from a File

Reading a File with Scanner

Reading a Text File

Parsing Files with a Scanner object

Scanning Files with Many Tokens on a Line

Calculating a Running Total

Calculating Averages

Finding the Maximum and Minimum

Java Largest and Smallest Integers

Maximum and Minimum Numbers in a File

Talking About Ethics and Technology

The Spiderman Principle

Professional Responsibility

Codes of Conduct

Responsibility of IT Professionals

The ACM Code of Ethics and Professional Conduct

Class Quiz

Attendance

Class Exercise