CS 201 Assignment: Warming up, and shaking off the rust
- Make sure that you can log on to one of the
department Linux computers. Start up a web browser, and go to the
course website via your
webmail at
http://mail.carleton.edu. Send me an e-mail message at
dmusican. In particular, tell me about your experiences with
computers, what inspired you to take this course (which of my courses
are you in?), and what you hope to get out of it.
- Read this
article about pair programming. Bring any questions that you have
about it to class. Not all of the assignments we do will be in pairs,
but some of them will be (unless you opt out).
- Take a look at this program,
FileInputDemo.java. Copy it to a directory of your own, compile
it, and run it. Read through the program to get a sense of how it
works, then modify it so that it also counts how many lines that it
reads. At the end of its run, it should print out this count (with a
message that says something like "The number of lines read =
...". Electronically submit your code via Moodle.