|
Part of this assignment is to fill out the following brief questionnaire.
|
The goal of Assignment 0 is to make sure that you can:
|
What's a checklist? The programming assignment specifies the general programming assignment. The checklist contains supplemental information, and you are expected to read it prior to submitting your work. Some examples include: links to any preliminary code, a readme.txt template, hints, and frequently asked questions.
It's the first week of class. Do I really need to start reading the text? Yes. Getting off to a good start will save you alot of energy in the long run. We urge you to stay on top of the material from the beginning. If you don't understand something, email or visit your preceptor for assistance. Don't be bashful about asking for help.
What's the difference between the textbook and the booksite? Reading a book and surfing the web are two different activities: This booksite is intended for your use while online (for example, while programming and while browsing the web); the textbook is for your use when initially learning new material and when reinforcing your understanding of that material (for example, when reviewing to prepare for an exam). Also, some of the booksite is still under construction, so there are gaps.
Am I required to use DrJava? No, feel free to use any development environment you like.
How should I read in user input? Use command-line arguments as described in Sections 1.1 and 1.2. We will learn about other ways to handle input in Section 1.5.
Can I assume all user input is valid data? Yes. We will learn about dealing with erroneous data next week.
My RGBtoCMYK program doesn't work when all 3 command line inputs are 0. That's ok - that's why we specified that not all 3 inputs would be 0. (The correct result in this case is 0 0 0 1, but you need to learn about if-else statements to avoid dividing by zero.)
What's Moodle? Moodle is the system you will use to submit assignments and check grades. We use it instead of Blackboard since processing large numbers of electronic submissions in Blackboard is not feasible.
When I login to Moodle, my browser asks me whether I should accept a "security certificate." How should I proceed? Accept it permanently. We need to establish a secure connection so that you can submit assignments and check grades with reasonable privacy.
When I submit files, the system does not seem to check off that I have submitted them. Why not? Be sure the file is named exactly as specified. The capitalization and .java extension are important. Also, be aware that DrJava creates backup files with a .java~ extension, so be sure that you don't submit these. If you use Windows, we recommend configuring your system to unhide the filetype extensions. (Go to Tools or Control Panel, and uncheck Folder Options -> View -> Hide extensions for known file types.)
What's the "Run Script" button on the assignment submission page? It compiles your programs and reports any errors. You must submit all of the required files before it activates.
|
Here are some guidelines. You will lose a substantial number of points if you don't follow these instructions.
Writeup. Here's a link to this week's readme.txt file. The readme.txt file must be a text file - create it using the same editor that you use to write your Java programs. Do not submit .doc or .pdf files.
Submission. All assignments submissions are electronic.
Formatting.
|
Here's the ACM Hello World Page. It contains everyone's first program in over 200 programming languages.